org.rhq.enterprise.gui.common.tabbar
Class TabComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.rhq.enterprise.gui.common.tabbar.AbstractTabComponent
              extended by org.rhq.enterprise.gui.common.tabbar.TabComponent
All Implemented Interfaces:
javax.faces.component.StateHolder

public class TabComponent
extends AbstractTabComponent

A component that represents a tab on a tab bar.

Author:
Ian Springer

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
TabComponent()
           
 
Method Summary
 SubtabComponent getDefaultSubtab()
           
 String getFamily()
           
 SubtabComponent getSelectedSubtab()
           
 SubtabComponent getSubtabByName(String subtabName)
           
 List<SubtabComponent> getSubtabs()
           
 
Methods inherited from class org.rhq.enterprise.gui.common.tabbar.AbstractTabComponent
getAlt, getDisplayName, getImage, getName, getParameters, getUrl, isSelected, restoreState, saveState, setAlt, setDisplayName, setImage, setName, setParameters, setSelected, setUrl
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
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, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

TabComponent

public TabComponent()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class AbstractTabComponent

getSubtabs

@NotNull
public List<SubtabComponent> getSubtabs()

getSubtabByName

@Nullable
public SubtabComponent getSubtabByName(String subtabName)

getSelectedSubtab

@Nullable
public SubtabComponent getSelectedSubtab()

getDefaultSubtab

@Nullable
public SubtabComponent getDefaultSubtab()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.