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:
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, org.apache.myfaces.component.AlignProperty, EventAware, org.apache.myfaces.component.StyleAware, org.apache.myfaces.component.UniversalProperties

public abstract class AbstractHtmlSwapImage
extends javax.faces.component.UIGraphic
implements org.apache.myfaces.component.UniversalProperties, org.apache.myfaces.component.AlignProperty, org.apache.myfaces.component.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 String COMPONENT_FAMILY
           
static 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  String getActiveImageUrl()
          activeImage will be rendered if: swapImage is a direct child of commandNavigation and the commandNavigation.isActive
abstract  String getAlt()
          HTML: Specifies alternative text that can be used by a browser that can't show this element.
abstract  String getBorder()
          HTML: Specifies the width of the border of this element, in pixels.
abstract  String getHeight()
          HTML: Overrides the natural height of this image, by specifying height in pixels.
abstract  String getHspace()
          HTML: The amount of white space to be inserted to the left and right of this element, in undefined units.
abstract  String getLongdesc()
          HTML: A link to a long description of the image.
abstract  String getSwapImageUrl()
          the url of the image displayed onmouseover
abstract  String getUsemap()
          HTML: Specifies an image map to use with this image.
abstract  String getVspace()
          HTML: The amount of white space to be inserted above and below this element, in undefined units.
abstract  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, encodeAll, 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
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 String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

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

AbstractHtmlSwapImage

public AbstractHtmlSwapImage()
Method Detail

getBorder

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


getHspace

public abstract 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 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 String getSwapImageUrl()
the url of the image displayed onmouseover


getActiveImageUrl

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


getAlt

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


getHeight

public abstract 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 String getLongdesc()
HTML: A link to a long description of the image.


getUsemap

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


getWidth

public abstract 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 © 2012 The Apache Software Foundation. All Rights Reserved.