Groovy Documentation

eu.hansolo.custom
[Java] Enum GlobalTimer

java.lang.Object
  java.lang.Enum
      eu.hansolo.custom.GlobalTimer
All Implemented Interfaces:
ActionListener

public enum GlobalTimer
extends Enum

Authors:
hansolo


Enum Constant Summary
INSTANCE

 
Field Summary
private static ActionEvent FLIP_EVENT

@author hansolo

private static ActionEvent FLIP_SEQUENCE_EVENT

private Set componentSet

private int currentSequence

private Timer flipSequenceTimer

private Timer flipTimer

 
Method Summary
void actionPerformed(ActionEvent event)

void addComponent(FlipChar component)

void removeComponent(FlipChar component)

void startTimer()

void stopTimer()

GlobalTimer valueOf(String name)

Returns the enum constant of this type with the specified name.

GlobalTimer[] values()

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

 
Methods inherited from class Enum
name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

INSTANCE

GlobalTimer INSTANCE


 
Field Detail

FLIP_EVENT

private static final ActionEvent FLIP_EVENT
Authors:
hansolo


FLIP_SEQUENCE_EVENT

private static final ActionEvent FLIP_SEQUENCE_EVENT


componentSet

private Set componentSet


currentSequence

private int currentSequence


flipSequenceTimer

private Timer flipSequenceTimer


flipTimer

private Timer flipTimer


 
Method Detail

actionPerformed

@Override
public void actionPerformed(ActionEvent event)


addComponent

public void addComponent(FlipChar component)


removeComponent

public void removeComponent(FlipChar component)


startTimer

public void startTimer()


stopTimer

public void stopTimer()


valueOf

GlobalTimer valueOf(String name)
Returns the enum constant of this type with the specified name.


values

GlobalTimer[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation