Interface SelectionManager.SelectionEnded

  • All Superinterfaces:
    javax.swing.Action, java.awt.event.ActionListener, java.util.EventListener
    All Known Implementing Classes:
    SelectAction, ZoomAction
    Enclosing class:
    SelectionManager

    public static interface SelectionManager.SelectionEnded
    extends javax.swing.Action
    This is the interface that an user of SelectionManager has to implement to get informed when a selection closes.
    • Field Summary

      • Fields inherited from interface javax.swing.Action

        ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void selectionEnded​(java.awt.Rectangle r, java.awt.event.MouseEvent e)
      Called, when the left mouse button was released.
      • Methods inherited from interface javax.swing.Action

        accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from interface java.awt.event.ActionListener

        actionPerformed
    • Method Detail

      • selectionEnded

        void selectionEnded​(java.awt.Rectangle r,
                            java.awt.event.MouseEvent e)
        Called, when the left mouse button was released.
        Parameters:
        r - The rectangle that encloses the current selection.
        e - The mouse event.
        See Also:
        InputEvent.getModifiersEx(), SelectionManager.getSelectedObjects(boolean)