Package com.ardor3d.input
Interface KeyboardWrapper
- All Known Implementing Classes:
AwtKeyboardWrapper
,DummyKeyboardWrapper
,JoglNewtKeyboardWrapper
,SwtKeyboardWrapper
public interface KeyboardWrapper
Defines the API for keyboard wrappers.
-
Nested Class Summary
-
Field 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
-
_upcomingEvents
-
-
Method Details
-
init
void init()Allows the keyboard wrapper implementation to initialise itself. -
getEvents
PeekingIterator<KeyEvent> 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
-