javax.faces.component
Class UIGraphic

java.lang.Object
  extended byjavax.faces.component.UIComponentBase
      extended byjavax.faces.component.UIOutput
          extended byjavax.faces.component.UIGraphic
All Implemented Interfaces:
java.io.Serializable, UIComponent

public class UIGraphic
extends UIOutput

UIGraphic is a UIComponent that displays a graphical image to the user. The user cannot manipulate this component; it is for display purposes only.

By default, the rendererType property is set to "Image". This value can be changed by calling the setRendererType() method.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.faces.component.UIComponent
SEPARATOR_CHAR
 
Constructor Summary
UIGraphic()
          Create a new UIGraphic instance with default property values.
 
Method Summary
 java.lang.String getURL()
          Return the image URL for this UIGraphic.
 void setURL(java.lang.String url)
          Set the image URL for this UIGraphic.
 
Methods inherited from class javax.faces.component.UIOutput
currentValue, getValue, getValueRef, setValue, setValueRef
 
Methods inherited from class javax.faces.component.UIComponentBase
addChild, addChild, addFacet, addValidator, broadcast, clearChildren, clearFacets, clearValidators, containsChild, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttribute, getAttributeNames, getChild, getChildCount, getChildren, getClientId, getComponentId, getConverter, getFacet, getFacetNames, getFacetsAndChildren, getParent, getRendererType, getRendersChildren, getRendersSelf, getValidators, isRendered, isValid, processDecodes, processReconstitutes, processUpdates, processValidators, reconstitute, removeChild, removeChild, removeFacet, removeValidator, setAttribute, setComponentId, setConverter, setParent, setRendered, setRendererType, setValid, updateModel, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIGraphic

public UIGraphic()

Create a new UIGraphic instance with default property values.

Method Detail

getURL

public java.lang.String getURL()

Return the image URL for this UIGraphic.


setURL

public void setURL(java.lang.String url)

Set the image URL for this UIGraphic.

Parameters:
url - The new image URL