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

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.AbstractAnimationScale
                      extended by org.apache.myfaces.html5.component.animation.AnimationScale
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, ScaleProperties

public class AnimationScale
extends AbstractAnimationScale


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.ScaleProperties
DEFAULT_MAX_SIZE, DEFAULT_MIN_SIZE
 
Constructor Summary
AnimationScale()
           
 
Method Summary
 String getFamily()
           
 double getMaxSize()
          The maximum extreme point value to scale the ClientBehaviorHolder during the animation.
Defaults to 1 (back to original size).
 double getMinSize()
          The minimum extreme point value to scale the ClientBehaviorHolder during the animation.
Defaults to 0.5.
 void setMaxSize(double maxSize)
           
 void setMinSize(double minSize)
           
 
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

AnimationScale

public AnimationScale()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class BaseAnimation

getMinSize

public double getMinSize()
Description copied from interface: ScaleProperties
The minimum extreme point value to scale the ClientBehaviorHolder during the animation.
Defaults to 0.5.


setMinSize

public void setMinSize(double minSize)

getMaxSize

public double getMaxSize()
Description copied from interface: ScaleProperties
The maximum extreme point value to scale the ClientBehaviorHolder during the animation.
Defaults to 1 (back to original size).


setMaxSize

public void setMaxSize(double maxSize)


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