com.wimm.framework.watches
Enum AnalogWatchView.SecondHandMovement
java.lang.Object
java.lang.Enum<AnalogWatchView.SecondHandMovement>
com.wimm.framework.watches.AnalogWatchView.SecondHandMovement
- All Implemented Interfaces:
- Serializable, Comparable<AnalogWatchView.SecondHandMovement>
- Enclosing class:
- AnalogWatchView
public static enum AnalogWatchView.SecondHandMovement
- extends Enum<AnalogWatchView.SecondHandMovement>
The SecondHandMovement
class provides watchface hand movement for AnalogWatchView.setSecondHandMovementType(com.wimm.framework.watches.AnalogWatchView.SecondHandMovement)
.
- Since:
- WIMM SDK 1.0.0
TICK
public static final AnalogWatchView.SecondHandMovement TICK
SWEEP
public static final AnalogWatchView.SecondHandMovement SWEEP
SWEEP_FLUID
public static final AnalogWatchView.SecondHandMovement SWEEP_FLUID
values
public static AnalogWatchView.SecondHandMovement[] 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 (AnalogWatchView.SecondHandMovement c : AnalogWatchView.SecondHandMovement.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AnalogWatchView.SecondHandMovement 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