|
||||||||||
| 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
javax.faces.component.UIInput
org.rcfaces.core.internal.component.CameliaInputComponent
org.rcfaces.core.component.AbstractInputComponent
org.rcfaces.core.component.CardBoxComponent
org.rcfaces.core.component.TabbedPaneComponent
public class TabbedPaneComponent
The tabbedPane Component provides a way to show more information on a single page. It can download the data asynchronously via AJAX.
The tabbedPane Component has the following capabilities :
The default tabbedPane renderer is linked to the f_tabbedPane javascript class. f_tabbedPane extends f_cardBox
Table of component style classes:
| Style Name | Description |
|---|---|
| f_tabbedPane | Defines styles for the wrapper element |
| f_tabbedPane_title | Defines styles for the TABLE element |
| f_tabbedPane_content | Defines styles for the DIV element |
| f_tabbedPane_tab | Defines styles for the DIV element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.component.CardBoxComponent |
|---|
CAMELIA_VALUE_ALIAS |
| Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIInput |
|---|
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IAsyncRenderModeCapability |
|---|
BUFFER_ASYNC_RENDER_MODE, DEFAULT_ASYNC_RENDER_MODE, NONE_ASYNC_RENDER_MODE, TREE_ASYNC_RENDER_MODE |
| Fields inherited from interface org.rcfaces.core.component.capability.IAsyncDecodeModeCapability |
|---|
COMPLETE_ASYNC_DECODE_MODE, DEFAULT_ASYNC_DECODE_MODE, PARTIAL_ASYNC_DECODE_MODE |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
TabbedPaneComponent()
|
|
TabbedPaneComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addCloseListener(ICloseListener listener)
Adds a listener to the component for the close event |
void |
addPreSelectionListener(IPreSelectionListener listener)
Adds a listener to the component for the preSelection event |
protected Set |
getCameliaFields()
|
TabComponent |
getSelectedTab()
|
TabComponent |
getSelectedTab(FacesContext facesContext)
|
Object |
getShowValue()
|
Object |
getShowValue(FacesContext facesContext)
See getShowValue() for more details |
boolean |
isClosable()
Experimental : Do not use ! |
boolean |
isClosable(FacesContext facesContext)
See isClosable() for more details |
boolean |
isClosableSetted()
Returns true if the attribute "closable" is set. |
boolean |
isShowValueSetted()
Returns true if the attribute "showValue" is set. |
FacesListener[] |
listCloseListeners()
Returns a list of close listener for the component |
FacesListener[] |
listPreSelectionListeners()
Returns a list of PreSelection listener for the component |
ITabIterator |
listTabs()
|
void |
removeCloseListener(ICloseListener listener)
Removes a listener from the component for the close event |
void |
removePreSelectionListener(IPreSelectionListener listener)
Removes a listener from the component for the preSelection event |
void |
select(TabComponent tab)
|
void |
setClosable(boolean closable)
Experimental : Do not use ! |
void |
setShowValue(Object showValue)
Set the value of the item will be shown. |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent |
|---|
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getChildren, getChildrenListState, getConvertedValue, getFamily, getLocalValue, getRendererType, getSubmittedExternalValue, getTransientAttribute, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isSubmittedValueSetted, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setSubmittedExternalValue, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, setConverter |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability |
|---|
isImmediate, setImmediate |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, setConverter, setValue |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public TabbedPaneComponent()
public TabbedPaneComponent(String componentId)
| Method Detail |
|---|
public ITabIterator listTabs()
public TabComponent getSelectedTab()
public TabComponent getSelectedTab(FacesContext facesContext)
public void select(TabComponent tab)
public final void addCloseListener(ICloseListener listener)
ICloseEventCapability
addCloseListener in interface ICloseEventCapabilitylistener - the close listener to addpublic final void removeCloseListener(ICloseListener listener)
ICloseEventCapability
removeCloseListener in interface ICloseEventCapabilitylistener - the close listener to removepublic final FacesListener[] listCloseListeners()
ICloseEventCapability
listCloseListeners in interface ICloseEventCapabilitypublic boolean isClosable()
IClosableCapability
isClosable in interface IClosableCapabilitytrue is the component can be closed.public boolean isClosable(FacesContext facesContext)
isClosable() for more details
public final boolean isClosableSetted()
true if the attribute "closable" is set.
true if the attribute is set.public void setClosable(boolean closable)
IClosableCapability
setClosable in interface IClosableCapabilitypublic final void addPreSelectionListener(IPreSelectionListener listener)
IPreSelectionEventCapability
addPreSelectionListener in interface IPreSelectionEventCapabilitylistener - the preSelection listener to addpublic final void removePreSelectionListener(IPreSelectionListener listener)
IPreSelectionEventCapability
removePreSelectionListener in interface IPreSelectionEventCapabilitylistener - the PreSelection listener to removepublic final FacesListener[] listPreSelectionListeners()
IPreSelectionEventCapability
listPreSelectionListeners in interface IPreSelectionEventCapabilitypublic Object getShowValue()
getShowValue in interface IShowValueCapabilitypublic Object getShowValue(FacesContext facesContext)
getShowValue() for more details
public final boolean isShowValueSetted()
true if the attribute "showValue" is set.
true if the attribute is set.public void setShowValue(Object showValue)
IShowValueCapability
setShowValue in interface IShowValueCapabilityshowValue - The value of the itemprotected Set getCameliaFields()
getCameliaFields in class CardBoxComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||