org.apache.myfaces.custom.swapimage
Class AbstractHtmlSwapImage

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIGraphic
              extended by org.apache.myfaces.custom.swapimage.AbstractHtmlSwapImage
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, AlignProperty, EventAware, StyleAware, UniversalProperties
Direct Known Subclasses:
HtmlSwapImage

public abstract class AbstractHtmlSwapImage
extends javax.faces.component.UIGraphic
implements UniversalProperties, AlignProperty, StyleAware, EventAware, javax.faces.component.behavior.ClientBehaviorHolder

Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (miƩ, 03 sep 2008) $
Author:
Thomas Spiegl

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
AbstractHtmlSwapImage()
           
 
Method Summary
abstract  java.lang.String getActiveImageUrl()
          activeImage will be rendered if: swapImage is a direct child of commandNavigation and the commandNavigation.isActive
abstract  java.lang.String getAlt()
          HTML: Specifies alternative text that can be used by a browser that can't show this element.
abstract  java.lang.String getBorder()
          HTML: Specifies the width of the border of this element, in pixels.
abstract  java.lang.String getHeight()
          HTML: Overrides the natural height of this image, by specifying height in pixels.
abstract  java.lang.String getHspace()
          HTML: The amount of white space to be inserted to the left and right of this element, in undefined units.
abstract  java.lang.String getLongdesc()
          HTML: A link to a long description of the image.
abstract  java.lang.String getSwapImageUrl()
          the url of the image displayed onmouseover
abstract  java.lang.String getUsemap()
          HTML: Specifies an image map to use with this image.
abstract  java.lang.String getVspace()
          HTML: The amount of white space to be inserted above and below this element, in undefined units.
abstract  java.lang.String getWidth()
          HTML: Overrides the natural width of this image, by specifying width in pixels.
abstract  boolean isIsmap()
          HTML: Specifies server-side image map handling for this image.
 boolean isRendered()
           
 
Methods inherited from class javax.faces.component.UIGraphic
getFamily, getUrl, getValue, getValueExpression, setUrl, setValue, setValueExpression
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, 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 org.apache.myfaces.component.UniversalProperties
getDir, getLang, getTitle
 
Methods inherited from interface org.apache.myfaces.component.AlignProperty
getAlign
 
Methods inherited from interface org.apache.myfaces.component.StyleAware
getStyle, getStyleClass
 
Methods inherited from interface org.apache.myfaces.component.EventAware
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

AbstractHtmlSwapImage

public AbstractHtmlSwapImage()
Method Detail

getBorder

public abstract java.lang.String getBorder()
HTML: Specifies the width of the border of this element, in pixels. Deprecated in HTML 4.01.


getHspace

public abstract java.lang.String getHspace()
HTML: The amount of white space to be inserted to the left and right of this element, in undefined units. Deprecated in HTML 4.01.


getVspace

public abstract java.lang.String getVspace()
HTML: The amount of white space to be inserted above and below this element, in undefined units. Deprecated in HTML 4.01.


getSwapImageUrl

public abstract java.lang.String getSwapImageUrl()
the url of the image displayed onmouseover


getActiveImageUrl

public abstract java.lang.String getActiveImageUrl()
activeImage will be rendered if: swapImage is a direct child of commandNavigation and the commandNavigation.isActive


getAlt

public abstract java.lang.String getAlt()
HTML: Specifies alternative text that can be used by a browser that can't show this element.


getHeight

public abstract java.lang.String getHeight()
HTML: Overrides the natural height of this image, by specifying height in pixels.


isIsmap

public abstract boolean isIsmap()
HTML: Specifies server-side image map handling for this image.


getLongdesc

public abstract java.lang.String getLongdesc()
HTML: A link to a long description of the image.


getUsemap

public abstract java.lang.String getUsemap()
HTML: Specifies an image map to use with this image.


getWidth

public abstract java.lang.String getWidth()
HTML: Overrides the natural width of this image, by specifying width in pixels.


isRendered

public boolean isRendered()
Overrides:
isRendered in class javax.faces.component.UIComponentBase


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.