|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
com.sun.rave.web.ui.component.HyperlinkBase
com.sun.rave.web.ui.component.Hyperlink
com.sun.rave.web.ui.component.TabBase
public abstract class TabBase
The tab tag is used for inserting a Tab component into a TabSet.
The tab tag simply extends ui:hyperlink differing
only in the value rendered by default for the class attriubte
Please see the tabSet tlddoc for an example of defining tabs via a TabSet component binding
Define three tabs as part of a TabSet
<ui:tabSet id="MyTabs" selected="tab1" >
<ui:tab id="tab1"
text="Tab 1" action="#{TabSetBean.tab1Clicked}" />
<ui:tab id="tab2"
text="Tab 2" action="#{TabSetBean.tab2Clicked}" />
<ui:tab id="tab3"
text="Tab 3" action="#{TabSetBean.tab3Clicked}" />
</ui:tabSet >
Auto-generated component class. Do NOT modify; all changes will be lost!
| Field Summary |
|---|
| Fields inherited from class javax.faces.component.UICommand |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
TabBase()
Construct a new TabBase. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFamily()
Return the identifier of the component family to which this component belongs. |
java.lang.String |
getSelectedChildId()
The id of this tab's currently selected Tab child or null if one is not selected. |
void |
restoreState(javax.faces.context.FacesContext _context,
java.lang.Object _state)
Restore the state of this component. |
java.lang.Object |
saveState(javax.faces.context.FacesContext _context)
Save the state of this component. |
void |
setSelectedChildId(java.lang.String selectedChildId)
The id of this tab's currently selected Tab child or null if one is not selected. |
| Methods inherited from class com.sun.rave.web.ui.component.Hyperlink |
|---|
getPrimaryElementID, toString |
| Methods inherited from class com.sun.rave.web.ui.component.HyperlinkBase |
|---|
getAction, getActionListener, getOnBlur, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getShape, getStyle, getStyleClass, getTabIndex, getTarget, getText, getToolTip, getType, getUrl, getUrlLang, getValueBinding, isDisabled, isVisible, setAction, setActionListener, setDisabled, setOnBlur, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setShape, setStyle, setStyleClass, setTabIndex, setTarget, setText, setToolTip, setType, setUrl, setUrlLang, setValueBinding, setVisible |
| Methods inherited from class javax.faces.component.UICommand |
|---|
addActionListener, broadcast, getActionExpression, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setActionExpression, setImmediate, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TabBase()
Construct a new TabBase.
| Method Detail |
|---|
public java.lang.String getFamily()
Return the identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType property, may be used to select
the appropriate Renderer for this component instance.
getFamily in class HyperlinkBasepublic java.lang.String getSelectedChildId()
The id of this tab's currently selected Tab child or null if one is not selected.
public void setSelectedChildId(java.lang.String selectedChildId)
The id of this tab's currently selected Tab child or null if one is not selected.
getSelectedChildId()
public void restoreState(javax.faces.context.FacesContext _context,
java.lang.Object _state)
Restore the state of this component.
restoreState in interface javax.faces.component.StateHolderrestoreState in class HyperlinkBasepublic java.lang.Object saveState(javax.faces.context.FacesContext _context)
Save the state of this component.
saveState in interface javax.faces.component.StateHoldersaveState in class HyperlinkBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||