|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object facets.core.app.Headless.HeadlessHost
public static class Headless.HeadlessHost
Empty AppHost
for a headless AppSurface
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface facets.core.app.AppHost |
---|
AppHost.LayoutFeatures |
Nested classes/interfaces inherited from interface facets.core.superficial.app.SHost |
---|
SHost.FacetLayout |
Method Summary | |
---|---|
SurfaceServices |
activeServices()
Return suitable services for facet in the active layout. |
SHost.FacetLayout |
newDesktopLayout(SFacet contentFacet,
AppHost.LayoutFeatures features)
Create a layout containing the features passed. |
Dialogs |
newDialogs(ActionAppSurface app)
Create a suitable Dialogs for use by an AppSurface . |
void |
runHostedApp()
Run the application which created the AppHost . |
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 |
splashDown()
|
void |
splashUp(java.lang.String msg)
|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void runHostedApp()
AppHost
AppHost
.
Allows call to AppSurface.openApp()
from a GUI thread.
runHostedApp
in interface AppHost
public java.lang.Object wrapped()
SHost
SHost
.
Gives access to the actual widget(s) used by the GUI context to attach the widget roots created by facet layouts.
wrapped
in interface SHost
public void setTitle(java.lang.String title)
setTitle
in interface SHost
public void setLayout(SHost.FacetLayout layout)
SHost
SHost.FacetLayout
to the GUI context.
setLayout
in interface SHost
layout
- will generally have been created by the SHost
implementationpublic SurfaceServices activeServices()
AppHost
These will generally have been passed to methods such as
AppHost.newDesktopLayout(SFacet, LayoutFeatures)
,
enabling a hosted AppSurface
to delegate definition
to an AppSurface.Contenter
.
activeServices
in interface AppHost
public SHost.FacetLayout newDesktopLayout(SFacet contentFacet, AppHost.LayoutFeatures features)
AppHost
newDesktopLayout
in interface AppHost
public void updateLayout(SSurface surface)
SHost
updateLayout
in interface SHost
public Dialogs newDialogs(ActionAppSurface app)
AppHost
Dialogs
for use by an AppSurface
.
newDialogs
in interface AppHost
app
- should host the dialogs launchedpublic void splashDown()
public void splashUp(java.lang.String msg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |