com.smartgwt.client.types
Enum AnimationEffect

java.lang.Object
  extended by java.lang.Enum<AnimationEffect>
      extended by com.smartgwt.client.types.AnimationEffect
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<AnimationEffect>

public enum AnimationEffect
extends Enum<AnimationEffect>
implements ValueEnum

String specifying effect to apply during an animated show or hide.


Enum Constant Summary
FADE
          widget's opacity smoothly fades into or out of view
FLY
          widget moves into position from offscreen
SLIDE
          content slides into or out of view as the widget grows or shrinks
WIPE
          content is revealed or wiped as the widget grows or shrinks
 
Method Summary
 String getValue()
           
static AnimationEffect valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AnimationEffect[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SLIDE

public static final AnimationEffect SLIDE
content slides into or out of view as the widget grows or shrinks


WIPE

public static final AnimationEffect WIPE
content is revealed or wiped as the widget grows or shrinks


FADE

public static final AnimationEffect FADE
widget's opacity smoothly fades into or out of view


FLY

public static final AnimationEffect FLY
widget moves into position from offscreen

Method Detail

values

public static AnimationEffect[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AnimationEffect c : AnimationEffect.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AnimationEffect valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getValue

public String getValue()
Specified by:
getValue in interface ValueEnum