|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.DeprecatedUINode | +--oracle.cabo.ui.BaseUINode | +--oracle.cabo.ui.BaseMutableUINode | +--oracle.cabo.ui.beans.BaseWebBean | +--oracle.cabo.ui.beans.MarlinBean | +--oracle.cabo.ui.beans.layout.LabeledFieldLayoutBean
The LabeledFieldLayout lays out its indexed children in a series of columns, one set for the "labels" and the other set for the "fields", with a gap in between. The children are layed out across and down, with the first child in each row in the "label" position and the second in the "field" position. The contents of each row are centered in the available space, with the "labels" right aligned, and the "fields" left aligned. With multiple columns, the children continue to be layed out across and down. For example, with two columns, the third child will be used as the label for the first row and second column.
Although designed for labeled text fields, this layout can be used with any UINodes. It also has special support for all of the inline messaging beans. Each inline messaging bean will automatically occupy both a "label" and "field" position.
<labeledFieldLayout labelWidth="25%" fieldWidth="80%" columns="2" width="80%" > <contents> UserName <textInput name="foo"/> Password <textInput name="foo" secret="true"/> Submit <submitButton formName="myform" text="Submit"/> Reset <resetButton formName="myform" text="Reset"/> </contents> </labeledFieldLayout>
Constructor Summary | |
|
LabeledFieldLayoutBean()
Construct an instance of the LabeledFieldLayoutBean. |
protected |
LabeledFieldLayoutBean(boolean ignored,
java.lang.String localName)
Construct an instance of the LabeledFieldLayoutBean. |
Method Summary | |
int |
getColumns()
Gets the number of pairs of columns to display in the layout. |
static int |
getColumns(MutableUINode bean)
Gets the number of pairs of columns to display in the layout. |
java.lang.String |
getFieldWidth()
Gets the preferred width of each field column. |
static java.lang.String |
getFieldWidth(MutableUINode bean)
Gets the preferred width of each field column. |
java.lang.String |
getLabelWidth()
Gets the preferred width of each label column. |
static java.lang.String |
getLabelWidth(MutableUINode bean)
Gets the preferred width of each label column. |
java.lang.String |
getWidth()
Gets the preferred total width of the layout. |
static java.lang.String |
getWidth(MutableUINode bean)
Gets the preferred total width of the layout. |
void |
setColumns(int columns)
Sets the number of pairs of columns to display in the layout. |
static void |
setColumns(MutableUINode bean,
int columns)
Sets the number of pairs of columns to display in the layout. |
static void |
setFieldWidth(MutableUINode bean,
java.lang.String fieldWidth)
Sets the preferred width of each field column. |
void |
setFieldWidth(java.lang.String fieldWidth)
Sets the preferred width of each field column. |
static void |
setLabelWidth(MutableUINode bean,
java.lang.String labelWidth)
Sets the preferred width of each label column. |
void |
setLabelWidth(java.lang.String labelWidth)
Sets the preferred width of each label column. |
void |
setWidth(int width)
Sets the preferred total width of the layout. |
static void |
setWidth(MutableUINode bean,
int width)
Sets the preferred total width of the layout. |
static void |
setWidth(MutableUINode bean,
java.lang.String width)
Sets the preferred total width of the layout. |
void |
setWidth(java.lang.String width)
Sets the preferred total width of the layout. |
Methods inherited from class oracle.cabo.ui.beans.MarlinBean |
isEqualMarlinName |
Methods inherited from class oracle.cabo.ui.BaseUINode |
getAttributeNames, getAttributeValue, getAttributeValueImpl, getChildArray, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getPreorderDescendentAttributeValue, getRawAttributeValue, getRenderedUINode, getRenderer, getRenderer, render, render, toString |
Methods inherited from class oracle.cabo.ui.DeprecatedUINode |
getAttributeValue, getChildNames, getNamedChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.cabo.ui.UINode |
getAttributeNames, getAttributeValue, getAttributeValue, getChildNames, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getRawAttributeValue, render, render |
Constructor Detail |
public LabeledFieldLayoutBean()
protected LabeledFieldLayoutBean(boolean ignored, java.lang.String localName)
Method Detail |
public final int getColumns()
public final void setColumns(int columns)
public final java.lang.String getWidth()
public final void setWidth(java.lang.String width)
public final void setWidth(int width)
public final java.lang.String getLabelWidth()
public final void setLabelWidth(java.lang.String labelWidth)
public final java.lang.String getFieldWidth()
public final void setFieldWidth(java.lang.String fieldWidth)
public static int getColumns(MutableUINode bean)
public static void setColumns(MutableUINode bean, int columns)
public static java.lang.String getWidth(MutableUINode bean)
public static void setWidth(MutableUINode bean, java.lang.String width)
public static void setWidth(MutableUINode bean, int width)
public static java.lang.String getLabelWidth(MutableUINode bean)
public static void setLabelWidth(MutableUINode bean, java.lang.String labelWidth)
public static java.lang.String getFieldWidth(MutableUINode bean)
public static void setFieldWidth(MutableUINode bean, java.lang.String fieldWidth)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |