Class TActions

java.lang.Object
org.opensourcephysics.cabrillo.tracker.TActions

public class TActions extends Object
This creates a map of action name to action for many common tracker actions. NOTE: These actions should ONLY be called as menu or button actions. The getAction() method should never be used for direct running of these action's method, as some of them are asynchronous.
Author:
Douglas Brown
  • Field Details

    • frame

      protected TFrame frame
    • panelID

      protected Integer panelID
  • Method Details

    • createActions

      public static Map<String,AbstractAction> createActions(TrackerPanel trackerPanel)
      Gets the action map for a TrackerPanel.
      Parameters:
      trackerPanel - the TrackerPanel
      Returns:
      the Map
    • panel

      protected TrackerPanel panel()
    • analyticalParticleAction

      protected static void analyticalParticleAction(TrackerPanel trackerPanel)
    • dynamicParticleAction

      public static void dynamicParticleAction(TrackerPanel trackerPanel)
    • dynamicParticlePolarAction

      public static void dynamicParticlePolarAction(TrackerPanel trackerPanel)
    • dynamicSystemAction

      protected static void dynamicSystemAction(TrackerPanel trackerPanel)
    • rgbRegionAction

      protected static void rgbRegionAction(TrackerPanel trackerPanel)
    • lineProfileAction

      protected static void lineProfileAction(TrackerPanel trackerPanel)
    • calibrationAction

      protected static void calibrationAction(TrackerPanel trackerPanel)
    • offsetOriginAction

      protected static void offsetOriginAction(TrackerPanel trackerPanel)
    • vectorSumAction

      protected static void vectorSumAction(TrackerPanel trackerPanel)
    • vectorAction

      protected static void vectorAction(TrackerPanel trackerPanel)
    • cmAction

      protected static void cmAction(TrackerPanel trackerPanel)
    • tapeAction

      protected static void tapeAction(TrackerPanel trackerPanel)
    • circleFitterAction

      protected static void circleFitterAction(TrackerPanel trackerPanel)
    • protractorAction

      protected static void protractorAction(TrackerPanel trackerPanel)
    • pointMassAction

      protected static void pointMassAction(TrackerPanel trackerPanel)
    • dataTrackActionAsync

      protected static void dataTrackActionAsync(TrackerPanel trackerPanel)
    • cloneAction

      public static void cloneAction(TrackerPanel trackerPanel, String name)
    • clearFiltersAction

      public static void clearFiltersAction(TrackerPanel trackerPanel, boolean andUndo)
    • exitAction

      public static void exitAction(TrackerPanel trackerPanel)