Package com.ardor3d.input.logical
Class DummyMouseWrapper
java.lang.Object
com.ardor3d.input.logical.DummyMouseWrapper
- All Implemented Interfaces:
MouseWrapper
A "do-nothing" implementation of MouseWrapper useful when you want to ignore (or do not need) mouse events.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ardor3d.input.MouseWrapper
MouseWrapper.MouseIterator
-
Field Summary
Fields inherited from interface com.ardor3d.input.MouseWrapper
_upcomingEvents
-
Constructor 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
-
INSTANCE
-
-
Constructor Details
-
DummyMouseWrapper
public DummyMouseWrapper()
-
-
Method Details
-
getEvents
Description copied from interface:MouseWrapper
Returns a peeking iterator that allows the client to loop through all mouse events that have not yet been handled.- Specified by:
getEvents
in interfaceMouseWrapper
- Returns:
- an iterator that allows the client to check which events have still not been handled
-
init
public void init()Description copied from interface:MouseWrapper
Allows the mouse wrapper implementation to initialize itself.- Specified by:
init
in interfaceMouseWrapper
-