|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the core of the TabSet suite of components. This renders a list of overlapping tab cells with labels and, when clicked, tells the developer which tab was clicked/selected. This is not a container-type component, but can be used within container type components (such as AWXBaseTabSet) to render the tabs themselves.
Bindings | |||
---|---|---|---|
actionMenuId
|
Id for an action menu. If this exists, an Action Menu Button will be displayed. The button uses the optional label actionMenuLabel or "Actions" by default. |
String (get) |
|
actionMenuLabel
|
Optional label for the Action Menu Button. |
String (get) |
|
class
|
Note: it appears the value of this binding is ignored -- only used to determine if using classic look or square tabs? |
String (get) |
|
vertical
|
Render as a vertical stack |
boolean (get) |
|
dropType
|
see AWDropContainer's "type" binding. |
String (get) |
|
dropAction
|
see AWDropContainer's "dropAction" binding. |
AWResponseGenerating (get) |
|
list
*
|
The list of items over which to iterate. Each item in the list represents one tab in the tabset. The items in the list may be of any type. The list itself can be any of the supported classes which has a class extension of type AWOrderedList. By default, this includes all primitive arrays, java.util.List, java.util.Vector, and all implementations of List-like classes which Ariba has implemented. |
ariba.util.fieldvalue.OrderedList (get) |
|
visibles
|
If specified, tabs in this list will be be displayed. Others will be under the "More..." menu tab. |
ariba.util.fieldvalue.OrderedList (get) |
|
submitForm
|
see AWHyperlink's submitForm attribute. |
boolean (get) |
|
item
*
|
For each item in the "list", this is pushed into the referring component's scope. It can then be used for dereferencing things like the label of the tab. |
java.lang.Object (set) |
|
selection
|
During renderResponse, the selection is used to determine which tab to display as selected. When the user clicks an unselected tab, we set the selection in the referring component's context. This is a stateless component, so the referring component (or a parent thereof) must maintain the selection for subsequent requests. |
java.lang.Object (both) |
|
action
|
Fired when tab clicked |
AWResponseGenerating (get) |
|
index
|
The index of the current tab. While rendering the list of tabs, we push the index into the referring parent's context in case its useful in that context. |
int (set) |
|
label
|
The string to display on each label. The string is html-escaped before rendering. |
String (get) |
|
disabled
|
Render as (and behave as) disabled. |
boolean (get) |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.widgets.TabList
public final class TabList
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent |
---|
AWComponent.RenderingFilter, AWComponent.RenderingListener |
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
---|
AWResponseGenerating.ResponseSubstitution |
Constructor Summary | |
---|---|
TabList()
|
Method Summary | |
---|---|
AWResponseGenerating |
closeTabTip()
|
AWEncodedString |
currentLabel()
|
java.lang.String |
currentTabCssClass()
|
java.lang.Object |
currentTabDefinition()
|
java.lang.String |
currentTabMenuItemStyle()
|
boolean |
currentTabSelected()
|
AWEncodedString |
currentTabSemanticKey()
|
AWEncodedString |
currentTip()
|
boolean |
hasHiddenTabs()
|
boolean |
isNotDropTarget()
|
void |
renderResponse(AWRequestContext requestContext,
AWComponent component)
The receiver should render its content to the AWRequestContext.response() |
void |
setCurrentIndex(int index)
|
void |
setCurrentTabDefinition(java.lang.Object currentTabDefinition)
|
static void |
setTabTextStyle(java.lang.String styleString)
|
boolean |
showTip()
|
AWResponseGenerating |
tabClicked()
|
AWEncodedString |
tabTextStyle()
|
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
---|
getFieldValue, isKindOfClass, setFieldValue |
Field Detail |
---|
public java.lang.Object _tabDefinitions
public java.lang.Object _visibleTabDefinitions
public java.lang.String _barExtensionBackground
public AWEncodedString _elementId
public boolean _isSubmitForm
public AWEncodedString _allTabsMenuId
Constructor Detail |
---|
public TabList()
Method Detail |
---|
public static void setTabTextStyle(java.lang.String styleString)
public AWEncodedString tabTextStyle()
public void setCurrentTabDefinition(java.lang.Object currentTabDefinition)
public java.lang.Object currentTabDefinition()
public AWEncodedString currentLabel()
public AWEncodedString currentTip()
public boolean showTip()
public AWResponseGenerating closeTabTip()
public void setCurrentIndex(int index)
public boolean currentTabSelected()
public java.lang.String currentTabCssClass()
public void renderResponse(AWRequestContext requestContext, AWComponent component)
AWCycleable
AWRequestContext.response()
renderResponse
in interface AWCycleable
renderResponse
in class AWComponent
requestContext
- the context for the current request.component
- the current parent componentpublic AWResponseGenerating tabClicked()
public AWEncodedString currentTabSemanticKey()
public boolean isNotDropTarget()
public boolean hasHiddenTabs()
public java.lang.String currentTabMenuItemStyle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |