|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.bus.bean.Bean
net.sf.doolin.gui.field.AbstractFieldDescriptor<V>
net.sf.doolin.gui.form.FormSection<V>
V - Type of the data for the viewpublic class FormSection<V>
Field that contains other fields.
| Constructor Summary | |
|---|---|
FormSection()
|
|
| Method Summary | |
|---|---|
Field<V> |
createField(GUIView<V> view)
Creates a field. |
String |
getCollapsedPropertyPath()
Gets the path to the property that defines the collapsed state |
List<FieldDescriptor<V>> |
getFieldList()
Gets the field list. |
LayoutService |
getLayout()
Gets the layout. |
String |
getTitleExpression()
Gets the title expression. |
boolean |
isBorder()
Checks if is border. |
boolean |
isCollapsable()
Checks if the section can be collapsed or not |
boolean |
isCollapsed()
Checks if the section is collapsed |
void |
onInit(Field<V> field)
Does nothing. |
void |
setBorder(boolean border)
Sets true if a border must surround the section. |
void |
setCollapsable(boolean collapsable)
Sets if the section can be collapsed or not |
void |
setCollapsed(boolean collapsed)
Sets if the section is collapsed |
void |
setCollapsedPropertyPath(String collapsedPropertyPath)
Sets the path to the property that defines the collapsed state |
void |
setFieldList(List<FieldDescriptor<V>> fieldList)
Sets the field list. |
void |
setLayout(LayoutService layout)
Sets the layout. |
void |
setTitleExpression(String titleExpression)
Sets the title expression for the border title. |
| Methods inherited from class net.sf.doolin.gui.field.AbstractFieldDescriptor |
|---|
getActionFactory, getConstraint, getDisplayStateHandler, getIconService, getName, getStyle, getTransferHandler, onShow, setActionFactory, setConstraint, setDisplayState, setDisplayStateHandler, setIconService, setName, setStyle, setTransferHandler |
| Methods inherited from class net.sf.doolin.bus.bean.Bean |
|---|
getBeanNotificationSupport, getParentBean, notify, setParentBean |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormSection()
| Method Detail |
|---|
public Field<V> createField(GUIView<V> view)
FieldDescriptor
view - Owning view
public String getCollapsedPropertyPath()
null if not definedpublic List<FieldDescriptor<V>> getFieldList()
public LayoutService getLayout()
public String getTitleExpression()
public boolean isBorder()
public boolean isCollapsable()
true if the section can be collapsedpublic boolean isCollapsed()
true if the section is collapsedpublic void onInit(Field<V> field)
AbstractFieldDescriptor
onInit in interface FieldDescriptor<V>onInit in class AbstractFieldDescriptor<V>field - Field that is createdpublic void setBorder(boolean border)
true if a border must surround the section.
border - the new borderpublic void setCollapsable(boolean collapsable)
collapsable - true if the section can be collapsedpublic void setCollapsed(boolean collapsed)
collapsed - true if the section is collapsedpublic void setCollapsedPropertyPath(String collapsedPropertyPath)
collapsedPropertyPath - Property path or null if not definedpublic void setFieldList(List<FieldDescriptor<V>> fieldList)
fieldList - the new field listpublic void setLayout(LayoutService layout)
layout - the new layoutpublic void setTitleExpression(String titleExpression)
titleExpression - the new title expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||