|
||||||||||
| 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.UISelectItem
org.rcfaces.core.internal.component.CameliaItemComponent
org.rcfaces.core.component.AbstractItemComponent
org.rcfaces.core.component.SelectItemComponent
org.rcfaces.core.component.UIImageItemComponent
org.rcfaces.core.component.ToolItemComponent
public class ToolItemComponent
EXPERIMENTAL
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaItemComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UISelectItem |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IInputTypeCapability |
|---|
AS_CHECK_BUTTON, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_RESET_BUTTON, AS_SEPARATOR, AS_SUBMIT_BUTTON |
| Fields inherited from interface org.rcfaces.core.component.capability.IBorderTypeCapability |
|---|
NONE_BORDER_TYPE_NAME |
| Fields inherited from interface org.rcfaces.core.component.capability.ITextPositionCapability |
|---|
BOTTOM_POSITION, TOP_POSITION |
| Fields inherited from interface org.rcfaces.core.component.capability.IHorizontalTextPositionCapability |
|---|
CENTER_POSITION, DEFAULT_POSITION, LEFT_POSITION, RIGHT_POSITION, UNKNOWN_POSITION |
| Constructor Summary | |
|---|---|
ToolItemComponent()
|
|
ToolItemComponent(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 |
String |
getBorderType()
Returns a string that indicates the type of border the component should show. |
String |
getBorderType(FacesContext facesContext)
See getBorderType() for more details |
protected Set |
getCameliaFields()
|
String |
getGroupName()
Returns a string specifying the name of the virtual entity that links different components together. |
String |
getGroupName(FacesContext facesContext)
See getGroupName() for more details |
int |
getImageHeight()
Returns an int value specifying the height (in pixels) to use for the image shown. |
int |
getImageHeight(FacesContext facesContext)
See getImageHeight() for more details |
int |
getImageWidth()
Returns an int value specifying the width (in pixels) to use for the image shown. |
int |
getImageWidth(FacesContext facesContext)
See getImageWidth() for more details |
int |
getInputType()
|
int |
getInputType(FacesContext facesContext)
See getInputType() for more details |
String |
getLookId()
Returns a string value specifying the choosen look of the component. |
String |
getLookId(FacesContext facesContext)
See getLookId() for more details |
String |
getStyleClass()
Returns the style class of the component. |
String |
getStyleClass(FacesContext facesContext)
See getStyleClass() for more details |
int |
getTextPosition()
Returns an int value specifying the position of the text in the component. |
int |
getTextPosition(FacesContext facesContext)
See getTextPosition() for more details |
protected Converter |
getTextPositionConverter()
|
ToolFolderComponent |
getToolFolder()
|
String |
getWidth()
Returns a string value (as specified by CSS) for the width of the component. |
String |
getWidth(FacesContext facesContext)
See getWidth() for more details |
boolean |
isAccessKeySetted()
Returns true if the attribute "accessKey" is set. |
boolean |
isBorderTypeSetted()
Returns true if the attribute "borderType" is set. |
boolean |
isGroupNameSetted()
Returns true if the attribute "groupName" is set. |
boolean |
isImageHeightSetted()
Returns true if the attribute "imageHeight" is set. |
boolean |
isImageWidthSetted()
Returns true if the attribute "imageWidth" is set. |
boolean |
isImmediate()
Returns a boolean value indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
boolean |
isImmediate(FacesContext facesContext)
See isImmediate() for more details |
boolean |
isImmediateSetted()
Returns true if the attribute "immediate" is set. |
boolean |
isInputTypeSetted()
Returns true if the attribute "inputType" is set. |
boolean |
isLookIdSetted()
Returns true if the attribute "lookId" is set. |
boolean |
isStyleClassSetted()
Returns true if the attribute "styleClass" is set. |
boolean |
isTextPositionSetted()
Returns true if the attribute "textPosition" is set. |
boolean |
isWidthSetted()
Returns true if the attribute "width" is set. |
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 |
setBorderType(String borderType)
Sets a string that indicates the type of border the component should show. |
void |
setGroupName(String groupName)
Sets a string specifying the name of the virtual entity that links different components together. |
void |
setImageHeight(int imageHeight)
Sets an int value specifying the height (in pixels) to use for the image shown. |
void |
setImageWidth(int imageWidth)
Sets an int value specifying the width (in pixels) to use for the image shown. |
void |
setImmediate(boolean immediate)
Sets a boolean value indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
void |
setInputType(int inputType)
|
void |
setInputType(String inputType)
|
void |
setLookId(String lookId)
Sets a string value specifying the choosen look of the component. |
void |
setStyleClass(String styleClass)
Specify the style class of the component. |
void |
setTextPosition(int textPosition)
Sets an int value specifying the position of the text in the component. |
void |
setTextPosition(String textPosition)
|
void |
setWidth(String width)
Sets a string value (as specified by CSS) for the width of the component. |
| Methods inherited from class org.rcfaces.core.component.SelectItemComponent |
|---|
getToolTip, getToolTipText, getToolTipText, isToolTipTextSetted, setToolTip, setToolTipText, setValueExpression |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaItemComponent |
|---|
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, setDefaultProperties, setRendered, setTransientAttribute, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UISelectItem |
|---|
getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, isItemEscaped, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, 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.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public ToolItemComponent()
public ToolItemComponent(String componentId)
| Method Detail |
|---|
public void setInputType(String inputType)
public ToolFolderComponent getToolFolder()
protected Converter getTextPositionConverter()
public void setTextPosition(String textPosition)
public String getGroupName()
IRadioGroupCapability
getGroupName in interface IRadioGroupCapabilitypublic String getGroupName(FacesContext facesContext)
getGroupName() for more details
public final boolean isGroupNameSetted()
true if the attribute "groupName" is set.
true if the attribute is set.public void setGroupName(String groupName)
IRadioGroupCapability
setGroupName in interface IRadioGroupCapabilitygroupName - group namepublic int getInputType()
getInputType in interface IInputTypeCapabilitypublic int getInputType(FacesContext facesContext)
getInputType() for more details
public final boolean isInputTypeSetted()
true if the attribute "inputType" is set.
true if the attribute is set.public void setInputType(int inputType)
setInputType in interface IInputTypeCapabilitypublic int getImageHeight()
IImageSizeCapability
getImageHeight in interface IImageSizeCapabilitypublic int getImageHeight(FacesContext facesContext)
getImageHeight() for more details
public final boolean isImageHeightSetted()
true if the attribute "imageHeight" is set.
true if the attribute is set.public void setImageHeight(int imageHeight)
IImageSizeCapability
setImageHeight in interface IImageSizeCapabilityimageHeight - image height in pixelspublic int getImageWidth()
IImageSizeCapability
getImageWidth in interface IImageSizeCapabilitypublic int getImageWidth(FacesContext facesContext)
getImageWidth() for more details
public final boolean isImageWidthSetted()
true if the attribute "imageWidth" is set.
true if the attribute is set.public void setImageWidth(int imageWidth)
IImageSizeCapability
setImageWidth in interface IImageSizeCapabilityimageWidth - image width in pixelspublic String getLookId()
ILookAndFeelCapability
getLookId in interface ILookAndFeelCapabilitypublic String getLookId(FacesContext facesContext)
getLookId() for more details
public final boolean isLookIdSetted()
true if the attribute "lookId" is set.
true if the attribute is set.public void setLookId(String lookId)
ILookAndFeelCapability
setLookId in interface ILookAndFeelCapabilitylookId - lookIdpublic String getBorderType()
IBorderTypeCapability
getBorderType in interface IBorderTypeCapabilitypublic String getBorderType(FacesContext facesContext)
getBorderType() for more details
public final boolean isBorderTypeSetted()
true if the attribute "borderType" is set.
true if the attribute is set.public void setBorderType(String borderType)
IBorderTypeCapability
setBorderType in interface IBorderTypeCapabilityborderType - none|solid|relief|flat|roundedpublic int getTextPosition()
IHorizontalTextPositionCapability
getTextPosition in interface IHorizontalTextPositionCapabilitypublic int getTextPosition(FacesContext facesContext)
getTextPosition() for more details
public final boolean isTextPositionSetted()
true if the attribute "textPosition" is set.
true if the attribute is set.public void setTextPosition(int textPosition)
IHorizontalTextPositionCapability
setTextPosition in interface IHorizontalTextPositionCapabilitytextPosition - 0x00:right|0x10:leftpublic 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 String getWidth()
IWidthCapability
getWidth in interface IWidthCapabilitypublic String getWidth(FacesContext facesContext)
getWidth() for more details
public final boolean isWidthSetted()
true if the attribute "width" is set.
true if the attribute is set.public void setWidth(String width)
IWidthCapability
setWidth in interface IWidthCapabilitywidth - widthpublic String getStyleClass()
IStyleClassCapability
getStyleClass in interface IStyleClassCapabilitypublic String getStyleClass(FacesContext facesContext)
getStyleClass() for more details
public final boolean isStyleClassSetted()
true if the attribute "styleClass" is set.
true if the attribute is set.public void setStyleClass(String styleClass)
IStyleClassCapability
setStyleClass in interface IStyleClassCapabilitystyleClass - style classpublic boolean isImmediate()
IImmediateCapability
isImmediate in interface IImmediateCapabilitypublic boolean isImmediate(FacesContext facesContext)
isImmediate() for more details
public final boolean isImmediateSetted()
true if the attribute "immediate" is set.
true if the attribute is set.public void setImmediate(boolean immediate)
IImmediateCapability
setImmediate in interface IImmediateCapabilityimmediate - booleanprotected Set getCameliaFields()
getCameliaFields in class UIImageItemComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||