gov.nasa.worldwind.awt
Class AWTInputHandler
java.lang.Object
gov.nasa.worldwind.AVListImpl
gov.nasa.worldwind.awt.AWTInputHandler
- All Implemented Interfaces:
- AVList, InputHandler, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, PropertyChangeListener, EventListener
public class AWTInputHandler
- extends AVListImpl
- implements KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, InputHandler
| Methods inherited from class gov.nasa.worldwind.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, copy, firePropertyChange, firePropertyChange, getStringValue, getValue, hasKey, propertyChange, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.AVList |
addPropertyChangeListener, addPropertyChangeListener, copy, firePropertyChange, firePropertyChange, getStringValue, getValue, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue |
AWTInputHandler
public AWTInputHandler()
addPositionListener
public void addPositionListener(PositionListener listener)
- Specified by:
addPositionListener in interface InputHandler
addSelectListener
public void addSelectListener(SelectListener listener)
- Specified by:
addSelectListener in interface InputHandler
getEventSource
public WorldWindow getEventSource()
- Specified by:
getEventSource in interface InputHandler
getHoverDelay
public int getHoverDelay()
- Specified by:
getHoverDelay in interface InputHandler
keyPressed
public void keyPressed(KeyEvent keyEvent)
- Specified by:
keyPressed in interface KeyListener
keyReleased
public void keyReleased(KeyEvent keyEvent)
- Specified by:
keyReleased in interface KeyListener
keysPolled
public void keysPolled(int keyCode,
int modifiers)
keyTyped
public void keyTyped(KeyEvent keyEvent)
- Specified by:
keyTyped in interface KeyListener
mouseClicked
public void mouseClicked(MouseEvent mouseEvent)
- Specified by:
mouseClicked in interface MouseListener
mouseDragged
public void mouseDragged(MouseEvent mouseEvent)
- Specified by:
mouseDragged in interface MouseMotionListener
mouseEntered
public void mouseEntered(MouseEvent mouseEvent)
- Specified by:
mouseEntered in interface MouseListener
mouseExited
public void mouseExited(MouseEvent mouseEvent)
- Specified by:
mouseExited in interface MouseListener
mouseMoved
public void mouseMoved(MouseEvent mouseEvent)
- Specified by:
mouseMoved in interface MouseMotionListener
mousePressed
public void mousePressed(MouseEvent mouseEvent)
- Specified by:
mousePressed in interface MouseListener
mouseReleased
public void mouseReleased(MouseEvent mouseEvent)
- Specified by:
mouseReleased in interface MouseListener
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent mouseWheelEvent)
- Specified by:
mouseWheelMoved in interface MouseWheelListener
removePositionListener
public void removePositionListener(PositionListener listener)
- Specified by:
removePositionListener in interface InputHandler
removeSelectListener
public void removeSelectListener(SelectListener listener)
- Specified by:
removeSelectListener in interface InputHandler
setEventSource
public void setEventSource(WorldWindow newWorldWindow)
- Specified by:
setEventSource in interface InputHandler
setHoverDelay
public void setHoverDelay(int delay)
- Specified by:
setHoverDelay in interface InputHandler