Interface MouseWrapper

All Known Implementing Classes:
AwtMouseWrapper, DummyMouseWrapper, JoglNewtMouseWrapper, SwtMouseWrapper

public interface MouseWrapper
Defines the API for mouse 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<MouseState>
     
  • Method Summary

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

  • Method Details

    • init

      void init()
      Allows the mouse wrapper implementation to initialize itself.
    • getEvents

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