Package org.openstreetmap.josm.gui.layer
Class GpxLayer.CombineTracksToSegmentedTrackAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.layer.GpxLayer.CombineTracksToSegmentedTrackAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
- Enclosing class:
- GpxLayer
public static class GpxLayer.CombineTracksToSegmentedTrackAction extends AbstractAction
Action to merge tracks into a single segmented track- Since:
- 13210
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private GpxLayer
layer
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
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
-
-
Constructor Summary
Constructors Constructor Description CombineTracksToSegmentedTrackAction(GpxLayer layer)
Create a new CombineTracksToSegmentedTrackAction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent e)
boolean
isEnabled()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
CombineTracksToSegmentedTrackAction
public CombineTracksToSegmentedTrackAction(GpxLayer layer)
Create a new CombineTracksToSegmentedTrackAction- Parameters:
layer
- The layer with the data to work on.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent e)
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfaceAction
- Overrides:
isEnabled
in classAbstractAction
-
-