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 |
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
MARKER
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 |
getFamily() |
Markup |
getMarkup() |
Integer |
getRenderedIndex()
For internal use.
|
String[] |
getRenderedPartially()
Indicate the partially rendered components in a case of a submit.
|
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 |
setRenderedPartially(String[] renderedPartially) |
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, onComponentPopulated, processDecodes, processUpdates, processValidators, queueEvent, removeActionListener, removeTabChangeListener
encodeBegin
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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 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
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 String[] getRenderedPartially()
Indicate the partially rendered components in a case of a submit.
The search depends on the number of prefixed colons in the relativeId:
If a literal is specified: to use more than one identifier the identifiers must be space delimited.
Using this in a UISheet or UITabGroup component this list indicates components to update when calling internal AJAX requests like sort or paging commands. Don't forget to add the sheet-id or tagGroup-id in that case, if needed.
You can also use
getRenderedPartially
in interface SupportsRenderedPartially
public void setRenderedPartially(String[] renderedPartially)
setRenderedPartially
in interface SupportsRenderedPartially
public Integer getSelectedIndex()
0
getSelectedIndex
in class AbstractUITabGroup
public void setSelectedIndex(Integer selectedIndex)
setSelectedIndex
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 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)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.