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:
javax.faces.component.StateHolder, AlignProperty, StyleAware, UniversalProperties

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

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 (Wed, 03 Sep 2008) $
Author:
Thomas Spiegl

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
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 getOnclick()
          HTML: Script to be invoked when the element is clicked.
abstract  String getOndblclick()
          HTML: Script to be invoked when the element is double-clicked.
abstract  String getOnkeydown()
          HTML: Script to be invoked when a key is pressed down over this element.
abstract  String getOnkeypress()
          HTML: Script to be invoked when a key is pressed over this element.
abstract  String getOnkeyup()
          HTML: Script to be invoked when a key is released over this element.
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, getValueBinding, restoreState, saveState, 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
 
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
 

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.


getOnclick

public abstract String getOnclick()
HTML: Script to be invoked when the element is clicked.


getOndblclick

public abstract String getOndblclick()
HTML: Script to be invoked when the element is double-clicked.


getOnkeydown

public abstract String getOnkeydown()
HTML: Script to be invoked when a key is pressed down over this element.


getOnkeypress

public abstract String getOnkeypress()
HTML: Script to be invoked when a key is pressed over this element.


getOnkeyup

public abstract String getOnkeyup()
HTML: Script to be invoked when a key is released over this element.


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.