|
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.RadioButtonBean
User interface radio buttons and checkboxes.
The radiobutton control maps to a standard browser input radio, which is grouped with all other radiobutton controls on the same page which share the same name. The text contained by the radiobutton control will be displayed as the radiobutton label. Radio buttons with the same name (set on the FormElementBean superclass) will be placed in the same group with mutually exclusive selection, regardless of their physical placement on the page.
This example illustrates three radio buttons in the same group. The first is pre-selected, with an access key of '4'; the second has an access key of '5'; and the third has no access key at all.
<radioButton name="RadioButtons" text="radio4" accessKey="4" selected="true" value="1"/> <radioButton name="RadioButtons" textAndAccessKey="radio&5" selected="false" value="2"/> <radioButton text="radio6" name="RadioButtons" selected="false" value="3"/>
It does not support any children.
Constructor Summary | |
|
RadioButtonBean()
Construct an instance of the RadioButtonBean. |
protected |
RadioButtonBean(boolean ignored,
java.lang.String localName)
Construct an instance of the RadioButtonBean. |
|
RadioButtonBean(java.lang.String name)
Construct an instance of the RadioButtonBean. |
|
RadioButtonBean(java.lang.String name,
java.lang.String text)
Construct an instance of the RadioButtonBean. |
|
RadioButtonBean(java.lang.String name,
java.lang.String text,
boolean selected)
Construct an instance of the RadioButtonBean. |
Method Summary | |
char |
getAccessKey()
Gets Character used to gain quick access to this radio button. |
static char |
getAccessKey(MutableUINode bean)
Gets Character used to gain quick access to this radio button. |
java.lang.String |
getSelectedValue()
Gets the value of the selected radio button. |
static java.lang.String |
getSelectedValue(MutableUINode bean)
Gets the value of the selected radio button. |
java.lang.String |
getText()
Gets the text value of the radio button. |
static java.lang.String |
getText(MutableUINode bean)
Gets the text value of the radio button. |
java.lang.String |
getValue()
Gets the string value to be sent when this particular radiobutton is selected among those in its group. |
static java.lang.String |
getValue(MutableUINode bean)
Gets the string value to be sent when this particular radiobutton is selected among those in its group. |
boolean |
isSelected()
Gets a boolean value indicating whether or not the radiobutton is currently selected in its group. |
static boolean |
isSelected(MutableUINode bean)
Gets a boolean value indicating whether or not the radiobutton is currently selected in its group. |
void |
setAccessKey(char accessKey)
Sets Character used to gain quick access to this radio button. |
static void |
setAccessKey(MutableUINode bean,
char accessKey)
Sets Character used to gain quick access to this radio button. |
void |
setSelected(boolean selected)
Sets a boolean value indicating whether or not the radiobutton is currently selected in its group. |
static void |
setSelected(MutableUINode bean,
boolean selected)
Sets a boolean value indicating whether or not the radiobutton is currently selected in its group. |
void |
setSelectedBinding(BoundValue boundValue)
Binds the a boolean value indicating whether or not the radiobutton is currently selected in its group. |
static void |
setSelectedBinding(MutableUINode bean,
BoundValue boundValue)
Binds the a boolean value indicating whether or not the radiobutton is currently selected in its group. |
static void |
setSelectedBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the radiobutton is currently selected in its group. |
static void |
setSelectedBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the radiobutton is currently selected in its group. |
void |
setSelectedBinding(java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the radiobutton is currently selected in its group. |
void |
setSelectedBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the radiobutton is currently selected in its group. |
static void |
setSelectedValue(MutableUINode bean,
java.lang.String selectedValue)
Sets the value of the selected radio button. |
void |
setSelectedValue(java.lang.String selectedValue)
Sets the value of the selected radio button. |
void |
setSelectedValueBinding(BoundValue boundValue)
Binds the the value of the selected radio button. |
static void |
setSelectedValueBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the value of the selected radio button. |
static void |
setSelectedValueBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the value of the selected radio button. |
static void |
setSelectedValueBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the value of the selected radio button. |
void |
setSelectedValueBinding(java.lang.Object selectKey)
Binds the the value of the selected radio button. |
void |
setSelectedValueBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the value of the selected radio button. |
static void |
setText(MutableUINode bean,
java.lang.String text)
Sets the text value of the radio button. |
void |
setText(java.lang.String text)
Sets the text value of the radio button. |
void |
setTextBinding(BoundValue boundValue)
Binds the the text value of the radio button. |
static void |
setTextBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the text value of the radio button. |
static void |
setTextBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the text value of the radio button. |
static void |
setTextBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the text value of the radio button. |
void |
setTextBinding(java.lang.Object selectKey)
Binds the the text value of the radio button. |
void |
setTextBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the text value of the radio button. |
static void |
setTranslatableText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the text value of the radio button. |
void |
setTranslatableText(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the text value of the radio button. |
static void |
setValue(MutableUINode bean,
java.lang.String value)
Sets the string value to be sent when this particular radiobutton is selected among those in its group. |
void |
setValue(java.lang.String value)
Sets the string value to be sent when this particular radiobutton is selected among those in its group. |
void |
setValueBinding(BoundValue boundValue)
Binds the the string value to be sent when this particular radiobutton is selected among those in its group. |
static void |
setValueBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the string value to be sent when this particular radiobutton is selected among those in its group. |
static void |
setValueBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the string value to be sent when this particular radiobutton is selected among those in its group. |
static void |
setValueBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the string value to be sent when this particular radiobutton is selected among those in its group. |
void |
setValueBinding(java.lang.Object selectKey)
Binds the the string value to be sent when this particular radiobutton is selected among those in its group. |
void |
setValueBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the string value to be sent when this particular radiobutton is selected among those in its group. |
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 RadioButtonBean()
public RadioButtonBean(java.lang.String name)
name
- the name used to identify the element in client-to-client or
client-to-server events.public RadioButtonBean(java.lang.String name, java.lang.String text)
name
- the name used to identify the element in client-to-client or
client-to-server events.text
- the text value of the radio button.public RadioButtonBean(java.lang.String name, java.lang.String text, boolean selected)
name
- the name used to identify the element in client-to-client or
client-to-server events.text
- the text value of the radio button.selected
- a boolean value indicating whether or not the radiobutton is
currently selected in its group.protected RadioButtonBean(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 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 boolean isSelected()
public final void setSelected(boolean selected)
public final void setSelectedBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setSelectedBinding(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 setSelectedBinding(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 getSelectedValue()
public final void setSelectedValue(java.lang.String selectedValue)
public final void setSelectedValueBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setSelectedValueBinding(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 setSelectedValueBinding(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 char getAccessKey()
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this RadioButton instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
getText()
,
setText(java.lang.String)
,
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public final void setAccessKey(char accessKey)
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this RadioButton instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
getText()
,
setText(java.lang.String)
,
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
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 ResourceBundlepublic 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 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 boolean isSelected(MutableUINode bean)
public static void setSelected(MutableUINode bean, boolean selected)
public static void setSelectedBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setSelectedBinding(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 setSelectedBinding(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 getSelectedValue(MutableUINode bean)
public static void setSelectedValue(MutableUINode bean, java.lang.String selectedValue)
public static void setSelectedValueBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setSelectedValueBinding(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 setSelectedValueBinding(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 char getAccessKey(MutableUINode bean)
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this RadioButton instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
getText()
,
setText(java.lang.String)
,
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
public static void setAccessKey(MutableUINode bean, char accessKey)
If the same access key appears in multiple locations in the same page of output, the rendering user agent will cycle among the elements accessed by the similar keys.
This attribute is sometimes referred to as the "mnemonic".
The character specified by this attribute
must exist in the
Text
attribute of this RadioButton instance.
If it does not, the user will receive no visual indication of
the existence of the accessKey.
The easiest, and most convenient
way to specify both the text and the mnemonic together is to use
NodeUtils.setTextAndAccessKey().
getText()
,
setText(java.lang.String)
,
NodeUtils.setTextAndAccessKey(oracle.cabo.ui.MutableUINode, java.lang.String)
|
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 |