|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is realized by all WidgetModels executing at the client side. All WidgetModels implementing this interface must also construct a UIDelegateClient at construction time, which must be accessible via getUIDelegate.
| Method Summary | |
UIDelegateClient |
getUIDelegate()
Returns the attached UIDelegateClient. |
boolean |
isEditable()
Returns true if this model's widget may be modified by the end-user. |
boolean |
isEnabled()
Returns true, if this model's widget is enabled. |
void |
setEditable(boolean what)
Sets the editable-state of this models's widget. |
void |
setEnabled(boolean what)
Sets the enabled-state of this model's widget. |
| Method Detail |
public UIDelegateClient getUIDelegate()
public boolean isEditable()
public void setEditable(boolean what)
Usually, this method is called on all widget-models of a page to set the whole page to a read-only mode.
If this method is not called, the default is true.
what - true if the model's widget should be editable, false otherwise.public boolean isEnabled()
public void setEnabled(boolean what)
what - the state to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||