org.apache.myfaces.html5.component.animation
Class AnimationShake

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.html5.component.animation.AbstractBaseAnimation
              extended by org.apache.myfaces.html5.component.animation.BaseAnimation
                  extended by org.apache.myfaces.html5.component.animation.AbstractAnimationShake
                      extended by org.apache.myfaces.html5.component.animation.AnimationShake
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, RotationProperty

public class AnimationShake
extends AbstractAnimationShake


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
 
Fields inherited from interface org.apache.myfaces.html5.component.properties.animation.RotationProperty
DEFAULT_ROTATION
 
Constructor Summary
AnimationShake()
           
 
Method Summary
 String getFamily()
           
 double getRotation()
          Value to rotate the ClientBehaviorHolder.
 void setRotation(double rotation)
           
 
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, isRendered, 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, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

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

AnimationShake

public AnimationShake()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class BaseAnimation

getRotation

public double getRotation()
Description copied from interface: RotationProperty
Value to rotate the ClientBehaviorHolder. Defaults to 20. Value must be in degrees.
Values negative or larger than 360 are also valid, and causes the animation to overlap.


setRotation

public void setRotation(double rotation)


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