|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface AppSurface.Contenter
SContenter for use in an AppSurface.
AppSurface.Contenter defines the extended contract that must be
implemented by any SContenter supplying content for
an AppSurface.
| Method Summary | |
|---|---|
void |
alignAddedRoot(SAreaTarget existing,
SAreaTarget added)
Allows the contenter to align two target trees, for instance when 'cloning' a window. |
boolean |
hasChanged()
Has the content changed? |
SHost.FacetLayout |
newContentLayout(SHost host,
SFacet appRoot,
SContentRootTargeter t)
Return a layout of facets that expose a content type. |
void |
wasAdded()
Called when the content has been added to the surface. |
void |
wasRemoved()
Called when the content has been removed from the surface. |
| Methods inherited from interface facets.core.superficial.app.SContenter |
|---|
contentFrame, newContentRoot, rootRetargeted, title |
| Method Detail |
|---|
SHost.FacetLayout newContentLayout(SHost host,
SFacet appRoot,
SContentRootTargeter t)
host - will generally create the layout, to ensure that it is of
a type known to SHost.setLayout(FacetLayout)appRoot - is attached to the SAreaTarget heading
the application surface area treet - was created by a content root returned by
SContenter.newContentRoot(boolean, boolean)
void alignAddedRoot(SAreaTarget existing,
SAreaTarget added)
existing - containing values to copyadded - new root to be aligned with existingboolean hasChanged()
void wasAdded()
void wasRemoved()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||