com.wimm.framework.watches
Enum DigitalWatchView.NumberTransition
java.lang.Object
java.lang.Enum<DigitalWatchView.NumberTransition>
com.wimm.framework.watches.DigitalWatchView.NumberTransition
- All Implemented Interfaces:
- Serializable, Comparable<DigitalWatchView.NumberTransition>
- Enclosing class:
- DigitalWatchView
public static enum DigitalWatchView.NumberTransition
- extends Enum<DigitalWatchView.NumberTransition>
NumberTransition enumerates BLIT, CROSSFADE, and FLIP named type constants for DigitalWatchView.setTransitionType(com.wimm.framework.watches.DigitalWatchView.NumberTransition)
.
- Since:
- WIMM SDK 1.0.0
BLIT
public static final DigitalWatchView.NumberTransition BLIT
CROSSFADE
public static final DigitalWatchView.NumberTransition CROSSFADE
FLIP
public static final DigitalWatchView.NumberTransition FLIP
values
public static DigitalWatchView.NumberTransition[] 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 (DigitalWatchView.NumberTransition c : DigitalWatchView.NumberTransition.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DigitalWatchView.NumberTransition 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