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 voidanalyticalParticleAction(TrackerPanel trackerPanel) protected static voidcalibrationAction(TrackerPanel trackerPanel) protected static voidcircleFitterAction(TrackerPanel trackerPanel) static voidclearFiltersAction(TrackerPanel trackerPanel, boolean andUndo) static voidcloneAction(TrackerPanel trackerPanel, String name) protected static voidcmAction(TrackerPanel trackerPanel) static Map<String,AbstractAction> createActions(TrackerPanel trackerPanel) Gets the action map for a TrackerPanel.protected static voiddataTrackActionAsync(TrackerPanel trackerPanel) static voiddynamicParticleAction(TrackerPanel trackerPanel) static voiddynamicParticlePolarAction(TrackerPanel trackerPanel) protected static voiddynamicSystemAction(TrackerPanel trackerPanel) static voidexitAction(TrackerPanel trackerPanel) protected static voidlineProfileAction(TrackerPanel trackerPanel) protected static voidoffsetOriginAction(TrackerPanel trackerPanel) protected TrackerPanelpanel()protected static voidpointMassAction(TrackerPanel trackerPanel) protected static voidprotractorAction(TrackerPanel trackerPanel) protected static voidrgbRegionAction(TrackerPanel trackerPanel) protected static voidtapeAction(TrackerPanel trackerPanel) protected static voidvectorAction(TrackerPanel trackerPanel) protected static voidvectorSumAction(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
-