Package jgl.wt.awt.listener
Class GLUTNoopListener
- java.lang.Object
-
- jgl.wt.awt.listener.GLUTNoopListener
-
- All Implemented Interfaces:
GLUTListener
public final class GLUTNoopListener extends Object implements GLUTListener
-
-
Field Summary
Fields Modifier and Type Field Description static GLUTNoopListener
INSTANCE
-
Constructor Summary
Constructors Constructor Description GLUTNoopListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasKeyboardCallback()
Indicates whether the listener has any of usable {@link this#onKeyboard(Component, char, int, int)} {@link this#onSpecialKey(Component, char, int, int)} {@link this#onSpecialKeyUp(Component, char, int, int)} (Component, char, int, int)}boolean
hasMouseCallback()
Indicates whether the listener has usable {@link this#onMouse(Component, int, int, int, int)}-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jgl.wt.awt.listener.GLUTListener
onDisplay, onIdle, onKeyboard, onKeyboardUp, onMotion, onMouse, onReshape, onSpecialKey, onSpecialKeyUp
-
-
-
-
Field Detail
-
INSTANCE
public static final GLUTNoopListener INSTANCE
-
-
Method Detail
-
hasMouseCallback
public boolean hasMouseCallback()
Description copied from interface:GLUTListener
Indicates whether the listener has usable {@link this#onMouse(Component, int, int, int, int)}- Specified by:
hasMouseCallback
in interfaceGLUTListener
-
hasKeyboardCallback
public boolean hasKeyboardCallback()
Description copied from interface:GLUTListener
Indicates whether the listener has any of usable {@link this#onKeyboard(Component, char, int, int)} {@link this#onSpecialKey(Component, char, int, int)} {@link this#onSpecialKeyUp(Component, char, int, int)} (Component, char, int, int)}- Specified by:
hasKeyboardCallback
in interfaceGLUTListener
-
-