|
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.FormElementBean
|
+--oracle.cabo.ui.beans.form.OptionContainerBean
|
+--oracle.cabo.ui.beans.form.ChoiceBean
User interface popup choice elements. The choice control creates a menu-style control, which allows the user to select a single value from a list of items. The choice control contains any number of OptionBeans, each of which represents an available option that the user may select. The choice control is similar to the list element, with the restriction that the choice control only allows a single item to be selected at a time.
<choice selectedIndex="2"
required="yes">
<contents>
<option text="Option1"/>
<option text="Option2"/>
<option text="Option3"/>
<option text="Option4"/>
</contents>
</choice>
| Constructor Summary | |
|
ChoiceBean()
Construct an instance of the ChoiceBean. |
protected |
ChoiceBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ChoiceBean. |
|
ChoiceBean(java.lang.String name)
Construct an instance of the ChoiceBean. |
| Method Summary | |
java.lang.String |
getRequired()
Gets whether the choice requires a non-empty value. |
static java.lang.String |
getRequired(MutableUINode bean)
Gets whether the choice requires a non-empty value. |
static void |
setRequired(MutableUINode bean,
java.lang.String required)
Sets whether the choice requires a non-empty value. |
void |
setRequired(java.lang.String required)
Sets whether the choice requires a non-empty value. |
| Methods inherited from class oracle.cabo.ui.beans.form.FormElementBean |
getName, getName, getOnBlur, getOnBlur, getOnFocus, getOnFocus, isDisabled, isDisabled, isReadOnly, isReadOnly, setDisabled, setDisabled, setName, setName, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setOnBlur, setOnBlur, setOnFocus, setOnFocus, setReadOnly, setReadOnly |
| 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 ChoiceBean()
public ChoiceBean(java.lang.String name)
name - the name used to identify the element in client-to-client or
client-to-server events.
protected ChoiceBean(boolean ignored,
java.lang.String localName)
| Method Detail |
public final java.lang.String getRequired()
UIConstants.REQUIRED_YESUser input in this choice is required.
UIConstants.REQUIRED_NOUser input in this choice is not required.
The default if this attribute is not set is "no".
public final void setRequired(java.lang.String required)
UIConstants.REQUIRED_YESUser input in this choice is required.
UIConstants.REQUIRED_NOUser input in this choice is not required.
The default if this attribute is not set is "no".
public static java.lang.String getRequired(MutableUINode bean)
UIConstants.REQUIRED_YESUser input in this choice is required.
UIConstants.REQUIRED_NOUser input in this choice is not required.
The default if this attribute is not set is "no".
public static void setRequired(MutableUINode bean,
java.lang.String required)
UIConstants.REQUIRED_YESUser input in this choice is required.
UIConstants.REQUIRED_NOUser input in this choice is not required.
The default if this attribute is not set is "no".
|
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 | ||||||||