|
||||||||||
| 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
org.rcfaces.core.internal.component.CameliaOutputComponent
org.rcfaces.core.component.AbstractOutputComponent
org.rcfaces.core.component.CardComponent
org.rcfaces.core.component.TabComponent
public class TabComponent
An element belonging to a tabbedPane Component and holding the components.
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaOutputComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIOutput |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.ITextDirectionCapability |
|---|
DEFAULT_TEXT_DIRECTION, LEFT_TO_RIGHT_TEXT_DIRECTION, RIGHT_LEFT_TEXT_DIRECTION |
| 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 | |
|---|---|
TabComponent()
|
|
TabComponent(String componentId)
|
|
| Method Summary | |
|---|---|
String |
getAccessKey()
Returns a string that indicates the alphanumeric key used to execute an action from the keyboard (in conjunction with a alteration key ex : Alt). |
String |
getAccessKey(FacesContext facesContext)
See getAccessKey() for more details |
protected Set |
getCameliaFields()
|
String |
getDisabledImageURL()
Returns an url string pointing to the image used for the disabled state. |
String |
getDisabledImageURL(FacesContext facesContext)
See getDisabledImageURL() for more details |
Boolean |
getFontBold()
Returns a boolean object (or null) indicating the bold property for the specified font. |
Boolean |
getFontBold(FacesContext facesContext)
See getFontBold() for more details |
Boolean |
getFontItalic()
Returns a boolean object (or null) indicating the italic property for the specified font. |
Boolean |
getFontItalic(FacesContext facesContext)
See getFontItalic() for more details |
String |
getFontName()
Returns a string value indicating the name of the font used for this component. |
String |
getFontName(FacesContext facesContext)
See getFontName() for more details |
String |
getFontSize()
Returns a string indicating the size to use for the selected font. |
String |
getFontSize(FacesContext facesContext)
See getFontSize() for more details |
Boolean |
getFontUnderline()
Returns a boolean object (or null) indicating the underline property for the specified font. |
Boolean |
getFontUnderline(FacesContext facesContext)
See getFontUnderline() for more details |
String |
getHoverImageURL()
Returns an url string pointing to the image used chen the pointer hover the component. |
String |
getHoverImageURL(FacesContext facesContext)
See getHoverImageURL() for more details |
IContentAccessors |
getImageAccessors()
Returns ImageAccessors associated to the url. |
IContentAccessors |
getImageAccessors(FacesContext facesContext)
|
String |
getImageURL()
Returns the URL of the image. |
String |
getImageURL(FacesContext facesContext)
See getImageURL() for more details |
IMenuComponent |
getMenu()
Returns the top-most menu associated to the component. |
IMenuComponent |
getMenu(String menuId)
Returns the menu identified by its id from the menus associated to the component. |
String |
getSelectedImageURL()
Returns an url string pointing to the image used when the component is selected. |
String |
getSelectedImageURL(FacesContext facesContext)
See getSelectedImageURL() for more details |
TabbedPaneComponent |
getTabbedPane()
|
String |
getText()
Returns a string value specifying the text shown. |
String |
getText(FacesContext facesContext)
See getText() for more details |
int |
getTextDirection()
|
int |
getTextDirection(FacesContext facesContext)
See getTextDirection() for more details |
boolean |
isAccessKeySetted()
Returns true if the attribute "accessKey" is set. |
boolean |
isDisabled()
Returns false if the receiver is enabled and all ancestors
up to and including the receiver's nearest ancestor shell are enabled. |
boolean |
isDisabled(FacesContext facesContext)
See isDisabled() for more details |
boolean |
isDisabledImageURLSetted()
Returns true if the attribute "disabledImageURL" is set. |
boolean |
isDisabledSetted()
Returns true if the attribute "disabled" is set. |
boolean |
isFontBoldSetted()
Returns true if the attribute "fontBold" is set. |
boolean |
isFontItalicSetted()
Returns true if the attribute "fontItalic" is set. |
boolean |
isFontNameSetted()
Returns true if the attribute "fontName" is set. |
boolean |
isFontSizeSetted()
Returns true if the attribute "fontSize" is set. |
boolean |
isFontUnderlineSetted()
Returns true if the attribute "fontUnderline" is set. |
boolean |
isHoverImageURLSetted()
Returns true if the attribute "hoverImageURL" is set. |
boolean |
isImageURLSetted()
Returns true if the attribute "imageURL" is set. |
boolean |
isSelectedImageURLSetted()
Returns true if the attribute "selectedImageURL" is set. |
boolean |
isTextDirectionSetted()
Returns true if the attribute "textDirection" is set. |
boolean |
isTextSetted()
Returns true if the attribute "text" is set. |
IMenuIterator |
listMenus()
Returns a list of all the menus associated to the component. |
void |
setAccessKey(String accessKey)
Sets a string that indicates the alphanumeric key used to execute an action from the keyboard (in conjunction with a alteration key ex : Alt). |
void |
setDisabled(boolean disabled)
Disabled the receiver if the argument is true, and enables it otherwise. |
void |
setDisabledImageURL(String disabledImageURL)
Sets an url string pointing to the image used for the disabled state. |
void |
setFontBold(Boolean fontBold)
Sets a boolean object (or null) indicating the bold property for the specified font. |
void |
setFontItalic(Boolean fontItalic)
Sets a boolean object (or null) indicating the italic property for the specified font. |
void |
setFontName(String fontName)
Sets a string value indicating the name of the font used for this component. |
void |
setFontSize(String fontSize)
Sets a string indicating the size to use for the selected font. |
void |
setFontUnderline(Boolean fontUnderline)
Sets a boolean object (or null) indicating the underline property for the specified font. |
void |
setHoverImageURL(String hoverImageURL)
Sets an url string pointing to the image used chen the pointer hover the component. |
void |
setImageURL(String imageURL)
Specify the URL of the image. |
void |
setSelectedImageURL(String selectedImageURL)
Sets an url string pointing to the image used when the component is selected. |
void |
setText(String text)
Sets a string value specifying the text to be shown. |
void |
setTextDirection(int textDirection)
|
| Methods inherited from class org.rcfaces.core.internal.component.CameliaOutputComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIOutput |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, 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.internal.capability.IAsyncRenderComponent |
|---|
getAsyncRenderer |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public TabComponent()
public TabComponent(String componentId)
| Method Detail |
|---|
public IContentAccessors getImageAccessors(FacesContext facesContext)
getImageAccessors in interface org.rcfaces.core.internal.capability.IImageAccessorsCapabilitypublic TabbedPaneComponent getTabbedPane()
public String getText()
ITextCapability
getText in interface ITextCapabilitypublic String getText(FacesContext facesContext)
getText() for more details
public final boolean isTextSetted()
true if the attribute "text" is set.
true if the attribute is set.public void setText(String text)
ITextCapability
setText in interface ITextCapabilitytext - textpublic int getTextDirection()
getTextDirection in interface ITextDirectionCapabilitypublic int getTextDirection(FacesContext facesContext)
getTextDirection() for more details
public final boolean isTextDirectionSetted()
true if the attribute "textDirection" is set.
true if the attribute is set.public void setTextDirection(int textDirection)
setTextDirection in interface ITextDirectionCapabilitypublic Boolean getFontBold()
IFontCapability
getFontBold in interface IFontCapabilitypublic Boolean getFontBold(FacesContext facesContext)
getFontBold() for more details
public final boolean isFontBoldSetted()
true if the attribute "fontBold" is set.
true if the attribute is set.public void setFontBold(Boolean fontBold)
IFontCapability
setFontBold in interface IFontCapabilityfontBold - True|False|nullpublic Boolean getFontItalic()
IFontCapability
getFontItalic in interface IFontCapabilitypublic Boolean getFontItalic(FacesContext facesContext)
getFontItalic() for more details
public final boolean isFontItalicSetted()
true if the attribute "fontItalic" is set.
true if the attribute is set.public void setFontItalic(Boolean fontItalic)
IFontCapability
setFontItalic in interface IFontCapabilityfontItalic - True|False|nullpublic String getFontName()
IFontCapability
getFontName in interface IFontCapabilitypublic String getFontName(FacesContext facesContext)
getFontName() for more details
public final boolean isFontNameSetted()
true if the attribute "fontName" is set.
true if the attribute is set.public void setFontName(String fontName)
IFontCapability
setFontName in interface IFontCapabilityfontName - font namepublic String getFontSize()
IFontCapability
getFontSize in interface IFontCapabilitypublic String getFontSize(FacesContext facesContext)
getFontSize() for more details
public final boolean isFontSizeSetted()
true if the attribute "fontSize" is set.
true if the attribute is set.public void setFontSize(String fontSize)
IFontCapability
setFontSize in interface IFontCapabilityfontSize - xx-small|x-small|small|medium|large|x-large|xx-large|smaller|larger|length
for example 10px|%public Boolean getFontUnderline()
IFontCapability
getFontUnderline in interface IFontCapabilitypublic Boolean getFontUnderline(FacesContext facesContext)
getFontUnderline() for more details
public final boolean isFontUnderlineSetted()
true if the attribute "fontUnderline" is set.
true if the attribute is set.public void setFontUnderline(Boolean fontUnderline)
IFontCapability
setFontUnderline in interface IFontCapabilityfontUnderline - True|False|nullpublic boolean isDisabled()
IDisabledCapabilityfalse if the receiver is enabled and all ancestors
up to and including the receiver's nearest ancestor shell are enabled.
isDisabled in interface IDisabledCapabilitypublic boolean isDisabled(FacesContext facesContext)
isDisabled() for more details
public final boolean isDisabledSetted()
true if the attribute "disabled" is set.
true if the attribute is set.public void setDisabled(boolean disabled)
IDisabledCapability
setDisabled in interface IDisabledCapabilitydisabled - the new enabled statepublic String getDisabledImageURL()
IStatesImageCapability
getDisabledImageURL in interface IStatesImageCapabilitypublic String getDisabledImageURL(FacesContext facesContext)
getDisabledImageURL() for more details
public final boolean isDisabledImageURLSetted()
true if the attribute "disabledImageURL" is set.
true if the attribute is set.public void setDisabledImageURL(String disabledImageURL)
IStatesImageCapability
setDisabledImageURL in interface IStatesImageCapabilitydisabledImageURL - urlpublic String getHoverImageURL()
IStatesImageCapability
getHoverImageURL in interface IStatesImageCapabilitypublic String getHoverImageURL(FacesContext facesContext)
getHoverImageURL() for more details
public final boolean isHoverImageURLSetted()
true if the attribute "hoverImageURL" is set.
true if the attribute is set.public void setHoverImageURL(String hoverImageURL)
IStatesImageCapability
setHoverImageURL in interface IStatesImageCapabilityhoverImageURL - urlpublic String getSelectedImageURL()
IStatesImageCapability
getSelectedImageURL in interface IStatesImageCapabilitypublic String getSelectedImageURL(FacesContext facesContext)
getSelectedImageURL() for more details
public final boolean isSelectedImageURLSetted()
true if the attribute "selectedImageURL" is set.
true if the attribute is set.public void setSelectedImageURL(String selectedImageURL)
IStatesImageCapability
setSelectedImageURL in interface IStatesImageCapabilityselectedImageURL - urlpublic String getImageURL()
IImageCapability
getImageURL in interface IImageCapabilitypublic String getImageURL(FacesContext facesContext)
getImageURL() for more details
public final boolean isImageURLSetted()
true if the attribute "imageURL" is set.
true if the attribute is set.public void setImageURL(String imageURL)
IImageCapability
setImageURL in interface IImageCapabilitypublic IContentAccessors getImageAccessors()
IImageCapability
getImageAccessors in interface IImageCapabilitypublic String getAccessKey()
IAccessKeyCapability
getAccessKey in interface IAccessKeyCapabilitypublic String getAccessKey(FacesContext facesContext)
getAccessKey() for more details
public final boolean isAccessKeySetted()
true if the attribute "accessKey" is set.
true if the attribute is set.public void setAccessKey(String accessKey)
IAccessKeyCapability
setAccessKey in interface IAccessKeyCapabilityaccessKey - <Any alphanumeric key>public IMenuComponent getMenu()
IMenuCapability
getMenu in interface IMenuCapabilitypublic IMenuComponent getMenu(String menuId)
IMenuCapability
getMenu in interface IMenuCapabilitymenuId - Id for a particular menu
public IMenuIterator listMenus()
IMenuCapability
listMenus in interface IMenuCapabilityprotected Set getCameliaFields()
getCameliaFields in class CardComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||