Klasse UITabGroup
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
org.apache.myfaces.tobago.component.UITabGroup
- Alle implementierten Schnittstellen:
EventListener
,javax.faces.component.ActionSource
,javax.faces.component.ActionSource2
,javax.faces.component.behavior.ClientBehaviorHolder
,javax.faces.component.PartialStateHolder
,javax.faces.component.StateHolder
,javax.faces.component.TransientStateHolder
,javax.faces.event.ComponentSystemEventListener
,javax.faces.event.FacesListener
,javax.faces.event.SystemEventListenerHolder
,SupportsAutoSpacing
,Visual
,TabChangeSource
,TobagoActionSource
Renders a tab group which contains tab panels.
UIComponent class, generated from template
component.stg
with class
TabGroupTagDeclaration
.-
Feldübersicht
FelderVon Klasse geerbte Felder javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungjavax.el.MethodExpression
javax.el.MethodExpression
Automatically add spacing (margins/paddings) to the component for better positioning.Sets a CSS class in its parent, if the parent supports it.For internal use.ValueBindingExpression pointing to a Integer to save the component's selected Tab.Indicating how tab switching should be done.javax.el.MethodExpression
getTip()
Text value to display as tooltip.boolean
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
Flag indicating that the tab navigation bar is rendered.void
restoreState
(javax.faces.context.FacesContext context, Object state) void
setActionExpression
(javax.el.MethodExpression action) void
setActionListenerExpression
(javax.el.MethodExpression actionListener) void
setAutoSpacing
(Boolean autoSpacing) void
setCustomClass
(CustomClass customClass) void
setImmediate
(boolean immediate) void
void
setRenderedIndex
(Integer renderedIndex) void
setSelectedIndex
(Integer selectedIndex) void
setShowNavigationBar
(boolean showNavigationBar) void
setSwitchType
(SwitchType switchType) void
setTabChangeListenerExpression
(javax.el.MethodExpression tabChangeListener) void
Von Klasse geerbte Methoden org.apache.myfaces.tobago.internal.component.AbstractUITabGroup
addActionListener, addTabChangeListener, broadcast, encodeChildren, encodeEnd, getActionListeners, getActiveTab, getRendersChildren, getTabChangeListeners, getTabs, processDecodes, processUpdates, processValidators, queueEvent, removeActionListener, removeTabChangeListener
Von Klasse geerbte Methoden javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
Von Klasse geerbte Methoden javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.component.SupportsAutoSpacing
getAutoSpacing
Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.event.TobagoActionSource
getAction, getActionListener, setAction, setActionListener
Von Schnittstelle geerbte Methoden org.apache.myfaces.tobago.component.Visual
getRendererType, isPlain
-
Felddetails
-
COMPONENT_TYPE
-
COMPONENT_FAMILY
- Siehe auch:
-
-
Konstruktordetails
-
UITabGroup
public UITabGroup()
-
-
Methodendetails
-
getEventNames
- Angegeben von:
getEventNames
in Schnittstellejavax.faces.component.behavior.ClientBehaviorHolder
- Setzt außer Kraft:
getEventNames
in Klassejavax.faces.component.UIComponentBase
-
getDefaultEventName
- Angegeben von:
getDefaultEventName
in Schnittstellejavax.faces.component.behavior.ClientBehaviorHolder
- Setzt außer Kraft:
getDefaultEventName
in Klassejavax.faces.component.UIComponentBase
-
getFamily
- Setzt außer Kraft:
getFamily
in Klassejavax.faces.component.UIPanel
-
getRenderedIndex
For internal use. TBD: Check if this is needed any longer.
Default:0
- Angegeben von:
getRenderedIndex
in KlasseAbstractUITabGroup
-
setRenderedIndex
- Angegeben von:
setRenderedIndex
in KlasseAbstractUITabGroup
-
getActionListenerExpression
public javax.el.MethodExpression getActionListenerExpression() -
setActionListenerExpression
public void setActionListenerExpression(javax.el.MethodExpression actionListener) -
getAutoSpacing
Automatically add spacing (margins/paddings) to the component for better positioning. Default is 'true' except the component is inside a: - header - footer - bar - sheet - tree - link group - button group - before facet - after facet - label facet - bar facet -
setAutoSpacing
-
getSwitchType
Indicating how tab switching should be done.
Possible values are:
- client
- Tab switching is done on client, no server Request.
- reloadPage
- Tab switching is done by server request. Full page is reloaded.
- reloadTab
- Tab switching is done by server request. Only the Tab is reloaded.
Default:client
Allowed Values:client,reloadPage,reloadTab
- Angegeben von:
getSwitchType
in KlasseAbstractUITabGroup
-
setSwitchType
-
getTabChangeListenerExpression
public javax.el.MethodExpression getTabChangeListenerExpression() -
setTabChangeListenerExpression
public void setTabChangeListenerExpression(javax.el.MethodExpression tabChangeListener) -
getMarkup
-
setMarkup
-
isImmediate
public 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.
Default:false
-
setImmediate
public void setImmediate(boolean immediate) -
getActionExpression
public javax.el.MethodExpression getActionExpression() -
setActionExpression
public void setActionExpression(javax.el.MethodExpression action) -
getCustomClass
Sets a CSS class in its parent, if the parent supports it. Which this feature it is possible to put a CSS class name into a component with the <tc:style> tag. Example:<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>
One capability is, to used external CSS libs.
This feature should not be used imprudent. Because it might be unstable against changes in the renderered HTML code. -
setCustomClass
-
getTip
Text value to display as tooltip.- Angegeben von:
getTip
in KlasseAbstractUIPanelBase
-
setTip
-
getSelectedIndex
ValueBindingExpression pointing to a Integer to save the component's selected Tab.
Default:0
- Angegeben von:
getSelectedIndex
in KlasseAbstractUITabGroup
-
setSelectedIndex
- Angegeben von:
setSelectedIndex
in KlasseAbstractUITabGroup
-
restoreState
- Angegeben von:
restoreState
in Schnittstellejavax.faces.component.StateHolder
- Setzt außer Kraft:
restoreState
in Klassejavax.faces.component.UIComponentBase
-