|
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.nav.LinkBean
|
+--oracle.cabo.ui.beans.nav.ButtonBean
|
+--oracle.cabo.ui.beans.form.ResetButtonBean
The reset button control creates a push button which will reset the content of a form. Reset buttons will not render any child nodes.
This simple example builds three checkboxes. The user may reset all three to their default state (unchecked, checked, unchecked) by clicking the "RESET" button -- which can also be accessed with the 'r' access key.
<form name="resform">
<contents>
<stackLayout>
<contents>
<styledText text="Reset Elements." styleClass="OraHeaderSubSub" />
<checkBox text="Box1" name="checkbox1" value="1" />
<checkBox text="Box2" name="checkbox2" value="2" checked="true"/>
<checkBox text="Box3" name="checkbox3" value="3" />
<resetButton formName="resform" text="RESET" accessKey="r" />
</contents>
</stackLayout>
</contents>
</form>
It does not support any children.
| Constructor Summary | |
|
ResetButtonBean()
Construct an instance of the ResetButtonBean. |
protected |
ResetButtonBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ResetButtonBean. |
|
ResetButtonBean(java.lang.String text)
Construct an instance of the ResetButtonBean. |
|
ResetButtonBean(java.lang.String text,
java.lang.String formName)
Construct an instance of the ResetButtonBean. |
| Method Summary | |
java.lang.String |
getFormName()
Gets the name of the form whose contents should be reset. |
static java.lang.String |
getFormName(MutableUINode bean)
Gets the name of the form whose contents should be reset. |
static void |
setFormName(MutableUINode bean,
java.lang.String formName)
Sets the name of the form whose contents should be reset. |
void |
setFormName(java.lang.String formName)
Sets the name of the form whose contents should be reset. |
| Methods inherited from class oracle.cabo.ui.beans.nav.ButtonBean |
sharedInstance |
| 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 ResetButtonBean()
public ResetButtonBean(java.lang.String text)
text - the textual label of the link.
public ResetButtonBean(java.lang.String text,
java.lang.String formName)
text - the textual label of the link.formName - the name of the form whose contents
should be reset.
protected ResetButtonBean(boolean ignored,
java.lang.String localName)
| Method Detail |
public final java.lang.String getFormName()
This is not supported on mobile devices as the resetButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.public final void setFormName(java.lang.String formName)
This is not supported on mobile devices as the resetButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.public static java.lang.String getFormName(MutableUINode bean)
This is not supported on mobile devices as the resetButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.
public static void setFormName(MutableUINode bean,
java.lang.String formName)
This is not supported on mobile devices as the resetButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.
|
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 | ||||||||