Package schule.ngb.zm

Enum Class Options.AppState

java.lang.Object
java.lang.Enum<Options.AppState>
schule.ngb.zm.Options.AppState
All Implemented Interfaces:
Serializable, Comparable<Options.AppState>, java.lang.constant.Constable
Enclosing class:
Options

public static enum Options.AppState extends Enum<Options.AppState>
Zustände in denen sich die Zeichenmaschine befinden kann.
  • Enum Constant Details

    • INITIALIZING

      public static final Options.AppState INITIALIZING
      Die Zeichenmaschine befindet sich in der Initialisierung. Die Laufzeitumgebung wird konfiguriert und alle nötigen Komonenten (Zeichenfenster, Zeichenleinwand, ...) werden erstellt.
    • INITIALIZED

      public static final Options.AppState INITIALIZED
      Die Initialisierung der Zeichenmaschine ist beendet, aber der Zeichenthread wurde noch nicht gestartet.
    • RUNNING

      public static final Options.AppState RUNNING
      Die Zeichenmaschine wurde gestartet und der Zeichenthread arbeitet.
    • PAUSED

      public static final Options.AppState PAUSED
      Der Zeichenthread wurde pausiert.
    • STOPPED

      public static final Options.AppState STOPPED
      Der Zeichenthread wurde gestoppt, die Zeichenmaschine ist aber noch nicht vollständig heruntergefahren und hat noch nicht alle Ressourcen freigegeben.
    • TERMINATED

      public static final Options.AppState TERMINATED
      Der Zeichenthread ist beendet.
    • QUITING

      public static final Options.AppState QUITING
      Die Zeichenmaschine ist dabei, vollständig herunterzufahren und alle Ressourcen freizugeben.
    • IDLE

      public static final Options.AppState IDLE
      Der Zeichenthread wartet gerade auf den nächsten Frame.
    • UPDATING

      public static final Options.AppState UPDATING
      Die Zeichenmaschine führt gerade Zeichenmaschine.update(double) aus.
    • DRAWING

      public static final Options.AppState DRAWING
      Die Zeichenmaschine führt gerade Zeichenmaschine.draw() aus.
    • DELAYED

      public static final Options.AppState DELAYED
      Die Ausführung der Zeichenmaschine wurde mit Zeichenmaschine.delay(int) verzögert und wartet auf Fortsetzung.
    • DISPATCHING

      public static final Options.AppState DISPATCHING
      Die Zeichenmaschine sendet gereade gesammelte Events und führt Tasks aus.
  • Method Details

    • values

      public static Options.AppState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Options.AppState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null