com.sun.rave.web.ui.component
Class ImageHyperlink

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by com.sun.rave.web.ui.component.HyperlinkBase
                  extended by com.sun.rave.web.ui.component.Hyperlink
                      extended by com.sun.rave.web.ui.component.ImageHyperlinkBase
                          extended by com.sun.rave.web.ui.component.ImageHyperlink
All Implemented Interfaces:
ComplexComponent, javax.faces.component.ActionSource, javax.faces.component.ActionSource2, javax.faces.component.StateHolder
Direct Known Subclasses:
IconHyperlinkBase

public class ImageHyperlink
extends ImageHyperlinkBase


Field Summary
protected  java.lang.String IMAGE_FACET_SUFFIX
          Used for identifying the facet in the facet map associated with this component This is used as a suffix combined with the id of the component.
 
Fields inherited from class javax.faces.component.UICommand
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
ImageHyperlink()
           
 
Method Summary
 ImageComponent getImageFacet()
          Get Image Facet for this ImageHyperlink.
protected  void setAttributes(java.lang.String facetId, ImageComponent image)
           
 
Methods inherited from class com.sun.rave.web.ui.component.ImageHyperlinkBase
getAlign, getAlt, getBorder, getFamily, getHeight, getHspace, getIcon, getImageURL, getTextPosition, getVspace, getWidth, isVisible, restoreState, saveState, setAlign, setAlt, setBorder, setHeight, setHspace, setIcon, setImageURL, setTextPosition, setVisible, setVspace, setWidth
 
Methods inherited from class com.sun.rave.web.ui.component.Hyperlink
getPrimaryElementID, toString
 
Methods inherited from class com.sun.rave.web.ui.component.HyperlinkBase
getAction, getActionListener, getOnBlur, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getShape, getStyle, getStyleClass, getTabIndex, getTarget, getText, getToolTip, getType, getUrl, getUrlLang, getValueBinding, isDisabled, setAction, setActionListener, setDisabled, setOnBlur, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setShape, setStyle, setStyleClass, setTabIndex, setTarget, setText, setToolTip, setType, setUrl, setUrlLang, setValueBinding
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getActionExpression, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setActionExpression, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IMAGE_FACET_SUFFIX

protected final java.lang.String IMAGE_FACET_SUFFIX
Used for identifying the facet in the facet map associated with this component This is used as a suffix combined with the id of the component.

See Also:
Constant Field Values
Constructor Detail

ImageHyperlink

public ImageHyperlink()
Method Detail

getImageFacet

public ImageComponent getImageFacet()
Get Image Facet for this ImageHyperlink. This facet will always reset the properties on embedded facet. This facet is not meant to be overridden by others, but is only used as a storage bin for keeping the image associated with the hyperlink

Returns:
an ImageComponent to render

setAttributes

protected void setAttributes(java.lang.String facetId,
                             ImageComponent image)