Enum windowEvent.REASON

java.lang.Object
java.lang.Enum<windowEvent.REASON>
name.moore.kevin.ze.game.events.windowEvent.REASON
All Implemented Interfaces:
Serializable, Comparable<windowEvent.REASON>, java.lang.constant.Constable
Enclosing class:
windowEvent

public static enum windowEvent.REASON extends Enum<windowEvent.REASON>
List of REASONs for the event, the source should be able to provide the associated data if required.
  • Enum Constant Details

    • NULL

      public static final windowEvent.REASON NULL
      No reason at all, NOP.
    • TRACE

      public static final windowEvent.REASON TRACE
      Output a trace level diagnostic.
    • GUIBUILT

      public static final windowEvent.REASON GUIBUILT
      GUI is built and ready, triggers an FSM state change.
    • FRAMECLOSED

      public static final windowEvent.REASON FRAMECLOSED
      Swing frame IS closing, now.
    • REQUESTEXIT

      public static final windowEvent.REASON REQUESTEXIT
      Request to exit, with chance to cancel.
    • STRATEGIC

      public static final windowEvent.REASON STRATEGIC
      Swap to the strategic window display and FSM state.
    • TACTICAL

      public static final windowEvent.REASON TACTICAL
      Swap to the tactical window display and FSM state.
    • LOADGAME

      public static final windowEvent.REASON LOADGAME
      Load a specified game.
      • arg = (File) filename to load eg "game01.xml"
    • LOADEDGAME

      public static final windowEvent.REASON LOADEDGAME
      A game has been loaded. Need to reset screens, dates etc.
    • PLAYPAUSE

      public static final windowEvent.REASON PLAYPAUSE
      Game paused by the playbar control.
    • PLAYSTEP

      public static final windowEvent.REASON PLAYSTEP
      fast-Forward the game to the next significant event.
    • PLAY

      public static final windowEvent.REASON PLAY
      Tick the game at the normal rate.
    • DOCKIFY

      public static final windowEvent.REASON DOCKIFY
      Create a docked tile of the specified object.
      • arg = EntityId to display
    • UNDOCKIFY

      public static final windowEvent.REASON UNDOCKIFY
      Revert the docked tile into its expanded window.
    • READY

      public static final windowEvent.REASON READY
  • Constructor Details

    • REASON

      private REASON()
  • Method Details

    • values

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

      public static windowEvent.REASON 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