WIMM Labs


com.wimm.framework.watches
Enum AnalogWatchView.SecondHandMovement

java.lang.Object
  extended by java.lang.Enum<AnalogWatchView.SecondHandMovement>
      extended by 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

Enum Constant Summary
SWEEP
           
SWEEP_FLUID
           
TICK
           
 
Method Summary
static AnalogWatchView.SecondHandMovement valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AnalogWatchView.SecondHandMovement[] 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

TICK

public static final AnalogWatchView.SecondHandMovement TICK

SWEEP

public static final AnalogWatchView.SecondHandMovement SWEEP

SWEEP_FLUID

public static final AnalogWatchView.SecondHandMovement SWEEP_FLUID
Method Detail

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

WIMM Labs