|
||||||||||
| 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
public class UIImageItemComponent
A select item (member of a selectable list) that shows an image. Ricer than a selectImageItem.
| 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 |
| Constructor Summary | |
|---|---|
UIImageItemComponent()
|
|
UIImageItemComponent(String componentId)
|
|
| Method Summary | |
|---|---|
String |
getAlternateText()
|
String |
getAlternateText(FacesContext facesContext)
See getAlternateText() 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 |
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 |
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 |
Boolean |
getVisibleState()
Returns if the receiver is
visible, if the receiver is
specified "not visible", and null otherwise. |
Boolean |
getVisibleState(FacesContext facesContext)
|
boolean |
isAlternateTextSetted()
Returns true if the attribute "alternateText" is set. |
boolean |
isDisabledImageURLSetted()
Returns true if the attribute "disabledImageURL" 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 |
isVisible()
|
boolean |
isVisible(FacesContext facesContext)
See isVisible() for more details |
boolean |
isVisibleSetted()
Returns true if the attribute "visible" is set. |
void |
setAlternateText(String alternateText)
|
void |
setDisabledImageURL(String disabledImageURL)
Sets an url string pointing to the image used for the disabled state. |
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 |
setVisible(boolean visible)
Marks the receiver as visible if the argument is , and marks it invisible if
argument is . |
| 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 UIImageItemComponent()
public UIImageItemComponent(String componentId)
| Method Detail |
|---|
public IContentAccessors getImageAccessors(FacesContext facesContext)
getImageAccessors in interface org.rcfaces.core.internal.capability.IImageAccessorsCapabilitypublic Boolean getVisibleState(FacesContext facesContext)
public boolean isVisible()
isVisible in interface IVisibilityCapabilitypublic boolean isVisible(FacesContext facesContext)
isVisible() for more details
public final boolean isVisibleSetted()
true if the attribute "visible" is set.
true if the attribute is set.public void setVisible(boolean visible)
IVisibilityCapabilityTRUE, and marks it invisible if
argument is FALSE.
setVisible in interface IVisibilityCapabilityvisible - the new visibility state.public Boolean getVisibleState()
IVisibilityCapabilityTRUE if the receiver is
visible, FALSE if the receiver is
specified "not visible", and null otherwise.
getVisibleState in interface IVisibilityCapabilitypublic 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 getAlternateText()
getAlternateText in interface IAlternateTextCapabilitypublic String getAlternateText(FacesContext facesContext)
getAlternateText() for more details
public final boolean isAlternateTextSetted()
true if the attribute "alternateText" is set.
true if the attribute is set.public void setAlternateText(String alternateText)
setAlternateText in interface IAlternateTextCapabilityprotected Set getCameliaFields()
getCameliaFields in class SelectItemComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||