Interface SelectionBehavior

    • Method Detail

      • clear

        void clear()
      • setSelection

        void setSelection​(int[] selection)
      • onDown

        default void onDown​(int index,
                            boolean control,
                            boolean shift)
        Deprecated.
        Parameters:
        index - the page index
        control - true if control key is pressed
        shift - true if shift key is pressed
      • onUp

        default void onUp​(int index,
                          boolean control,
                          boolean shift)
        Deprecated.
        Parameters:
        index - the page index
        control - true if control key is pressed
        shift - true if shift key is pressed
      • onDragStart

        default void onDragStart​(int index,
                                 boolean control,
                                 boolean shift)
        Deprecated.
        Parameters:
        index - the page index
        control - true if control key is pressed
        shift - true if shift key is pressed
      • onDown

        default void onDown​(int index,
                            boolean control,
                            boolean shift,
                            int button)
        React on mouse down.
        Parameters:
        index - the page index
        control - true if control key is pressed
        shift - true if shift key is pressed
        button - the mouse button (NativeEvent.BUTTON_LEFT etc.)
      • onUp

        default void onUp​(int index,
                          boolean control,
                          boolean shift,
                          int button)
        React on mouse up.
        Parameters:
        index - the page index
        control - true if control key is pressed
        shift - true if shift key is pressed
        button - the mouse button (NativeEvent.BUTTON_LEFT etc.)
      • onDragStart

        default void onDragStart​(int index,
                                 boolean control,
                                 boolean shift,
                                 int button)
        React on drag starts.
        Parameters:
        index - the page index
        control - true if control key is pressed
        shift - true if shift key is pressed
        button - the mouse button (NativeEvent.BUTTON_LEFT etc.)