org.apache.myfaces.custom.effect
Class AbstractEffectMoveClientBehavior

java.lang.Object
  extended by javax.faces.component.behavior.BehaviorBase
      extended by javax.faces.component.behavior.ClientBehaviorBase
          extended by org.apache.myfaces.custom.behavior.ClientBehaviorBase
              extended by org.apache.myfaces.custom.effect.EffectClientBehaviorBase
                  extended by org.apache.myfaces.custom.effect.AbstractEffectMoveClientBehavior
All Implemented Interfaces:
javax.faces.component.behavior.Behavior, javax.faces.component.behavior.ClientBehavior, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder

public abstract class AbstractEffectMoveClientBehavior
extends EffectClientBehaviorBase

Convenient wrapper for scriptaculous Effect.Appear

Author:
Leonardo Uribe

Field Summary
static java.lang.String BEHAVIOR_ID
           
static java.lang.String RENDERER_TYPE
           
 
Constructor Summary
AbstractEffectMoveClientBehavior()
           
 
Method Summary
abstract  java.lang.String getMode()
          string, defaults to 'relative', can also be 'absolute', specifies if the element is moved absolutely or relative to its own position.
abstract  java.lang.Integer getX()
          integer value, either the new absolute target of the effect elements left value or the modifier of its current left value, depending on the mode option
abstract  java.lang.Integer getY()
          integer value, either the new absolute target of the effect elements top value or the modifier of its current top value, depending on the mode option
 
Methods inherited from class org.apache.myfaces.custom.effect.EffectClientBehaviorBase
getAppendJs, getForId, setAppendJs, setForId
 
Methods inherited from class org.apache.myfaces.custom.behavior.ClientBehaviorBase
getFacesContext, getStateHelper, getStateHelper, getValueExpression, restoreAttachedState, restoreState, saveAttachedState, saveState, setValueExpression
 
Methods inherited from class javax.faces.component.behavior.ClientBehaviorBase
decode, getHints, getRenderer, getRendererType, getScript
 
Methods inherited from class javax.faces.component.behavior.BehaviorBase
addBehaviorListener, broadcast, clearInitialState, initialStateMarked, isTransient, markInitialState, removeBehaviorListener, setTransient
 
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.Behavior
broadcast
 

Field Detail

BEHAVIOR_ID

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

RENDERER_TYPE

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

AbstractEffectMoveClientBehavior

public AbstractEffectMoveClientBehavior()
Method Detail

getX

@JSFProperty
public abstract java.lang.Integer getX()
integer value, either the new absolute target of the effect elements left value or the modifier of its current left value, depending on the mode option

Returns:

getY

@JSFProperty
public abstract java.lang.Integer getY()
integer value, either the new absolute target of the effect elements top value or the modifier of its current top value, depending on the mode option

Returns:

getMode

@JSFProperty
public abstract java.lang.String getMode()
string, defaults to 'relative', can also be 'absolute', specifies if the element is moved absolutely or relative to its own position.

Returns:


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