|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
com.infragistics.faces.tab.component.TabItem
com.infragistics.faces.tab.component.html.HtmlTabItem
The TabItem component provides the following functionalities:
Customizable Look and Feel
Background, color, border, font attributes and much more can be customized and applied to tabItems.
The table below summarizes which elements can be customized:
| Style applied to | How to customize it ? |
|---|---|
| TabItem - Default Style | Using setStyle(String), setStyleClass(String)
|
| TabItem content - Default Style | Using setContentStyleClass(String).
|
| TabItem - Hover Style | Using setHoverStyleClass(String).
|
| TabItem - Selected Style | Using setSelectedStyleClass(String).
|
| Field Summary | |
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
RENDERER_TYPE
|
| Constructor Summary | |
HtmlTabItem()
|
|
| Method Summary | |
java.lang.String |
getContentStyleClass()
Returns the name of the css class applied to the content area of the tab item |
java.lang.String |
getFamily()
|
java.lang.String |
getHoverStyleClass()
Returns the name of the css class applied to the component when the mouse is over it |
java.lang.String |
getSelectedStyleClass()
Returns the name of the css class applied to the component whenever selected |
java.lang.String |
getStyle()
Returns the default Style applied to the component |
java.lang.String |
getStyleClass()
Returns the name of the css class applied to the component |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setContentStyleClass(java.lang.String contentClass)
Sets the name of the css class applied to the content area of the tab item |
void |
setHoverStyleClass(java.lang.String hoverClass)
Sets the name of the css class applied to the component when the mouse cursor is over it |
void |
setSelectedStyleClass(java.lang.String selectedClass)
Sets the name of the css class applied to the component when selected |
void |
setStyle(java.lang.String style)
Sets the default style applied to the component |
void |
setStyleClass(java.lang.String cssClass)
Sets the name of the css class applied to the component |
| Methods inherited from class com.infragistics.faces.tab.component.TabItem |
getTabView, isDisabled, isSelected, processDecodes, processUpdates, processValidators, setDisabled, setSelected |
| Methods inherited from class javax.faces.component.UIOutput |
getConverter, getLocalValue, getValue, setConverter, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static java.lang.String COMPONENT_FAMILY
public static java.lang.String COMPONENT_TYPE
public static java.lang.String RENDERER_TYPE
| Constructor Detail |
public HtmlTabItem()
| Method Detail |
public java.lang.String getFamily()
getFamily in class TabItempublic java.lang.String getContentStyleClass()
public java.lang.String getHoverStyleClass()
public java.lang.String getSelectedStyleClass()
public java.lang.String getStyle()
public java.lang.String getStyleClass()
public void setContentStyleClass(java.lang.String contentClass)
contentClass - public void setHoverStyleClass(java.lang.String hoverClass)
hoverClass - public void setSelectedStyleClass(java.lang.String selectedClass)
selectedClass - public void setStyle(java.lang.String style)
style - public void setStyleClass(java.lang.String cssClass)
cssClass - : the name of the new css class
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class TabItempublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class TabItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||