public class UITabGroup extends AbstractUITabGroup implements javax.faces.component.ActionSource2, Visual
component.stg
with class
TabGroupTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UITabGroup() |
Modifier and Type | Method and Description |
---|---|
javax.faces.el.MethodBinding |
getAction()
Deprecated.
since 2.0.0
|
javax.el.MethodExpression |
getActionExpression() |
javax.faces.el.MethodBinding |
getActionListener()
Deprecated.
since 2.0.0
|
javax.el.MethodExpression |
getActionListenerExpression() |
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
Markup |
getMarkup() |
Integer |
getRenderedIndex()
For internal use.
|
Integer |
getSelectedIndex()
ValueBindingExpression pointing to a Integer to save the
component's selected Tab.
|
Style |
getStyle()
For internal use.
|
SwitchType |
getSwitchType()
Indicating how tab switching should be done.
|
javax.faces.el.MethodBinding |
getTabChangeListener()
Deprecated.
since 2.0.0
|
javax.el.MethodExpression |
getTabChangeListenerExpression() |
String |
getTip()
Text value to display as tooltip.
|
boolean |
isImmediate()
Flag indicating that, if this component is activated by the user,
notifications should be delivered to interested listeners and actions
immediately (that is, during Apply Request Values phase) rather than
waiting until Invoke Application phase.
|
boolean |
isShowNavigationBar()
Flag indicating that the tab navigation bar is rendered.
|
void |
setAction(javax.faces.el.MethodBinding action)
Deprecated.
since 2.0.0
|
void |
setActionExpression(javax.el.MethodExpression action) |
void |
setActionListener(javax.faces.el.MethodBinding actionListener)
Deprecated.
since 2.0.0
|
void |
setActionListenerExpression(javax.el.MethodExpression actionListener) |
void |
setCustomClass(CustomClass customClass) |
void |
setImmediate(boolean immediate) |
void |
setMarkup(Markup markup) |
void |
setRenderedIndex(Integer renderedIndex) |
void |
setSelectedIndex(Integer selectedIndex) |
void |
setShowNavigationBar(boolean showNavigationBar) |
void |
setStyle(Style style) |
void |
setSwitchType(SwitchType switchType) |
void |
setTabChangeListener(javax.faces.el.MethodBinding tabChangeListener)
Deprecated.
since 2.0.0
|
void |
setTabChangeListenerExpression(javax.el.MethodExpression tabChangeListener) |
void |
setTip(String tip) |
addActionListener, addTabChangeListener, broadcast, encodeChildren, encodeEnd, getActionListeners, getActiveTab, getRendersChildren, getTabChangeListeners, getTabs, processDecodes, processUpdates, processValidators, queueEvent, removeActionListener, removeTabChangeListener
encodeBegin
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addActionListener, getActionListeners, removeActionListener
getRendererType
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public String getDefaultEventName()
getDefaultEventName
in interface javax.faces.component.behavior.ClientBehaviorHolder
getDefaultEventName
in class javax.faces.component.UIComponentBase
public String getFamily()
getFamily
in class javax.faces.component.UIPanel
public Integer getRenderedIndex()
0
getRenderedIndex
in class AbstractUITabGroup
public void setRenderedIndex(Integer renderedIndex)
setRenderedIndex
in class AbstractUITabGroup
@Deprecated public javax.faces.el.MethodBinding getActionListener()
getActionListener
in interface javax.faces.component.ActionSource
@Deprecated public void setActionListener(javax.faces.el.MethodBinding actionListener)
setActionListener
in interface javax.faces.component.ActionSource
public javax.el.MethodExpression getActionListenerExpression()
public void setActionListenerExpression(javax.el.MethodExpression actionListener)
public SwitchType getSwitchType()
Indicating how tab switching should be done.
Possible values are:
client
client,reloadPage,reloadTab
getSwitchType
in class AbstractUITabGroup
public void setSwitchType(SwitchType switchType)
@Deprecated public javax.faces.el.MethodBinding getTabChangeListener()
getTabChangeListener
in interface TabChangeSource
@Deprecated public void setTabChangeListener(javax.faces.el.MethodBinding tabChangeListener)
setTabChangeListener
in interface TabChangeSource
public javax.el.MethodExpression getTabChangeListenerExpression()
getTabChangeListenerExpression
in interface TabChangeSource2
public void setTabChangeListenerExpression(javax.el.MethodExpression tabChangeListener)
setTabChangeListenerExpression
in interface TabChangeSource2
public boolean isImmediate()
false
isImmediate
in interface javax.faces.component.ActionSource
public void setImmediate(boolean immediate)
setImmediate
in interface javax.faces.component.ActionSource
@Deprecated public javax.faces.el.MethodBinding getAction()
getAction
in interface javax.faces.component.ActionSource
@Deprecated public void setAction(javax.faces.el.MethodBinding action)
setAction
in interface javax.faces.component.ActionSource
public javax.el.MethodExpression getActionExpression()
getActionExpression
in interface javax.faces.component.ActionSource2
public void setActionExpression(javax.el.MethodExpression action)
setActionExpression
in interface javax.faces.component.ActionSource2
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
getCustomClass
in interface Visual
public void setCustomClass(CustomClass customClass)
setCustomClass
in interface Visual
public boolean isShowNavigationBar()
true
public void setShowNavigationBar(boolean showNavigationBar)
public Style getStyle()
public String getTip()
getTip
in class AbstractUIPanelBase
public void setTip(String tip)
public Integer getSelectedIndex()
0
getSelectedIndex
in class AbstractUITabGroup
public void setSelectedIndex(Integer selectedIndex)
setSelectedIndex
in class AbstractUITabGroup
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.