org.apache.myfaces.tobago.internal.component
Class AbstractUITabGroup

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIPanelBase
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUITabGroup
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.StateHolder, OnComponentPopulated, SupportsRenderedPartially, Configurable, TabChangeSource, LayoutBase, LayoutBox, LayoutComponent, LayoutContainer
Direct Known Subclasses:
UITabGroup

public abstract class AbstractUITabGroup
extends AbstractUIPanelBase
implements TabChangeSource, javax.faces.component.ActionSource, LayoutContainer, LayoutComponent, OnComponentPopulated, SupportsRenderedPartially


Field Summary
static String COMPONENT_TYPE
           
static String SWITCH_TYPE_CLIENT
           
static String SWITCH_TYPE_RELOAD_PAGE
           
static String SWITCH_TYPE_RELOAD_TAB
           
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.apache.myfaces.tobago.component.OnComponentPopulated
MARKER
 
Constructor Summary
AbstractUITabGroup()
           
 
Method Summary
 void addActionListener(javax.faces.event.ActionListener listener)
           
 void addTabChangeListener(TabChangeListener listener)
           
 void broadcast(javax.faces.event.FacesEvent facesEvent)
           
 void encodeBegin(javax.faces.context.FacesContext facesContext)
           
 void encodeChildren(javax.faces.context.FacesContext facesContext)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext)
           
 javax.faces.event.ActionListener[] getActionListeners()
           
 AbstractUIPanelBase getActiveTab()
           
 List<LayoutComponent> getComponents()
           
 LayoutManager getLayoutManager()
           
abstract  Integer getRenderedIndex()
           
 boolean getRendersChildren()
           
abstract  Integer getSelectedIndex()
           
abstract  String getSwitchType()
           
 TabChangeListener[] getTabChangeListeners()
           
 AbstractUIPanelBase[] getTabs()
           
 boolean isLayoutChildren()
          Should the children of the this component be laid out from the given layout manager.
 boolean isSwitchTypeClient()
           
 void onComponentPopulated(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent parent)
           
 void processDecodes(javax.faces.context.FacesContext context)
           
 void processUpdates(javax.faces.context.FacesContext context)
           
 void processValidators(javax.faces.context.FacesContext context)
           
 void queueEvent(javax.faces.event.FacesEvent event)
           
 void removeActionListener(javax.faces.event.ActionListener listener)
           
 void removeTabChangeListener(TabChangeListener listener)
           
 void setLayoutManager(LayoutManager layoutManager)
           
abstract  void setRenderedIndex(Integer index)
           
abstract  void setSelectedIndex(Integer index)
           
 
Methods inherited from class javax.faces.component.UIPanel
getFamily
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, 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
 
Methods inherited from interface org.apache.myfaces.tobago.event.TabChangeSource
getTabChangeListener, setTabChangeListener
 
Methods inherited from interface javax.faces.component.ActionSource
getAction, getActionListener, isImmediate, setAction, setActionListener, setImmediate
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutContainer
isOverflowX, isOverflowY, setOverflowX, setOverflowY
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBox
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutComponent
getColumnSpan, getDisplay, getHorizontalIndex, getRowSpan, getVerticalIndex, isRendered, setColumnSpan, setDisplay, setHorizontalIndex, setRowSpan, setVerticalIndex
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBase
getCurrentHeight, getCurrentWidth, getHeight, getLeft, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaximumHeight, getMaximumWidth, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, getTop, getWidth, setCurrentHeight, setCurrentWidth, setHeight, setLeft, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth, setTop, setWidth
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getCurrentMarkup, getRendererType
 
Methods inherited from interface org.apache.myfaces.tobago.component.SupportsRenderedPartially
getRenderedPartially, setRenderedPartially
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

SWITCH_TYPE_CLIENT

public static final String SWITCH_TYPE_CLIENT
See Also:
Constant Field Values

SWITCH_TYPE_RELOAD_PAGE

public static final String SWITCH_TYPE_RELOAD_PAGE
See Also:
Constant Field Values

SWITCH_TYPE_RELOAD_TAB

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

AbstractUITabGroup

public AbstractUITabGroup()
Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext facesContext)
                 throws IOException
Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Throws:
IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext facesContext)
                    throws IOException
Overrides:
encodeChildren in class javax.faces.component.UIComponentBase
Throws:
IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext)
               throws IOException
Overrides:
encodeEnd in class javax.faces.component.UIComponentBase
Throws:
IOException

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.component.UIComponentBase

queueEvent

public void queueEvent(javax.faces.event.FacesEvent event)
Overrides:
queueEvent in class javax.faces.component.UIComponentBase

getTabs

public AbstractUIPanelBase[] getTabs()

getActiveTab

public AbstractUIPanelBase getActiveTab()

processDecodes

public void processDecodes(javax.faces.context.FacesContext context)
Overrides:
processDecodes in class javax.faces.component.UIComponentBase

processValidators

public void processValidators(javax.faces.context.FacesContext context)
Overrides:
processValidators in class javax.faces.component.UIComponentBase

processUpdates

public void processUpdates(javax.faces.context.FacesContext context)
Overrides:
processUpdates in class javax.faces.component.UIComponentBase

broadcast

public void broadcast(javax.faces.event.FacesEvent facesEvent)
               throws javax.faces.event.AbortProcessingException
Overrides:
broadcast in class javax.faces.component.UIComponentBase
Throws:
javax.faces.event.AbortProcessingException

addTabChangeListener

public void addTabChangeListener(TabChangeListener listener)
Specified by:
addTabChangeListener in interface TabChangeSource

isSwitchTypeClient

public boolean isSwitchTypeClient()

removeTabChangeListener

public void removeTabChangeListener(TabChangeListener listener)
Specified by:
removeTabChangeListener in interface TabChangeSource

getTabChangeListeners

public TabChangeListener[] getTabChangeListeners()
Specified by:
getTabChangeListeners in interface TabChangeSource

getRenderedIndex

public abstract Integer getRenderedIndex()

setRenderedIndex

public abstract void setRenderedIndex(Integer index)

getSelectedIndex

public abstract Integer getSelectedIndex()

setSelectedIndex

public abstract void setSelectedIndex(Integer index)

getSwitchType

public abstract String getSwitchType()

addActionListener

public void addActionListener(javax.faces.event.ActionListener listener)
Specified by:
addActionListener in interface javax.faces.component.ActionSource
Since:
1.5.0

getActionListeners

public javax.faces.event.ActionListener[] getActionListeners()
Specified by:
getActionListeners in interface javax.faces.component.ActionSource
Since:
1.5.0

removeActionListener

public void removeActionListener(javax.faces.event.ActionListener listener)
Specified by:
removeActionListener in interface javax.faces.component.ActionSource
Since:
1.5.0

getComponents

public List<LayoutComponent> getComponents()
Specified by:
getComponents in interface LayoutContainer

onComponentPopulated

public void onComponentPopulated(javax.faces.context.FacesContext facesContext,
                                 javax.faces.component.UIComponent parent)
Specified by:
onComponentPopulated in interface OnComponentPopulated

getLayoutManager

public LayoutManager getLayoutManager()
Specified by:
getLayoutManager in interface LayoutContainer

setLayoutManager

public void setLayoutManager(LayoutManager layoutManager)
Specified by:
setLayoutManager in interface LayoutContainer

isLayoutChildren

public boolean isLayoutChildren()
Description copied from interface: LayoutContainer
Should the children of the this component be laid out from the given layout manager.

Specified by:
isLayoutChildren in interface LayoutContainer


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.