Package com.ardor3d.input.logical
Class DummyKeyboardWrapper
java.lang.Object
com.ardor3d.input.logical.DummyKeyboardWrapper
- All Implemented Interfaces:
KeyboardWrapper
A "do-nothing" implementation of KeyboardWrapper useful when you want to ignore (or do not need) key events.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ardor3d.input.KeyboardWrapper
KeyboardWrapper.KeyboardIterator
-
Field Summary
Fields inherited from interface com.ardor3d.input.KeyboardWrapper
_upcomingEvents
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a peeking iterator that allows the client to loop through all keyboard events that have not yet been handled.void
init()
Allows the keyboard wrapper implementation to initialise itself.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DummyKeyboardWrapper
public DummyKeyboardWrapper()
-
-
Method Details
-
getEvents
Description copied from interface:KeyboardWrapper
Returns a peeking iterator that allows the client to loop through all keyboard events that have not yet been handled.- Specified by:
getEvents
in interfaceKeyboardWrapper
- Returns:
- an iterator that allows the client to check which events have still not been handled
-
init
public void init()Description copied from interface:KeyboardWrapper
Allows the keyboard wrapper implementation to initialise itself.- Specified by:
init
in interfaceKeyboardWrapper
-