Represents an HTML img element, used to retrieve
and render a graphical image.
By default, the rendererType property must be set to "javax.faces.Image".
This value can be changed by calling the setRendererType() method.
| Modifier and Type | Class and Description |
|---|---|
| protected static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | COMPONENT_TYPE
Hides javax. The standard component type for this component. |
| private static final Collection | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the property valueContents: Alternate textual description of the element rendered by this component. Return the value of the |
| public String | getDefaultEventName()
Overrides javax. Implements javax. Returns the default event
name for this |
| public String | Returns: the property valueContents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). These attributes are case sensitive when rendering to XHTML, so care must be taken to have the correct case. Return the value of the |
| public Collection | getEventNames()
Overrides javax. Implements javax. Returns a non-null, unmodifiable
|
| public String | Returns: the property valueContents: Override for the height of this image. Return the value of the |
| public String | Returns: the property valueContents: Code describing the language used in the generated markup for this component. Return the value of the |
| public String | Returns: the property valueContents: URI to a long description of the image represented by this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is clicked over this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is double clicked over this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is pressed down over this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is pressed and released over this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a key is released over this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is pressed down over this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved within this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved away from this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is moved onto this element. Return the value of the |
| public String | Returns: the property valueContents: Javascript code executed when a pointer button is released over this element. Return the value of the |
| public String | Returns: the property valueContents: Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role" attribute whose value must be passed through unmodified on the element on which it is declared in the final rendered markup. The attribute, if specified, must have a value that is a string literal that is, or an EL Expression that evaluates to, a set of space-separated tokens representing the various WAI-ARIA roles that the element belongs to. It is the page author's responsibility to ensure that the user agent is capable of correctly interpreting the value of this attribute. Return the value of the |
| public String | Returns: the property valueContents: CSS style(s) to be applied when this component is rendered. Return the value of the |
| public String | Returns: the property valueContents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. Return the value of the |
| public String | Returns: the property valueContents: Advisory title information about markup elements generated for this component. Return the value of the |
| public String | Returns: the property valueContents: The name of a client side image map (an HTML "map" element) for which this element provides the image. Return the value of the |
| public String | Returns: the property valueContents: Override for the width of this image. Return the value of the |
| private void | |
| public boolean | Returns: the property valueContents: Flag indicating that this image is to be used as a server side image map. Such an image must be enclosed within a hyperlink ("a"). A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as ismap="ismap". Return the value of the |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| COMPONENT_TYPE | back to summary |
|---|---|
| public static final String COMPONENT_TYPE Hides javax. The standard component type for this component. | |
| EVENT_NAMES | back to summary |
|---|---|
| private static final Collection<String> EVENT_NAMES | |
| OPTIMIZED_PACKAGE | back to summary |
|---|---|
| private static final String OPTIMIZED_PACKAGE | |
| HtmlGraphicImage | back to summary |
|---|---|
| public HtmlGraphicImage() | |
| getAlt | back to summary |
|---|---|
| public String getAlt() Return the value of the
| |
| getDefaultEventName | back to summary |
|---|---|
| public String getDefaultEventName() Overrides javax. Implements javax. Doc from javax. Returns the default event
name for this
| |
| getDir | back to summary |
|---|---|
| public String getDir() Return the value of the
| |
| getEventNames | back to summary |
|---|---|
| public Collection Overrides javax. Implements javax. Doc from javax. Returns a non-null, unmodifiable
| |
| getHeight | back to summary |
|---|---|
| public String getHeight() Return the value of the
| |
| getLang | back to summary |
|---|---|
| public String getLang() Return the value of the
| |
| getLongdesc | back to summary |
|---|---|
| public String getLongdesc() Return the value of the
| |
| getOnclick | back to summary |
|---|---|
| public String getOnclick() Return the value of the
| |
| getOndblclick | back to summary |
|---|---|
| public String getOndblclick() Return the value of the
| |
| getOnkeydown | back to summary |
|---|---|
| public String getOnkeydown() Return the value of the
| |
| getOnkeypress | back to summary |
|---|---|
| public String getOnkeypress() Return the value of the
| |
| getOnkeyup | back to summary |
|---|---|
| public String getOnkeyup() Return the value of the
| |
| getOnmousedown | back to summary |
|---|---|
| public String getOnmousedown() Return the value of the
| |
| getOnmousemove | back to summary |
|---|---|
| public String getOnmousemove() Return the value of the
| |
| getOnmouseout | back to summary |
|---|---|
| public String getOnmouseout() Return the value of the
| |
| getOnmouseover | back to summary |
|---|---|
| public String getOnmouseover() Return the value of the
| |
| getOnmouseup | back to summary |
|---|---|
| public String getOnmouseup() Return the value of the
| |
| getRole | back to summary |
|---|---|
| public String getRole() Return the value of the
| |
| getStyle | back to summary |
|---|---|
| public String getStyle() Return the value of the
| |
| getStyleClass | back to summary |
|---|---|
| public String getStyleClass() Return the value of the
| |
| getTitle | back to summary |
|---|---|
| public String getTitle() Return the value of the
| |
| getUsemap | back to summary |
|---|---|
| public String getUsemap() Return the value of the
| |
| getWidth | back to summary |
|---|---|
| public String getWidth() Return the value of the
| |
| handleAttribute | back to summary |
|---|---|
| private void handleAttribute(String name, Object value) | |
| isIsmap | back to summary |
|---|---|
| public boolean isIsmap() Return the value of the
| |
| setAlt | back to summary |
|---|---|
| public void setAlt(String alt) Set the value of the
| |
| setDir | back to summary |
|---|---|
| public void setDir(String dir) Set the value of the
| |
| setHeight | back to summary |
|---|---|
| public void setHeight(String height) Set the value of the
| |
| setIsmap | back to summary |
|---|---|
| public void setIsmap(boolean ismap) Set the value of the
| |
| setLang | back to summary |
|---|---|
| public void setLang(String lang) Set the value of the
| |
| setLongdesc | back to summary |
|---|---|
| public void setLongdesc(String longdesc) Set the value of the
| |
| setOnclick | back to summary |
|---|---|
| public void setOnclick(String onclick) Set the value of the
| |
| setOndblclick | back to summary |
|---|---|
| public void setOndblclick(String ondblclick) Set the value of the
| |
| setOnkeydown | back to summary |
|---|---|
| public void setOnkeydown(String onkeydown) Set the value of the
| |
| setOnkeypress | back to summary |
|---|---|
| public void setOnkeypress(String onkeypress) Set the value of the
| |
| setOnkeyup | back to summary |
|---|---|
| public void setOnkeyup(String onkeyup) Set the value of the
| |
| setOnmousedown | back to summary |
|---|---|
| public void setOnmousedown(String onmousedown) Set the value of the
| |
| setOnmousemove | back to summary |
|---|---|
| public void setOnmousemove(String onmousemove) Set the value of the
| |
| setOnmouseout | back to summary |
|---|---|
| public void setOnmouseout(String onmouseout) Set the value of the
| |
| setOnmouseover | back to summary |
|---|---|
| public void setOnmouseover(String onmouseover) Set the value of the
| |
| setOnmouseup | back to summary |
|---|---|
| public void setOnmouseup(String onmouseup) Set the value of the
| |
| setRole | back to summary |
|---|---|
| public void setRole(String role) Set the value of the
| |
| setStyle | back to summary |
|---|---|
| public void setStyle(String style) Set the value of the
| |
| setStyleClass | back to summary |
|---|---|
| public void setStyleClass(String styleClass) Set the value of the
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Set the value of the
| |
| setUsemap | back to summary |
|---|---|
| public void setUsemap(String usemap) Set the value of the
| |
| setWidth | back to summary |
|---|---|
| public void setWidth(String width) Set the value of the
| |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. |
| public static HtmlGraphicImage. | |
| public static HtmlGraphicImage. |
| alt | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| dir | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| height | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| ismap | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| lang | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| longdesc | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onclick | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| ondblclick | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onkeydown | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onkeypress | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onkeyup | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onmousedown | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onmousemove | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onmouseout | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onmouseover | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| onmouseup | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| role | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| style | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| styleClass | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| title | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| toString | back to summary |
|---|---|
| pack-priv String toString | |
| usemap | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| width | back to summary |
|---|---|
| public static final HtmlGraphicImage. | |
| PropertyKeys | back to summary |
|---|---|
| private PropertyKeys(String toString) | |
| PropertyKeys | back to summary |
|---|---|
| private PropertyKeys() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.
| |
| valueOf | back to summary |
|---|---|
| public static HtmlGraphicImage. | |
| values | back to summary |
|---|---|
| public static HtmlGraphicImage. | |