public class NoOpInputHandler extends WWObjectImpl implements InputHandler
Constructor and Description |
---|
NoOpInputHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addKeyListener(java.awt.event.KeyListener listener) |
void |
addMouseListener(java.awt.event.MouseListener listener) |
void |
addMouseMotionListener(java.awt.event.MouseMotionListener listener) |
void |
addMouseWheelListener(java.awt.event.MouseWheelListener listener) |
void |
addSelectListener(SelectListener listener) |
void |
dispose() |
WorldWindow |
getEventSource() |
int |
getHoverDelay() |
boolean |
isForceRedrawOnMousePressed()
Indicates whether a redraw is forced when the a mouse button is pressed.
|
void |
removeKeyListener(java.awt.event.KeyListener listener) |
void |
removeMouseListener(java.awt.event.MouseListener listener) |
void |
removeMouseMotionListener(java.awt.event.MouseMotionListener listener) |
void |
removeMouseWheelListener(java.awt.event.MouseWheelListener listener) |
void |
removeSelectListener(SelectListener listener) |
void |
setEventSource(WorldWindow newWorldWindow) |
void |
setForceRedrawOnMousePressed(boolean forceRedrawOnMousePressed)
Specifies whether a redraw is forced when the a mouse button is pressed.
|
void |
setHoverDelay(int delay) |
onMessage, propertyChange
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
public void addKeyListener(java.awt.event.KeyListener listener)
addKeyListener
in interface InputHandler
public void addMouseListener(java.awt.event.MouseListener listener)
addMouseListener
in interface InputHandler
public void addMouseMotionListener(java.awt.event.MouseMotionListener listener)
addMouseMotionListener
in interface InputHandler
public void addMouseWheelListener(java.awt.event.MouseWheelListener listener)
addMouseWheelListener
in interface InputHandler
public void addSelectListener(SelectListener listener)
addSelectListener
in interface InputHandler
public void dispose()
dispose
in interface InputHandler
public WorldWindow getEventSource()
getEventSource
in interface InputHandler
public int getHoverDelay()
getHoverDelay
in interface InputHandler
public boolean isForceRedrawOnMousePressed()
InputHandler
isForceRedrawOnMousePressed
in interface InputHandler
public void removeKeyListener(java.awt.event.KeyListener listener)
removeKeyListener
in interface InputHandler
public void removeMouseListener(java.awt.event.MouseListener listener)
removeMouseListener
in interface InputHandler
public void removeMouseMotionListener(java.awt.event.MouseMotionListener listener)
removeMouseMotionListener
in interface InputHandler
public void removeMouseWheelListener(java.awt.event.MouseWheelListener listener)
removeMouseWheelListener
in interface InputHandler
public void removeSelectListener(SelectListener listener)
removeSelectListener
in interface InputHandler
public void setEventSource(WorldWindow newWorldWindow)
setEventSource
in interface InputHandler
public void setForceRedrawOnMousePressed(boolean forceRedrawOnMousePressed)
InputHandler
setForceRedrawOnMousePressed
in interface InputHandler
forceRedrawOnMousePressed
- true to force a redraw on button press, otherwise false, the default.public void setHoverDelay(int delay)
setHoverDelay
in interface InputHandler