Package com.ardor3d.input
Interface MouseWrapper
- All Known Implementing Classes:
AwtMouseWrapper
,DummyMouseWrapper
,JoglNewtMouseWrapper
,SwtMouseWrapper
public interface MouseWrapper
Defines the API for mouse wrappers.
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a peeking iterator that allows the client to loop through all mouse events that have not yet been handled.void
init()
Allows the mouse wrapper implementation to initialize itself.
-
Field Details
-
_upcomingEvents
-
-
Method Details
-
init
void init()Allows the mouse wrapper implementation to initialize itself. -
getEvents
PeekingIterator<MouseState> 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
-