com.sun.rave.web.ui.component
Class Tab

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UICommand
              extended bycom.sun.rave.web.ui.component.HyperlinkBase
                  extended bycom.sun.rave.web.ui.component.Hyperlink
                      extended bycom.sun.rave.web.ui.component.TabBase
                          extended bycom.sun.rave.web.ui.component.Tab
All Implemented Interfaces:
javax.faces.component.ActionSource, ComplexComponent, javax.faces.component.NamingContainer, javax.faces.component.StateHolder

public class Tab
extends TabBase
implements javax.faces.component.NamingContainer

Defines a Tab component. Each Tab is intended to be specified as a child of a Tabs component.

Author:
Sean Comerford

Field Summary
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
Tab()
          Default constructor
Tab(java.lang.String label)
          Construct a tab with the given label
 
Method Summary
 java.lang.String getExtraStyles()
          Getter for property extraStyles.
 boolean hasTabChildren()
          This method returns true if this Tab has any Tab children or false if it has no children or no children that are Tab instances.
 void setExtraStyles(java.lang.String extraStyles)
          Setter for property extraStyles.
 
Methods inherited from class com.sun.rave.web.ui.component.TabBase
getFamily, getSelectedChildId, restoreState, saveState, setSelectedChildId
 
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, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tab

public Tab()
Default constructor


Tab

public Tab(java.lang.String label)
Construct a tab with the given label

Method Detail

hasTabChildren

public boolean hasTabChildren()
This method returns true if this Tab has any Tab children or false if it has no children or no children that are Tab instances.

Returns:
Whether or not any of this Tab's children are Tab components.

getExtraStyles

public java.lang.String getExtraStyles()
Getter for property extraStyles. This is a private (but publically exposed method) used internally by the component library Do not modify it's value

Returns:
Value of property extraStyles.

setExtraStyles

public void setExtraStyles(java.lang.String extraStyles)
Setter for property extraStyles. This is a private (but publically exposed method) used internally by the component library Do not modify it's value * @param extraStyles New value of property \ extraStyles.