|
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.form.OptionBean
User interface list elements, single- and multi- select. The OptionBean represents a single option which the user may select from the set of items in a list or choice control. The OptionBean contains text which is displayed to the user as the label of the item.
<choice>
<contents>
<option text="Option1"/>
<option text="Option2"/>
<option text="Option3" selected="true"/>
<option text="Option4" selected="true"/>
</contents>
</list>
<list multiple="true"
selectedIndex="1"
size="8">
<contents>
<option text="Option1"
value="Value1"/>
<option text="Option2"
value="Value2"/>
<option text="Option3"
value="Value3"/>
<option text="Option4"
value="Value4"/>
</contents>
</list>
| Constructor Summary | |
|
OptionBean()
Construct an instance of the OptionBean. |
protected |
OptionBean(boolean ignored,
java.lang.String localName)
Construct an instance of the OptionBean. |
|
OptionBean(java.lang.String text)
Construct an instance of the OptionBean. |
|
OptionBean(java.lang.String text,
java.lang.String value)
Construct an instance of the OptionBean. |
|
OptionBean(java.lang.String text,
java.lang.String value,
boolean selected)
Construct an instance of the OptionBean. |
| Method Summary | |
java.lang.String |
getLongDesc()
Gets the description associated with this option. |
static java.lang.String |
getLongDesc(MutableUINode bean)
Gets the description associated with this option. |
java.lang.String |
getText()
Gets the user-visible text of the option |
static java.lang.String |
getText(MutableUINode bean)
Gets the user-visible text of the option |
java.lang.String |
getValue()
Gets the value used to identify this item when the parent control is submitted to the server. |
static java.lang.String |
getValue(MutableUINode bean)
Gets the value used to identify this item when the parent control is submitted to the server. |
boolean |
isSelected()
Gets whether the item is selected. |
static boolean |
isSelected(MutableUINode bean)
Gets whether the item is selected. |
static void |
setLongDesc(MutableUINode bean,
java.lang.String longDesc)
Sets the description associated with this option. |
void |
setLongDesc(java.lang.String longDesc)
Sets the description associated with this option. |
void |
setLongDescBinding(BoundValue boundValue)
Binds the the description associated with this option. |
static void |
setLongDescBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the description associated with this option. |
static void |
setLongDescBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the description associated with this option. |
static void |
setLongDescBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the description associated with this option. |
void |
setLongDescBinding(java.lang.Object selectKey)
Binds the the description associated with this option. |
void |
setLongDescBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the description associated with this option. |
void |
setSelected(boolean selected)
Sets whether the item is selected. |
static void |
setSelected(MutableUINode bean,
boolean selected)
Sets whether the item is selected. |
static void |
setText(MutableUINode bean,
java.lang.String text)
Sets the user-visible text of the option |
void |
setText(java.lang.String text)
Sets the user-visible text of the option |
void |
setTextBinding(BoundValue boundValue)
Binds the the user-visible text of the option |
static void |
setTextBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the user-visible text of the option |
static void |
setTextBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the user-visible text of the option |
static void |
setTextBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the user-visible text of the option |
void |
setTextBinding(java.lang.Object selectKey)
Binds the the user-visible text of the option |
void |
setTextBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the user-visible text of the option |
static void |
setTranslatableText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the user-visible text of the option |
void |
setTranslatableText(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the user-visible text of the option |
static void |
setValue(MutableUINode bean,
java.lang.String value)
Sets the value used to identify this item when the parent control is submitted to the server. |
void |
setValue(java.lang.String value)
Sets the value used to identify this item when the parent control is submitted to the server. |
void |
setValueBinding(BoundValue boundValue)
Binds the the value used to identify this item when the parent control is submitted to the server. |
static void |
setValueBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the value used to identify this item when the parent control is submitted to the server. |
static void |
setValueBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the value used to identify this item when the parent control is submitted to the server. |
static void |
setValueBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the value used to identify this item when the parent control is submitted to the server. |
void |
setValueBinding(java.lang.Object selectKey)
Binds the the value used to identify this item when the parent control is submitted to the server. |
void |
setValueBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the value used to identify this item when the parent control is submitted to the server. |
| 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 OptionBean()
public OptionBean(java.lang.String text)
text - the user-visible text of the option
public OptionBean(java.lang.String text,
java.lang.String value)
text - the user-visible text of the optionvalue - the value used to identify this item when the
parent control is submitted to the server.
public OptionBean(java.lang.String text,
java.lang.String value,
boolean selected)
text - the user-visible text of the optionvalue - the value used to identify this item when the
parent control is submitted to the server.selected - whether the item is selected.
protected OptionBean(boolean ignored,
java.lang.String localName)
| Method Detail |
public final java.lang.String getText()
public final void setText(java.lang.String text)
public final void setTranslatableText(java.lang.String bundleName,
java.lang.String key)
bundleName - the name of the ResourceBundlekey - the key of the string to retrieve from the ResourceBundlepublic final void setTextBinding(BoundValue boundValue)
boundValue - a BoundValue implementation to be used
to retrieve the value.public final void setTextBinding(java.lang.Object selectKey)
selectKey - the key to be passed to selectValue() on the
current DataObject, e.g., the DataObject for the current
table row.
public final void setTextBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
dataNamespace - the namespace to be passed to
RenderingContext.getDataObject()dataName - the name to be passed to
RenderingContext.getDataObject()selectKey - the key to be passed to selectValue() on the
DataObject.public final boolean isSelected()
public final void setSelected(boolean selected)
public final java.lang.String getValue()
public final void setValue(java.lang.String value)
public final void setValueBinding(BoundValue boundValue)
boundValue - a BoundValue implementation to be used
to retrieve the value.public final void setValueBinding(java.lang.Object selectKey)
selectKey - the key to be passed to selectValue() on the
current DataObject, e.g., the DataObject for the current
table row.
public final void setValueBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
dataNamespace - the namespace to be passed to
RenderingContext.getDataObject()dataName - the name to be passed to
RenderingContext.getDataObject()selectKey - the key to be passed to selectValue() on the
DataObject.public final java.lang.String getLongDesc()
public final void setLongDesc(java.lang.String longDesc)
public final void setLongDescBinding(BoundValue boundValue)
boundValue - a BoundValue implementation to be used
to retrieve the value.public final void setLongDescBinding(java.lang.Object selectKey)
selectKey - the key to be passed to selectValue() on the
current DataObject, e.g., the DataObject for the current
table row.
public final void setLongDescBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
dataNamespace - the namespace to be passed to
RenderingContext.getDataObject()dataName - the name to be passed to
RenderingContext.getDataObject()selectKey - the key to be passed to selectValue() on the
DataObject.public static java.lang.String getText(MutableUINode bean)
public static void setText(MutableUINode bean,
java.lang.String text)
public static void setTranslatableText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
bundleName - the name of the ResourceBundlekey - the key of the string to retrieve from the ResourceBundle
public static void setTextBinding(MutableUINode bean,
BoundValue boundValue)
boundValue - a BoundValue implementation to be used
to retrieve the value.
public static void setTextBinding(MutableUINode bean,
java.lang.Object selectKey)
selectKey - the key to be passed to selectValue() on the
current DataObject, e.g., the DataObject for the current
table row.
public static void setTextBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
dataNamespace - the namespace to be passed to
RenderingContext.getDataObject()dataName - the name to be passed to
RenderingContext.getDataObject()selectKey - the key to be passed to selectValue() on the
DataObject.public static boolean isSelected(MutableUINode bean)
public static void setSelected(MutableUINode bean,
boolean selected)
public static java.lang.String getValue(MutableUINode bean)
public static void setValue(MutableUINode bean,
java.lang.String value)
public static void setValueBinding(MutableUINode bean,
BoundValue boundValue)
boundValue - a BoundValue implementation to be used
to retrieve the value.
public static void setValueBinding(MutableUINode bean,
java.lang.Object selectKey)
selectKey - the key to be passed to selectValue() on the
current DataObject, e.g., the DataObject for the current
table row.
public static void setValueBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
dataNamespace - the namespace to be passed to
RenderingContext.getDataObject()dataName - the name to be passed to
RenderingContext.getDataObject()selectKey - the key to be passed to selectValue() on the
DataObject.public static java.lang.String getLongDesc(MutableUINode bean)
public static void setLongDesc(MutableUINode bean,
java.lang.String longDesc)
public static void setLongDescBinding(MutableUINode bean,
BoundValue boundValue)
boundValue - a BoundValue implementation to be used
to retrieve the value.
public static void setLongDescBinding(MutableUINode bean,
java.lang.Object selectKey)
selectKey - the key to be passed to selectValue() on the
current DataObject, e.g., the DataObject for the current
table row.
public static void setLongDescBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
dataNamespace - the namespace to be passed to
RenderingContext.getDataObject()dataName - the name to be passed to
RenderingContext.getDataObject()selectKey - the key to be passed to selectValue() on the
DataObject.
|
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 | ||||||||