Package org.openstreetmap.josm.gui.layer
Class GpxLayer.SplitTrackSegmentsToTracksAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.openstreetmap.josm.gui.layer.GpxLayer.SplitTrackSegmentsToTracksAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- GpxLayer
public static class GpxLayer.SplitTrackSegmentsToTracksAction extends javax.swing.AbstractAction
Action to split track segments into a multiple tracks with one segment each- Since:
- 13210
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SplitTrackSegmentsToTracksAction(GpxLayer layer)
Create a new SplitTrackSegmentsToTracksAction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
boolean
isEnabled()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
SplitTrackSegmentsToTracksAction
public SplitTrackSegmentsToTracksAction(GpxLayer layer)
Create a new SplitTrackSegmentsToTracksAction- Parameters:
layer
- The layer with the data to work on.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interfacejavax.swing.Action
- Overrides:
isEnabled
in classjavax.swing.AbstractAction
-
-