|
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.LinkContainerBean | +--oracle.cabo.ui.beans.nav.SubTabBarBean
This bean is not supported on the following agent types: pda.
The SubTabBar control creates a series of items defined by link nodes. (See the superclass for convenience methods for adding and removing links). The selected item is tabbed.
The SELECTED_INDEX attribute is the index of the selected item. If a child's SELECTED attribute is set to true, it will take precedence.
The ORIENTATION attribute indicated whether to render a "top" bar where the tab opens down, or a "bottom" bar where the tab opens up. The accepted values for this attribute are ORIENTATION_TOP, ORIENTATION_BOTTOM, and ORIENTATION_DEFAULT. The default is ORIENTATION_DEFAULT.
The following two examples of the subTabBar render indentically.
<subTabBar> <contents> <link text="UIX Components" destination="http://www.oracle.com" /> <link text="UIX Controller" destination="http://www.oracle.com" selected="true"/> <link text="Architecture" destination="http://www.oracle.com"/> <link text="Release" destination="http://www.oracle.com" disabled="true"/> </contents> </subTabBar> <subTabBar 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> </subTabBar>
The following example renders with the tab opening up.
<subTabBar selectedIndex="1" orientation="bottom"> <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> </subTabBar>
Constructor Summary | |
|
SubTabBarBean()
Construct an instance of the SubTabBarBean. |
protected |
SubTabBarBean(boolean ignored,
java.lang.String localName)
Construct an instance of the SubTabBarBean. |
Method Summary | |
java.lang.String |
getOrientation()
Gets the orientation of the bar. |
static java.lang.String |
getOrientation(MutableUINode bean)
Gets the orientation of the bar. |
int |
getSelectedIndex()
Gets the index of the selected item. |
static int |
getSelectedIndex(MutableUINode bean)
Gets the index of the selected item. |
static void |
setOrientation(MutableUINode bean,
java.lang.String orientation)
Sets the orientation of the bar. |
void |
setOrientation(java.lang.String orientation)
Sets the orientation of the bar. |
void |
setSelectedIndex(int selectedIndex)
Sets the index of the selected item. |
static void |
setSelectedIndex(MutableUINode bean,
int selectedIndex)
Sets the index of the selected item. |
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 SubTabBarBean()
protected SubTabBarBean(boolean ignored, java.lang.String localName)
Method Detail |
public final int getSelectedIndex()
public final void setSelectedIndex(int selectedIndex)
public final java.lang.String getOrientation()
public final void setOrientation(java.lang.String orientation)
public static int getSelectedIndex(MutableUINode bean)
public static void setSelectedIndex(MutableUINode bean, int selectedIndex)
public static java.lang.String getOrientation(MutableUINode bean)
public static void setOrientation(MutableUINode bean, java.lang.String orientation)
|
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 |