public class UITab extends AbstractUITab implements javax.faces.component.NamingContainer, SupportsAccessKey, Visual
component.stg
with class
TabTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UITab() |
Modifier and Type | Method and Description |
---|---|
Character |
getAccessKey()
The access key of this control.
|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getImage()
Url to an image to display.
|
String |
getLabel()
A localized user presentable label for this component.
|
Markup |
getMarkup() |
Style |
getStyle()
For internal use.
|
String |
getTip()
Text value to display as tooltip.
|
boolean |
isDisabled()
Flag indicating that this element is disabled.
|
void |
setAccessKey(Character accessKey) |
void |
setCustomClass(CustomClass customClass) |
void |
setDisabled(boolean disabled) |
void |
setImage(String image) |
void |
setLabel(String label) |
void |
setMarkup(Markup markup) |
void |
setStyle(Style style) |
void |
setTip(String tip) |
encodeBegin, encodeChildren, encodeEnd
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, 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
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 String getImage()
public void setImage(String image)
public Character getAccessKey()
getAccessKey
in interface SupportsAccessKey
public void setAccessKey(Character accessKey)
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 Style getStyle()
public String getTip()
getTip
in class AbstractUIPanelBase
public void setTip(String tip)
public boolean isDisabled()
false
public void setDisabled(boolean disabled)
public String getLabel()
getLabel
in interface SupportsAccessKey
getLabel
in class AbstractUITab
public void setLabel(String label)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.