Class GpxLayer.SplitTracksToLayersAction

  • 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.SplitTracksToLayersAction
    extends javax.swing.AbstractAction
    Action to split tracks of one gpx layer into multiple gpx layers, the result is one GPX track per gpx layer.
    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
    • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
    • Constructor Detail

      • SplitTracksToLayersAction

        public SplitTracksToLayersAction​(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 interface javax.swing.Action
        Overrides:
        isEnabled in class javax.swing.AbstractAction