public interface InputHandler extends AVList, PropertyChangeListener
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) |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
propertyChange
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()
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)
forceRedrawOnMousePressed
- true to force a redraw on button press, otherwise false, the default.void setHoverDelay(int delay)