org.apache.myfaces.tobago.internal.component
Class AbstractUITabGroup
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
org.apache.myfaces.tobago.internal.component.AbstractUIPanelBase
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
Fields inherited from class javax.faces.component.UIPanel |
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIComponent |
bindings |
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 javax.faces.component.ActionSource |
getAction, getActionListener, isImmediate, setAction, setActionListener, setImmediate |
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 |
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
AbstractUITabGroup
public AbstractUITabGroup()
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-2013 The Apache Software Foundation. All Rights Reserved.