|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DialogSurface.Contenter
SContenter
for use in a DialogSurface
.
DialogSurface.Contenter
defines an extended contract that must be
implemented by any SContenter
supplying content for
a DialogSurface
.
Method Summary | |
---|---|
void |
applyChanges()
Change content state to match surface state. |
java.awt.Dimension |
contentAreaSize()
Return the panel size needed for the content surface elements. |
void |
dialogClosed()
Called once the containing dialog has closed. |
SFacet |
newContentPanel(SContentRootTargeter t)
Return a panel containing facets exposing the content. |
void |
reverseChanges()
Restore content to its original state. |
void |
setDialog(DialogSurface dialog)
Enables the contenter to interact with its host dialog. |
java.lang.String |
title()
Return a title for the containing page. |
Methods inherited from interface facets.core.superficial.app.SContenter |
---|
contentFrame, newContentRoot, rootRetargeted |
Method Detail |
---|
SFacet newContentPanel(SContentRootTargeter t)
Called from STargeter.retargetFacets(Notifying.Impact)
in the (special)
SContentRootTargeter
created by DialogSurface.ContentRoot
t
- heads the targeter tree for the contentvoid setDialog(DialogSurface dialog)
Can be implemented empty where no interaction is required.
java.awt.Dimension contentAreaSize()
java.lang.String title()
title
in interface SContenter
title
in interface Titled
null
, non-empty string with no structural whitespacevoid applyChanges()
This will generally mean setting content state to that of a buffer storing surface state.
void reverseChanges()
void dialogClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |