|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Container for form elements
Method Summary | |
void |
addFormElement(FormElement element)
Adds a new child element to the container |
java.lang.String |
getCellWidth()
Returns the width of the control cell for this container. |
FormColumnGroup |
getColumnGroup()
|
java.lang.String |
getExpandProperty()
Retrieves the name of a property that is used to expand or collapse the group |
FormElement |
getFormElement(int index)
Returns a single elements in the container |
FormElement[] |
getFormElements()
Returns a list with all elements in the container |
FormElement[] |
getFormElements(Principal principal)
Returns a list with all visible elements in the container filtered on the principals permissions |
java.lang.String |
getLabelWidth()
Returns the width of the labels for this container. |
OrientationType |
getOrientation()
|
void |
removeFormElement(FormElement element)
Removes the specified form element from the container |
void |
setCellWidth(java.lang.String width)
Sets the width of the control cell for this container. |
void |
setExpandProperty(java.lang.String propertyName)
Sets the name of a property that is used to expand or collapse the group |
void |
setLabelWidth(java.lang.String width)
Sets the width of the labels for this container. |
void |
setShowFrame(boolean show)
Disables the forms border |
boolean |
showFrame()
|
int |
size()
Returns the number of elements in the container |
Methods inherited from interface com.cc.framework.ui.control.FormElement |
getAlignment, getColSpan, getHeight, getHelp, getNoWrap, getParent, getStyle, getStyleClass, getStyleId, getVAlignment, getWidth, joinElements, setAlignment, setColSpan, setHeight, setHelp, setJoin, setParent, setStyle, setStyleClass, setStyleId, setVAlignment, setWidth |
Methods inherited from interface com.cc.framework.ui.model.AccessControlled |
getPermission, show |
Method Detail |
public void addFormElement(FormElement element)
element
- The new form elementpublic java.lang.String getExpandProperty()
public FormElement getFormElement(int index)
index
- Elements index
public FormElement[] getFormElements()
public FormElement[] getFormElements(Principal principal)
principal
- the principal object with the permissions
public OrientationType getOrientation()
public void removeFormElement(FormElement element)
element
- The form element to removepublic void setExpandProperty(java.lang.String propertyName)
propertyName
- java property namepublic void setShowFrame(boolean show)
show
- true
if the forms frame should be shownpublic boolean showFrame()
true
if the frame should be shownpublic int size()
public java.lang.String getLabelWidth()
null
for default label widthpublic void setLabelWidth(java.lang.String width)
width
- label width or null
for default label widthpublic java.lang.String getCellWidth()
null
public void setCellWidth(java.lang.String width)
width
- control cell width or null
public FormColumnGroup getColumnGroup()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |