|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIGraphic
org.apache.myfaces.custom.swapimage.AbstractHtmlSwapImage
org.apache.myfaces.custom.swapimage.HtmlSwapImage
public class HtmlSwapImage
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
| Constructor Summary | |
|---|---|
HtmlSwapImage()
|
|
| Method Summary | |
|---|---|
String |
getActiveImageUrl()
activeImage will be rendered if: swapImage is a direct child of commandNavigation and the commandNavigation.isActive |
String |
getAlign()
HTML: Specifies the horizontal alignment of this element. |
String |
getAlt()
HTML: Specifies alternative text that can be used by a browser that can't show this element. |
String |
getBorder()
HTML: Specifies the width of the border of this element, in pixels. |
String |
getDir()
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left). |
String |
getFamily()
|
String |
getHeight()
HTML: Overrides the natural height of this image, by specifying height in pixels. |
String |
getHspace()
HTML: The amount of white space to be inserted to the left and right of this element, in undefined units. |
String |
getLang()
HTML: The base language of this document. |
String |
getLongdesc()
HTML: A link to a long description of the image. |
String |
getOnclick()
HTML: Script to be invoked when the element is clicked. |
String |
getOndblclick()
HTML: Script to be invoked when the element is double-clicked. |
String |
getOnkeydown()
HTML: Script to be invoked when a key is pressed down over this element. |
String |
getOnkeypress()
HTML: Script to be invoked when a key is pressed over this element. |
String |
getOnkeyup()
HTML: Script to be invoked when a key is released over this element. |
String |
getStyle()
HTML: CSS styling instructions. |
String |
getStyleClass()
The CSS class for this element. |
String |
getSwapImageUrl()
the url of the image displayed onmouseover |
String |
getTitle()
HTML: An advisory title for this element. |
String |
getUsemap()
HTML: Specifies an image map to use with this image. |
String |
getVspace()
HTML: The amount of white space to be inserted above and below this element, in undefined units. |
String |
getWidth()
HTML: Overrides the natural width of this image, by specifying width in pixels. |
boolean |
isIsmap()
HTML: Specifies server-side image map handling for this image. |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setActiveImageUrl(String activeImageUrl)
|
void |
setAlign(String align)
|
void |
setAlt(String alt)
|
void |
setBorder(String border)
|
void |
setDir(String dir)
|
void |
setHeight(String height)
|
void |
setHspace(String hspace)
|
void |
setIsmap(boolean ismap)
|
void |
setLang(String lang)
|
void |
setLongdesc(String longdesc)
|
void |
setOnclick(String onclick)
|
void |
setOndblclick(String ondblclick)
|
void |
setOnkeydown(String onkeydown)
|
void |
setOnkeypress(String onkeypress)
|
void |
setOnkeyup(String onkeyup)
|
void |
setStyle(String style)
|
void |
setStyleClass(String styleClass)
|
void |
setSwapImageUrl(String swapImageUrl)
|
void |
setTitle(String title)
|
void |
setUsemap(String usemap)
|
void |
setVspace(String vspace)
|
void |
setWidth(String width)
|
| Methods inherited from class org.apache.myfaces.custom.swapimage.AbstractHtmlSwapImage |
|---|
isRendered |
| Methods inherited from class javax.faces.component.UIGraphic |
|---|
getUrl, getValue, getValueBinding, setUrl, setValue, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public HtmlSwapImage()
| Method Detail |
|---|
public String getFamily()
getFamily in class javax.faces.component.UIGraphicpublic String getBorder()
AbstractHtmlSwapImage
getBorder in class AbstractHtmlSwapImagepublic void setBorder(String border)
public String getHspace()
AbstractHtmlSwapImage
getHspace in class AbstractHtmlSwapImagepublic void setHspace(String hspace)
public String getVspace()
AbstractHtmlSwapImage
getVspace in class AbstractHtmlSwapImagepublic void setVspace(String vspace)
public String getSwapImageUrl()
AbstractHtmlSwapImage
getSwapImageUrl in class AbstractHtmlSwapImagepublic void setSwapImageUrl(String swapImageUrl)
public String getActiveImageUrl()
AbstractHtmlSwapImage
getActiveImageUrl in class AbstractHtmlSwapImagepublic void setActiveImageUrl(String activeImageUrl)
public String getAlt()
AbstractHtmlSwapImage
getAlt in class AbstractHtmlSwapImagepublic void setAlt(String alt)
public String getHeight()
AbstractHtmlSwapImage
getHeight in class AbstractHtmlSwapImagepublic void setHeight(String height)
public boolean isIsmap()
AbstractHtmlSwapImage
isIsmap in class AbstractHtmlSwapImagepublic void setIsmap(boolean ismap)
public String getLongdesc()
AbstractHtmlSwapImage
getLongdesc in class AbstractHtmlSwapImagepublic void setLongdesc(String longdesc)
public String getOnclick()
AbstractHtmlSwapImage
getOnclick in class AbstractHtmlSwapImagepublic void setOnclick(String onclick)
public String getOndblclick()
AbstractHtmlSwapImage
getOndblclick in class AbstractHtmlSwapImagepublic void setOndblclick(String ondblclick)
public String getOnkeydown()
AbstractHtmlSwapImage
getOnkeydown in class AbstractHtmlSwapImagepublic void setOnkeydown(String onkeydown)
public String getOnkeypress()
AbstractHtmlSwapImage
getOnkeypress in class AbstractHtmlSwapImagepublic void setOnkeypress(String onkeypress)
public String getOnkeyup()
AbstractHtmlSwapImage
getOnkeyup in class AbstractHtmlSwapImagepublic void setOnkeyup(String onkeyup)
public String getUsemap()
AbstractHtmlSwapImage
getUsemap in class AbstractHtmlSwapImagepublic void setUsemap(String usemap)
public String getWidth()
AbstractHtmlSwapImage
getWidth in class AbstractHtmlSwapImagepublic void setWidth(String width)
public String getDir()
UniversalProperties
public void setDir(String dir)
public String getLang()
UniversalProperties
public void setLang(String lang)
public String getTitle()
UniversalProperties
public void setTitle(String title)
public String getStyle()
StyleAware
public void setStyle(String style)
public String getStyleClass()
StyleAware
public void setStyleClass(String styleClass)
public String getAlign()
AlignProperty
public void setAlign(String align)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIGraphic
public void restoreState(javax.faces.context.FacesContext facesContext,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIGraphic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||