|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SHost
GUI context for a surface.
SHost must be implemented by a facets builder
for each GUI context in which a surface is to be constructed.
Such a context can comprise a single widget eg for a modal dialog, or several eg the content area and menu, tool and status bars of a complete desktop application.
| Nested Class Summary | |
|---|---|
static interface |
SHost.FacetLayout
Arrangement of facets exposing application content. |
| Method Summary | |
|---|---|
void |
setLayout(SHost.FacetLayout layout)
Attach widgets managed by the facets of the SHost.FacetLayout
to the GUI context. |
void |
setTitle(java.lang.String title)
|
void |
updateLayout(SSurface surface)
Update the layout last set and other features as specified by the application. |
java.lang.Object |
wrapped()
The widget(s) wrapped by the SHost. |
| Method Detail |
|---|
java.lang.Object wrapped()
SHost.
Gives access to the actual widget(s) used by the GUI context to attach the widget roots created by facet layouts.
void setLayout(SHost.FacetLayout layout)
SHost.FacetLayout
to the GUI context.
layout - will generally have been created by the SHost
implementationvoid updateLayout(SSurface surface)
void setTitle(java.lang.String title)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||