|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.view.descriptor.AbstractGUIViewDescriptor<V>
net.sf.doolin.gui.form.FormViewDescriptor<V>
V - Type of object for the viewpublic class FormViewDescriptor<V>
Descriptor for a view that contains a list of fields.
| Constructor Summary | |
|---|---|
FormViewDescriptor()
Instantiates a new form view descriptor. |
|
| Method Summary | |
|---|---|
GUIView<V> |
createView(GUIWindow<?> parentWindow,
V model)
Creates a view according to this descriptor |
List<FieldDescriptor<V>> |
getFieldList()
Gets the field list. |
LayoutService |
getLayout()
Gets the layout. |
GUIValidationDecorator |
getValidationDecorator()
Gets the validation decorator. |
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. |
boolean |
isScrollable()
Checks if the view content is scrollable |
void |
setFieldList(List<FieldDescriptor<V>> fieldList)
Sets the field list. |
void |
setLayout(LayoutService layout)
Sets the layout. |
void |
setScrollable(boolean scrollable)
Sets if the view content is scrollable |
void |
setValidationDecorator(GUIValidationDecorator validationDecorator)
Sets the validation decorator. |
| Methods inherited from class net.sf.doolin.gui.view.descriptor.AbstractGUIViewDescriptor |
|---|
close, getActionFactory, getCloseAction, getIconId, getID, getParentViewId, getTitleExpression, getValidator, getViewDecorator, getViewId, getViewSubscribers, getViewToolBar, getWindowMenuBar, getWindowToolBar, initView, onActivateView, registerParent, setActionFactory, setBeanName, setCloseAction, setIconId, setParentViewId, setTitleExpression, setValidator, setViewDecorator, setViewId, setViewSubscribers, setViewToolBar, setWindowMenuBar, setWindowToolBar |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormViewDescriptor()
| Method Detail |
|---|
public GUIView<V> createView(GUIWindow<?> parentWindow,
V model)
GUIViewDescriptor
parentWindow - Parent windowmodel - Model for the view
public List<FieldDescriptor<V>> getFieldList()
public LayoutService getLayout()
public GUIValidationDecorator getValidationDecorator()
public void initState(GUIView<V> view)
GUIViewDescriptor
view - View to initializepublic boolean isScrollable()
true if the view content is scrollablepublic void setFieldList(List<FieldDescriptor<V>> fieldList)
fieldList - the new field listpublic void setLayout(LayoutService layout)
layout - the new layoutpublic void setScrollable(boolean scrollable)
scrollable - true if the view content is scrollablepublic void setValidationDecorator(GUIValidationDecorator validationDecorator)
validationDecorator - the new validation decorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||