public class NoOpInputHandler extends WWObjectImpl implements InputHandler
Constructor and Description |
---|
NoOpInputHandler() |
Modifier and Type | Method and Description |
---|---|
void |
addKeyListener(KeyListener listener) |
void |
addMouseListener(MouseListener listener) |
void |
addMouseMotionListener(MouseMotionListener listener) |
void |
addMouseWheelListener(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(KeyListener listener) |
void |
removeMouseListener(MouseListener listener) |
void |
removeMouseMotionListener(MouseMotionListener listener) |
void |
removeMouseWheelListener(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
propertyChange
public void addKeyListener(KeyListener listener)
addKeyListener
in interface InputHandler
public void addMouseListener(MouseListener listener)
addMouseListener
in interface InputHandler
public void addMouseMotionListener(MouseMotionListener listener)
addMouseMotionListener
in interface InputHandler
public void addMouseWheelListener(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(KeyListener listener)
removeKeyListener
in interface InputHandler
public void removeMouseListener(MouseListener listener)
removeMouseListener
in interface InputHandler
public void removeMouseMotionListener(MouseMotionListener listener)
removeMouseMotionListener
in interface InputHandler
public void removeMouseWheelListener(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