|
|||||||||
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.LinkContainerBean | +--oracle.cabo.ui.beans.nav.GlobalHeaderBean
The GlobalHeader control (sometimes known as "Level 2 Tabs") contains a series of links. (See the superclass for convenience methods for adding and removing links).
Currently a global header maps to a horizontal line or separator on a pda. The indexed children are ignored.
Used as navigation:
<globalHeader selectedIndex="1"> <contents> <link text="UIX Components" destination="http://www.oracle.com"/> <link text="UIX Controller" destination="http://www.oracle.com"/> <link text="Architecture" destination="http://www.oracle.com/"/> <link text="Release" destination="http://www.oracle.com/" disabled="true"/> </contents> </globalHeader>
Used as title:
<globalHeader text="Title Text"/>
Constructor Summary | |
|
GlobalHeaderBean()
Construct an instance of the GlobalHeaderBean. |
protected |
GlobalHeaderBean(boolean ignored,
java.lang.String localName)
Construct an instance of the GlobalHeaderBean. |
|
GlobalHeaderBean(java.lang.String text)
Construct an instance of the GlobalHeaderBean. |
Method Summary | |
int |
getSelectedIndex()
Gets the index of the selected heading. |
static int |
getSelectedIndex(MutableUINode bean)
Gets the index of the selected heading. |
java.lang.String |
getText()
Gets the label of the global header. |
static java.lang.String |
getText(MutableUINode bean)
Gets the label of the global header. |
void |
setSelectedIndex(int selectedIndex)
Sets the index of the selected heading. |
static void |
setSelectedIndex(MutableUINode bean,
int selectedIndex)
Sets the index of the selected heading. |
static void |
setText(MutableUINode bean,
java.lang.String text)
Sets the label of the global header. |
void |
setText(java.lang.String text)
Sets the label of the global header. |
static void |
setTranslatableText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the label of the global header. |
void |
setTranslatableText(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the label of the global header. |
Methods inherited from class oracle.cabo.ui.beans.nav.LinkContainerBean |
addLink, addLink, addLink, getLink, removeLink |
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 GlobalHeaderBean()
public GlobalHeaderBean(java.lang.String text)
text
- the label of the global header.protected GlobalHeaderBean(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 int getSelectedIndex()
public final void setSelectedIndex(int selectedIndex)
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 int getSelectedIndex(MutableUINode bean)
public static void setSelectedIndex(MutableUINode bean, int selectedIndex)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |