public class LassoSelectionAction extends AbstractAction
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
LassoSelectionAction(BasicInterpreter interp)
Construct a lasso selection operator that
executes within the given interpreter.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt)
Treat the current stroke as a lasso selection if it is
mostly closed.
|
protected void |
toggleSelection(List hitFigures)
Toggle the selection state of the given figures.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public LassoSelectionAction(BasicInterpreter interp)
public void actionPerformed(ActionEvent evt)
protected void toggleSelection(List hitFigures)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.