Class KeyboardEvent

java.lang.Object
org.highlife.api.input.event.AbstractEvent
org.highlife.api.input.event.impl.keyboard.KeyboardEvent
All Implemented Interfaces:
Runnable

public class KeyboardEvent extends AbstractEvent
  • Constructor Details

    • KeyboardEvent

      public KeyboardEvent(String message, boolean enter, Condition stop)
    • KeyboardEvent

      public KeyboardEvent(Key key, boolean enter, Condition stop)
  • Method Details

    • completed

      public Condition completed()
      Specified by:
      completed in class AbstractEvent
    • failed

      public Condition failed()
      Specified by:
      failed in class AbstractEvent
    • run

      public void run()
    • getMessage

      public String getMessage()
    • getKey

      public Key getKey()
    • isEnter

      public boolean isEnter()
    • getStop

      public Condition getStop()
    • isOutOfTime

      public boolean isOutOfTime()
    • isCompleted

      public boolean isCompleted()
    • getKEYBOARD_LOCK

      public Object getKEYBOARD_LOCK()
    • setMessage

      public void setMessage(String message)
    • setKey

      public void setKey(Key key)
    • setEnter

      public void setEnter(boolean enter)
    • setStop

      public void setStop(Condition stop)
    • setOutOfTime

      public void setOutOfTime(boolean outOfTime)
    • setCompleted

      public void setCompleted(boolean completed)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object