|
||||||||||
| 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
| Nested Class Summary | |
|---|---|
protected static class |
HtmlSwapImage.PropertyKeys
|
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
| Constructor Summary | |
|---|---|
HtmlSwapImage()
|
|
| Method Summary | |
|---|---|
void |
addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
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). |
Collection<String> |
getEventNames()
|
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 |
getOnmousedown()
HTML: Script to be invoked when the pointing device is pressed over this element. |
String |
getOnmousemove()
HTML: Script to be invoked when the pointing device is moved while it is in this element. |
String |
getOnmouseout()
HTML: Script to be invoked when the pointing device is moves out of this element. |
String |
getOnmouseover()
HTML: Script to be invoked when the pointing device is moved into this element. |
String |
getOnmouseup()
HTML: Script to be invoked when the pointing device 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 |
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 |
setOnmousedown(String onmousedown)
|
void |
setOnmousemove(String onmousemove)
|
void |
setOnmouseout(String onmouseout)
|
void |
setOnmouseover(String onmouseover)
|
void |
setOnmouseup(String onmouseup)
|
void |
setStyle(String style)
|
void |
setStyleClass(String styleClass)
|
void |
setSwapImageUrl(String swapImageUrl)
|
void |
setTitle(String title)
|
void |
setUsemap(String usemap)
|
void |
setValueBinding(String name,
javax.faces.el.ValueBinding binding)
|
void |
setValueExpression(String name,
javax.el.ValueExpression expression)
|
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, getValueExpression, setUrl, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTree |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
|---|
getClientBehaviors, getDefaultEventName |
| 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 Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBase
public void addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBasepublic 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 getUsemap()
AbstractHtmlSwapImage
getUsemap in class AbstractHtmlSwapImagepublic void setUsemap(String usemap)
public String getWidth()
AbstractHtmlSwapImage
getWidth in class AbstractHtmlSwapImagepublic void setWidth(String width)
public String getOnclick()
EventAware
public void setOnclick(String onclick)
public String getOndblclick()
EventAware
public void setOndblclick(String ondblclick)
public String getOnkeydown()
EventAware
public void setOnkeydown(String onkeydown)
public String getOnkeypress()
EventAware
public void setOnkeypress(String onkeypress)
public String getOnkeyup()
EventAware
public void setOnkeyup(String onkeyup)
public String getOnmousedown()
EventAware
public void setOnmousedown(String onmousedown)
public String getOnmousemove()
EventAware
public void setOnmousemove(String onmousemove)
public String getOnmouseout()
EventAware
public void setOnmouseout(String onmouseout)
public String getOnmouseover()
EventAware
public void setOnmouseover(String onmouseover)
public String getOnmouseup()
EventAware
public void setOnmouseup(String onmouseup)
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 void setValueBinding(String name,
javax.faces.el.ValueBinding binding)
setValueBinding in class javax.faces.component.UIComponentBase
public void setValueExpression(String name,
javax.el.ValueExpression expression)
setValueExpression in class javax.faces.component.UIGraphic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||