Interface InputHandler

  • All Superinterfaces:
    AVList, java.util.EventListener, java.beans.PropertyChangeListener
    All Known Implementing Classes:
    AWTInputHandler, NoOpInputHandler

    public interface InputHandler
    extends AVList, java.beans.PropertyChangeListener
    • Method Detail

      • setEventSource

        void setEventSource​(WorldWindow newWorldWindow)
      • setHoverDelay

        void setHoverDelay​(int delay)
      • getHoverDelay

        int getHoverDelay()
      • addSelectListener

        void addSelectListener​(SelectListener listener)
      • removeSelectListener

        void removeSelectListener​(SelectListener listener)
      • addKeyListener

        void addKeyListener​(java.awt.event.KeyListener listener)
      • removeKeyListener

        void removeKeyListener​(java.awt.event.KeyListener listener)
      • addMouseListener

        void addMouseListener​(java.awt.event.MouseListener listener)
      • removeMouseListener

        void removeMouseListener​(java.awt.event.MouseListener listener)
      • addMouseMotionListener

        void addMouseMotionListener​(java.awt.event.MouseMotionListener listener)
      • removeMouseMotionListener

        void removeMouseMotionListener​(java.awt.event.MouseMotionListener listener)
      • addMouseWheelListener

        void addMouseWheelListener​(java.awt.event.MouseWheelListener listener)
      • removeMouseWheelListener

        void removeMouseWheelListener​(java.awt.event.MouseWheelListener listener)
      • dispose

        void dispose()
      • isForceRedrawOnMousePressed

        boolean isForceRedrawOnMousePressed()
        Indicates whether a redraw is forced when the a mouse button is pressed. Touch screen devices require this so that the current position and selection are updated when the button is pressed. The update occurs naturally on non-touch screen devices because the motion of the mouse prior to the press causes the current position and selection to be updated.
        Returns:
        true if a redraw is forced when a button is pressed, otherwise false.
      • setForceRedrawOnMousePressed

        void setForceRedrawOnMousePressed​(boolean forceRedrawOnMousePressed)
        Specifies whether a redraw is forced when the a mouse button is pressed. Touch screen devices require this so that the current position and selection are updated when the button is pressed. The update occurs naturally on non-touch screen devices because the motion of the mouse prior to the press causes the current position and selection to be updated.
        Parameters:
        forceRedrawOnMousePressed - true to force a redraw on button press, otherwise false, the default.