Class TActions
java.lang.Object
org.opensourcephysics.cabrillo.tracker.TActions
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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
analyticalParticleAction
(TrackerPanel trackerPanel) protected static void
calibrationAction
(TrackerPanel trackerPanel) protected static void
circleFitterAction
(TrackerPanel trackerPanel) static void
clearFiltersAction
(TrackerPanel trackerPanel, boolean andUndo) static void
cloneAction
(TrackerPanel trackerPanel, String name) protected static void
cmAction
(TrackerPanel trackerPanel) static Map<String,
AbstractAction> createActions
(TrackerPanel trackerPanel) Gets the action map for a TrackerPanel.protected static void
dataTrackActionAsync
(TrackerPanel trackerPanel) static void
dynamicParticleAction
(TrackerPanel trackerPanel) static void
dynamicParticlePolarAction
(TrackerPanel trackerPanel) protected static void
dynamicSystemAction
(TrackerPanel trackerPanel) static void
exitAction
(TrackerPanel trackerPanel) protected static void
lineProfileAction
(TrackerPanel trackerPanel) protected static void
offsetOriginAction
(TrackerPanel trackerPanel) protected TrackerPanel
panel()
protected static void
pointMassAction
(TrackerPanel trackerPanel) protected static void
protractorAction
(TrackerPanel trackerPanel) protected static void
rgbRegionAction
(TrackerPanel trackerPanel) protected static void
tapeAction
(TrackerPanel trackerPanel) protected static void
vectorAction
(TrackerPanel trackerPanel) protected static void
vectorSumAction
(TrackerPanel trackerPanel)
-
Field Details
-
frame
-
panelID
-
-
Method Details
-
createActions
Gets the action map for a TrackerPanel.- Parameters:
trackerPanel
- the TrackerPanel- Returns:
- the Map
-
panel
-
analyticalParticleAction
-
dynamicParticleAction
-
dynamicParticlePolarAction
-
dynamicSystemAction
-
rgbRegionAction
-
lineProfileAction
-
calibrationAction
-
offsetOriginAction
-
vectorSumAction
-
vectorAction
-
cmAction
-
tapeAction
-
circleFitterAction
-
protractorAction
-
pointMassAction
-
dataTrackActionAsync
-
cloneAction
-
clearFiltersAction
-
exitAction
-