|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - Type of the view data.public interface GUIViewDescriptor<V>
Descriptor for a view.
| Method Summary | |
|---|---|
boolean |
close(GUIView<V> view,
boolean force)
Closes the view |
GUIView<V> |
createView(GUIWindow<?> parentWindow,
V model)
Creates a view according to this descriptor |
ActionFactory |
getActionFactory()
Returns the action factory |
String |
getIconId()
Gets the icon id |
String |
getID(V model)
Gets the ID for the view (can depend on the model) |
String |
getTitleExpression()
Returns the expression used to compute the title of any view |
GUIValidator<V> |
getValidator()
Gets the validator to be used for the view |
GUIViewDecorator |
getViewDecorator()
Additional decorator for the view |
String |
getViewId()
Returns the view ID expression |
void |
initState(GUIView<V> view)
This method is called after the view is ready to be displayed, giving a last chance to the descriptor to perform some last-minute initialization. |
| Method Detail |
|---|
boolean close(GUIView<V> view,
boolean force)
view - View to closeforce - true if the view must be closed.
true if the view could be closed
GUIView<V> createView(GUIWindow<?> parentWindow,
V model)
parentWindow - Parent windowmodel - Model for the view
ActionFactory getActionFactory()
String getIconId()
String getID(V model)
model - Model for the view
String getTitleExpression()
GUIValidator<V> getValidator()
GUIViewDecorator getViewDecorator()
null if none is defined.String getViewId()
void initState(GUIView<V> view)
view - View to initialize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||