|
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.layout.StyledListBean
This bean is not supported on the following agent types: pda.
The styledList element is used to create lists with a bullet, circle, square, lower case letter, upper case letter, or number next to each item. The styledList can be used to create hierarchical lists as well.
The SEPARATOR child is rendered between indexed children. The first styledList in a sideBar or sideNav has a default separator that puts vertical space between the indexed children of the list.
The LABEL child is used for hierarchical lists. The LABEL child child may be thought of as logically belonging to an outer list as compared to the indexed children. If there is a label child the indexed children of the list are indented. In the following example items 2, 2-1, and 2-2 would all be part of the same list, and item 2 would be the label.
The SELECTED_INDEX attribute indicates which indexed child is selected. If the selected child is another styledList, the label child of that styledList will be rendered as selected.
The LIST_STYLE attribute indicates which style of list to render. Defaults to disc. Options are:
<styledList > <separator> <spacer height="10"/> </separator> <contents> <styledItem > <contents> <link text="Link 1 Text" destination="http://www.oracle.com" /> </contents> </styledItem> <styledItem> <contents> <link text="Link 2 Text" destination="http://www.oracle.com" /> </contents> </styledItem> <styledList listStyle="decimal"> <label> <styledItem > <contents> <link text="Link 3 Text" destination="http://www.oracle.com"/> </contents> </styledItem> </label> <contents> <styledItem> <contents> <link text="Link 3-1 Text" destination="http://www.oracle.com"/> </contents> </styledItem> <styledItem> <contents> <link text="Link 3-2 Text" destination="http://www.oracle.com"/> </contents> </styledItem> </contents> </styledList> <styledItem> <contents> <link text="Link 4 Text" destination="http://www.oracle.com"/> </contents> </styledItem> </contents> </styledList>
UIConstants
Constructor Summary | |
|
StyledListBean()
Construct an instance of the StyledListBean. |
protected |
StyledListBean(boolean ignored,
java.lang.String localName)
Construct an instance of the StyledListBean. |
Method Summary | |
UINode |
getLabel()
The LABEL child child may be thought of as logically belonging to an outer list. |
static UINode |
getLabel(MutableUINode bean)
The LABEL child child may be thought of as logically belonging to an outer list. |
java.lang.String |
getListStyle()
Gets The style of the list. |
static java.lang.String |
getListStyle(MutableUINode bean)
Gets The style of the list. |
int |
getSelectedIndex()
Gets the index of the selected item. |
static int |
getSelectedIndex(MutableUINode bean)
Gets the index of the selected item. |
UINode |
getSeparator()
Content to be rendered once between each of the indexed children. |
static UINode |
getSeparator(MutableUINode bean)
Content to be rendered once between each of the indexed children. |
static void |
setLabel(MutableUINode bean,
UINode labelNode)
The LABEL child child may be thought of as logically belonging to an outer list. |
void |
setLabel(UINode labelNode)
The LABEL child child may be thought of as logically belonging to an outer list. |
static void |
setListStyle(MutableUINode bean,
java.lang.String listStyle)
Sets The style of the list. |
void |
setListStyle(java.lang.String listStyle)
Sets The style of the list. |
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. |
static void |
setSeparator(MutableUINode bean,
UINode separatorNode)
Content to be rendered once between each of the indexed children. |
void |
setSeparator(UINode separatorNode)
Content to be rendered once between each of the indexed children. |
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 StyledListBean()
protected StyledListBean(boolean ignored, java.lang.String localName)
Method Detail |
public final UINode getSeparator()
public final void setSeparator(UINode separatorNode)
public final UINode getLabel()
public final void setLabel(UINode labelNode)
public final int getSelectedIndex()
public final void setSelectedIndex(int selectedIndex)
public final java.lang.String getListStyle()
public final void setListStyle(java.lang.String listStyle)
public static UINode getSeparator(MutableUINode bean)
public static void setSeparator(MutableUINode bean, UINode separatorNode)
public static UINode getLabel(MutableUINode bean)
public static void setLabel(MutableUINode bean, UINode labelNode)
public static int getSelectedIndex(MutableUINode bean)
public static void setSelectedIndex(MutableUINode bean, int selectedIndex)
public static java.lang.String getListStyle(MutableUINode bean)
public static void setListStyle(MutableUINode bean, java.lang.String listStyle)
|
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 |