public class HtmlGraphicImage extends UIGraphic
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
bindings
Constructor and Description |
---|
HtmlGraphicImage()
Construct an instance of the HtmlGraphicImage.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlt()
Gets Specifies alternative text that can be used by a browser that can't show this element.
|
String |
getDir()
Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
String |
getFamily() |
String |
getHeight()
Gets Overrides the natural height of this image, by specifying height in pixels.
|
String |
getLang()
Gets The base language of this document.
|
String |
getLongdesc()
Gets A link to a long description of the image.
|
String |
getOnclick()
Gets Script to be invoked when the element is clicked.
|
String |
getOndblclick()
Gets Script to be invoked when the element is double-clicked.
|
String |
getOnkeydown()
Gets Script to be invoked when a key is pressed down over this element.
|
String |
getOnkeypress()
Gets Script to be invoked when a key is pressed over this element.
|
String |
getOnkeyup()
Gets Script to be invoked when a key is released over this element.
|
String |
getOnmousedown()
Gets Script to be invoked when the pointing device is pressed over this element.
|
String |
getOnmousemove()
Gets Script to be invoked when the pointing device is moved while it is in this element.
|
String |
getOnmouseout()
Gets Script to be invoked when the pointing device is moves out of this element.
|
String |
getOnmouseover()
Gets Script to be invoked when the pointing device is moved into this element.
|
String |
getOnmouseup()
Gets Script to be invoked when the pointing device is released over this element.
|
String |
getStyle()
Gets CSS styling instructions.
|
String |
getStyleClass()
Gets The CSS class for this element.
|
String |
getTitle()
Gets An advisory title for this element.
|
String |
getUsemap()
Gets Specifies an image map to use with this image.
|
String |
getWidth()
Gets Overrides the natural width of this image, by specifying width in pixels.
|
boolean |
isIsmap()
Gets Specifies server-side image map handling for this image.
|
void |
restoreState(FacesContext facesContext,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
|
void |
setAlt(String alt)
Sets Specifies alternative text that can be used by a browser that can't show this element.
|
void |
setDir(String dir)
Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
void |
setHeight(String height)
Sets Overrides the natural height of this image, by specifying height in pixels.
|
void |
setIsmap(boolean ismap)
Sets Specifies server-side image map handling for this image.
|
void |
setLang(String lang)
Sets The base language of this document.
|
void |
setLongdesc(String longdesc)
Sets A link to a long description of the image.
|
void |
setOnclick(String onclick)
Sets Script to be invoked when the element is clicked.
|
void |
setOndblclick(String ondblclick)
Sets Script to be invoked when the element is double-clicked.
|
void |
setOnkeydown(String onkeydown)
Sets Script to be invoked when a key is pressed down over this element.
|
void |
setOnkeypress(String onkeypress)
Sets Script to be invoked when a key is pressed over this element.
|
void |
setOnkeyup(String onkeyup)
Sets Script to be invoked when a key is released over this element.
|
void |
setOnmousedown(String onmousedown)
Sets Script to be invoked when the pointing device is pressed over this element.
|
void |
setOnmousemove(String onmousemove)
Sets Script to be invoked when the pointing device is moved while it is in this element.
|
void |
setOnmouseout(String onmouseout)
Sets Script to be invoked when the pointing device is moves out of this element.
|
void |
setOnmouseover(String onmouseover)
Sets Script to be invoked when the pointing device is moved into this element.
|
void |
setOnmouseup(String onmouseup)
Sets Script to be invoked when the pointing device is released over this element.
|
void |
setStyle(String style)
Sets CSS styling instructions.
|
void |
setStyleClass(String styleClass)
Sets The CSS class for this element.
|
void |
setTitle(String title)
Sets An advisory title for this element.
|
void |
setUsemap(String usemap)
Sets Specifies an image map to use with this image.
|
void |
setWidth(String width)
Sets Overrides the natural width of this image, by specifying width in pixels.
|
getUrl, getValue, getValueExpression, setUrl, setValue, setValueExpression
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public HtmlGraphicImage()
public String getStyle()
public void setStyle(String style)
style
- the new style valuepublic String getStyleClass()
public void setStyleClass(String styleClass)
styleClass
- the new styleClass valuepublic String getDir()
public void setDir(String dir)
dir
- the new dir valuepublic String getLang()
public void setLang(String lang)
lang
- the new lang valuepublic String getTitle()
public void setTitle(String title)
title
- the new title valuepublic String getOnclick()
public void setOnclick(String onclick)
onclick
- the new onclick valuepublic String getOndblclick()
public void setOndblclick(String ondblclick)
ondblclick
- the new ondblclick valuepublic String getOnmousedown()
public void setOnmousedown(String onmousedown)
onmousedown
- the new onmousedown valuepublic String getOnmouseup()
public void setOnmouseup(String onmouseup)
onmouseup
- the new onmouseup valuepublic String getOnmouseover()
public void setOnmouseover(String onmouseover)
onmouseover
- the new onmouseover valuepublic String getOnmousemove()
public void setOnmousemove(String onmousemove)
onmousemove
- the new onmousemove valuepublic String getOnmouseout()
public void setOnmouseout(String onmouseout)
onmouseout
- the new onmouseout valuepublic String getOnkeypress()
public void setOnkeypress(String onkeypress)
onkeypress
- the new onkeypress valuepublic String getOnkeydown()
public void setOnkeydown(String onkeydown)
onkeydown
- the new onkeydown valuepublic String getOnkeyup()
public void setOnkeyup(String onkeyup)
onkeyup
- the new onkeyup valuepublic String getAlt()
public void setAlt(String alt)
alt
- the new alt valuepublic String getHeight()
public void setHeight(String height)
height
- the new height valuepublic String getWidth()
public void setWidth(String width)
width
- the new width valuepublic String getLongdesc()
public void setLongdesc(String longdesc)
longdesc
- the new longdesc valuepublic String getUsemap()
public void setUsemap(String usemap)
usemap
- the new usemap valuepublic boolean isIsmap()
public void setIsmap(boolean ismap)
ismap
- the new ismap valuepublic Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIGraphic
public void restoreState(FacesContext facesContext, Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIGraphic
state
- is an object previously returned by
the saveState method of this class.Copyright © 2013 Apache Software Foundation. All Rights Reserved.