Interface KeyboardWrapper

All Known Implementing Classes:
AwtKeyboardWrapper, DummyKeyboardWrapper, JoglNewtKeyboardWrapper, SwtKeyboardWrapper

public interface KeyboardWrapper
Defines the API for keyboard wrappers.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final LinkedList<KeyEvent>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a peeking iterator that allows the client to loop through all keyboard events that have not yet been handled.
    void
    Allows the keyboard wrapper implementation to initialise itself.
  • Field Details

  • Method Details

    • init

      void init()
      Allows the keyboard wrapper implementation to initialise itself.
    • getEvents

      Returns a peeking iterator that allows the client to loop through all keyboard events that have not yet been handled.
      Returns:
      an iterator that allows the client to check which events have still not been handled