Class UIGraphic

All Implemented Interfaces:
PartialStateHolder, StateHolder, TransientStateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder, EventListener
Direct Known Subclasses:
HtmlGraphicImage

@JSFComponent(defaultRendererType="jakarta.faces.Image") public class UIGraphic extends UIComponentBase
Displays a graphical image.

See the javadoc for this class in the Faces Specification for further details.

  • Field Details

  • Constructor Details

    • UIGraphic

      public UIGraphic()
      Construct an instance of the UIGraphic.
  • Method Details

    • getFamily

      public String getFamily()
      Specified by:
      getFamily in class UIComponent
    • getUrl

      @JSFProperty public String getUrl()
      An alias for the "value" attribute.
    • setUrl

      public void setUrl(String url)
    • getValueExpression

      public jakarta.el.ValueExpression getValueExpression(String name)
      Overrides:
      getValueExpression in class UIComponent
    • setValueExpression

      public void setValueExpression(String name, jakarta.el.ValueExpression binding)
      Overrides:
      setValueExpression in class UIComponent
    • getValue

      @JSFProperty public Object getValue()
      The URL of the image.

      If the URL starts with a '/', it is relative to the context path of the web application.

    • setValue

      public void setValue(Object value)