public class LassoModeAction extends AbstractLayerContainerAction
LassoLayer
.LassoLayer.setLassoMode(LassoMode)
,
Serialized FormlayerContainer
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 |
---|
LassoModeAction(LayerContainer lc,
LassoLayer.LassoMode mode)
Constructs a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
LassoLayer.LassoMode |
getMode()
Returns the selection mode that will be set by the action.
|
getLayerContainer, setLayerContainer
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public LassoModeAction(LayerContainer lc, LassoLayer.LassoMode mode)
lc
- the layer container on which to invoke the actionmode
- the selection mode to be set by the actionpublic void actionPerformed(ActionEvent evt)
public LassoLayer.LassoMode getMode()
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.