|
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.nav.ApplicationSwitcherBean
This bean is not supported on the following agent types: pda.
The ApplicationSwitcher is used in the GlobalButtonBar to switch from one application to another. The ApplicationSwitcher contains any number of OptionBeans, each of which represents an optional application that the user may select. The text in the OptionBeans should be kept as short as possible.
The NAME attribute is REQUIRED. The ApplicationSwitcher is REQUIRED to be in a form in order for the choice to display properly in Netscape 4.x, however form submission itself is optional.
<ctrl:content xmlns:ui="http://xmlns.oracle.com/uix/ui"> <dataScope xmlns="http://xmlns.oracle.com/uix/ui"> <contents> <form name="myForm"> <contents> <applicationSwitcher name="mySwitcher" selectedIndex="2" formSubmitted="true"> <contents> <option text="iReceivables" value="iReceivables"/> <option text="Human Resources" value="HumanResources"/> <option text="Finance" value="Finance"/> <option text="iLearning" value="iLearning"/> </contents> </applicationSwitcher> </contents> </form> </contents> </dataScope> </ctrl:content> <ctrl:handlers> <ctrl:event name="switchApp"> <ctrl:method class="oracle.cabo.doc.demo.ApplicationSwitcherData" method="appSwitchEventHandler"/> </ctrl:event> </ctrl:handlers>
UIConstants
,
OptionContainerBean
,
OptionBean
,
GlobalButtonBarBean
Constructor Summary | |
|
ApplicationSwitcherBean()
Construct an instance of the ApplicationSwitcherBean. |
protected |
ApplicationSwitcherBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ApplicationSwitcherBean. |
|
ApplicationSwitcherBean(java.lang.String name)
Construct an instance of the ApplicationSwitcherBean. |
Method Summary | |
java.lang.String |
getDestination()
Gets the destination to submit to when form submission not being used. |
static java.lang.String |
getDestination(MutableUINode bean)
Gets the destination to submit to when form submission not being used. |
java.lang.String |
getFormName()
Gets form to which events should be submitted. |
static java.lang.String |
getFormName(MutableUINode bean)
Gets form to which events should be submitted. |
java.lang.String |
getTitle()
Gets the title under the list of choices. |
static java.lang.String |
getTitle(MutableUINode bean)
Gets the title under the list of choices. |
boolean |
isFormSubmitted()
Gets whether or not to use form sumission. |
static boolean |
isFormSubmitted(MutableUINode bean)
Gets whether or not to use form sumission. |
boolean |
isUnvalidated()
Gets If this element is used in formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. |
static boolean |
isUnvalidated(MutableUINode bean)
Gets If this element is used in formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. |
static void |
setDestination(MutableUINode bean,
java.lang.String destination)
Sets the destination to submit to when form submission not being used. |
void |
setDestination(java.lang.String destination)
Sets the destination to submit to when form submission not being used. |
static void |
setFormName(MutableUINode bean,
java.lang.String formName)
Sets form to which events should be submitted. |
void |
setFormName(java.lang.String formName)
Sets form to which events should be submitted. |
void |
setFormSubmitted(boolean formSubmitted)
Sets whether or not to use form sumission. |
static void |
setFormSubmitted(MutableUINode bean,
boolean formSubmitted)
Sets whether or not to use form sumission. |
static void |
setTitle(MutableUINode bean,
java.lang.String title)
Sets the title under the list of choices. |
void |
setTitle(java.lang.String title)
Sets the title under the list of choices. |
static void |
setTranslatableTitle(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the title under the list of choices. |
void |
setTranslatableTitle(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the title under the list of choices. |
void |
setUnvalidated(boolean unvalidated)
Sets If this element is used in formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. |
static void |
setUnvalidated(MutableUINode bean,
boolean unvalidated)
Sets If this element is used in formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. |
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 ApplicationSwitcherBean()
public ApplicationSwitcherBean(java.lang.String name)
name
- the name used to identify the element in client-to-client or
client-to-server events.protected ApplicationSwitcherBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getTitle()
public final void setTitle(java.lang.String title)
public final void setTranslatableTitle(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 java.lang.String getDestination()
public final void setDestination(java.lang.String destination)
public final boolean isFormSubmitted()
public final void setFormSubmitted(boolean formSubmitted)
public final boolean isUnvalidated()
formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. This attribute allows
this validation to be disabled.public final void setUnvalidated(boolean unvalidated)
formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. This attribute allows
this validation to be disabled.public final java.lang.String getFormName()
public final void setFormName(java.lang.String formName)
public static java.lang.String getTitle(MutableUINode bean)
public static void setTitle(MutableUINode bean, java.lang.String title)
public static void setTranslatableTitle(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 java.lang.String getDestination(MutableUINode bean)
public static void setDestination(MutableUINode bean, java.lang.String destination)
public static boolean isFormSubmitted(MutableUINode bean)
public static void setFormSubmitted(MutableUINode bean, boolean formSubmitted)
public static boolean isUnvalidated(MutableUINode bean)
formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. This attribute allows
this validation to be disabled.public static void setUnvalidated(MutableUINode bean, boolean unvalidated)
formSubmitted
mode, then the default behaviour is to validate all form inputs,
before submitting to the server. This attribute allows
this validation to be disabled.public static java.lang.String getFormName(MutableUINode bean)
public static void setFormName(MutableUINode bean, java.lang.String formName)
|
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 |