net.talvi.puffinplot
Class PuffinActions

java.lang.Object
  extended by net.talvi.puffinplot.PuffinActions

public class PuffinActions
extends java.lang.Object

A container class for individual instances of PuffinAction which represent particular user actions in PuffinPlot.


Field Summary
 javax.swing.Action about
          Opens the application's ‘About’ dialog box.
 javax.swing.Action bootAmsNaive
          Calculates bootstrap AMS statistics on the selected samples.
 javax.swing.Action bootAmsParam
          Calculates parametric bootstrap AMS statistics on the selected samples.
 javax.swing.Action circleFit
          For each selected sample, fits a great circle to the selected points.
 javax.swing.Action clearAmsCalcs
          Clears AMS calculations for the current suite.
 javax.swing.Action clearPreferences
          Clears the current user preferences, resetting them to their default values.
 javax.swing.Action clearSampleCalcs
          For each selected sample, clears all calculations and deselects all points.
 javax.swing.Action clearSelection
          For each selected sample, deselects all the points.
 javax.swing.Action clearSiteCalcs
          Clears any previously calculated Fisherian or great-circle site directions.
 javax.swing.Action close
          Closes the current data suite.
 javax.swing.Action copyPointSelection
          Copies the range of selected points from the current sample onto a clipboard.
 javax.swing.Action editCorrections
          Opens a window allowing the user to edit the sample and formation orientations and the local magnetic declination.
 javax.swing.Action exportCalcsMultiSuite
          Opens a ‘Save’ dialog box; suite calculations are saved to the chosen file (if any).
 javax.swing.Action exportCalcsSample
          Opens a ‘Save’ dialog box; sample calculations are saved to the chosen file (if any).
 javax.swing.Action exportCalcsSite
          Opens a ‘Save’ dialog box; site calculations are saved to the chosen file (if any).
 javax.swing.Action exportCalcsSuite
          Opens a ‘Save’ dialog box; suite calculations are saved to the chosen file (if any).
 javax.swing.Action exportIrm
          Opens a save dialog allowing the export of the current suite's IRM data as a tab-delimited text file.
 javax.swing.Action exportPdfFreehep
          Opens a save dialog allowing the current main display to be saved as a PDF file.
 javax.swing.Action exportPdfItext
          Opens a save dialog allowing the current main display to be saved as a PDF file.
 javax.swing.Action exportPrefs
          Exports the current user preferences to an XML file.
 javax.swing.Action exportSvgBatik
          Opens a save dialog allowing the current main display to be saved as an SVG file using the Batik library.
 javax.swing.Action exportSvgFreehep
          Opens a save dialog allowing the current main display to be saved as an SVG file using the FreeHEP library.
 javax.swing.Action fisherBySite
          Calculates Fisherian statistics on PCA directions from the current site.
 javax.swing.Action flipSampleX
          Rotates the currently selected samples 180° about the X axis.
 javax.swing.Action flipSampleY
          Rotates the currently selected samples 180° about the Y axis.
 javax.swing.Action flipSampleZ
          Rotates the currently selected samples 180° about the Z axis.
 javax.swing.Action greatCircleAnalysis
          Determines a site mean through McFadden and McElhinny great-circle intersection.
 javax.swing.Action hextAms
          Calculates Hext AMS statistics on the selected samples.
 javax.swing.Action hideSelectedPoints
          For each selected sample, makes the selected points invisible.
 javax.swing.Action importAms
          Opens a file dialog allowing the user to choose an Agico ASC file from which to import AMS data.
 javax.swing.Action importPrefs
          Imports user preferences from an XML file.
 javax.swing.Action importTabularData
          Imports data from a tabular file.
 javax.swing.Action mdf
          Calculates the median destructive field or temperature of the selected samples.
 javax.swing.Action multiSuiteMeans
          Calculate mean directions for data in all the currently open data suites.
 javax.swing.Action open
          Opens a dialog box allowing the user to choose one or more files to open as a new data suite.
 javax.swing.Action openCiteWindow
          Opens the Citation window.
 javax.swing.Action openPuffinWebsite
          Opens the PuffinPlot website.
 javax.swing.Action pageSetup
          Opens a dialog box allowing the user to change the page setup for printing.
 javax.swing.Action pastePointSelection
          For each selected sample, sets the selected points using the range currently copied to the clipboard.
 javax.swing.Action pcaOnSelection
          Performs principal component analysis on the selected points of the selected samples.
 javax.swing.Action prefs
          Opens the preferences window.
 javax.swing.Action print
          Opens a printing dialog box allowing printing of the main window data display.
 javax.swing.Action printGc
          Opens a print dialog for the site equal-area plot window.
 javax.swing.Action printSuiteEqArea
          Opens a printing dialog box allowing printing of the suite equal-area data display.
 javax.swing.Action quit
          Terminates the application immediately.
 javax.swing.Action rescaleMagSus
          Scales all magnetic susceptibility values in the current suite by a user-specified factor.
 javax.swing.Action resetLayout
          Resets the layout of the plots to the default.
 javax.swing.Action runScript
          Runs a Python script using the Jython interpreter.
 javax.swing.Action save
          If a PuffinPlot file is associated with the current suite, the suite is saved to that file.
 javax.swing.Action saveAs
          Opens a ‘save’ dialog box; the current suite is saved to the selected file in PuffinPlot format.
 javax.swing.Action selectAll
          Within each selected sample, selects all the points.
 javax.swing.Action setSiteName
          Opens a dialog box allowing the user to specify a site name for the selected samples.
 javax.swing.Action setSitesByDepth
          Opens a dialog box allowing the user to specify a site thickness, which is then used to divide a long core suite into sites based on sample depths.
 javax.swing.Action setSitesFromSampleNames
          Opens a dialog box allowing the user to specify which characters of the currently selected samples should be used to determine the site name.
 javax.swing.Action showCustomFlagsWindow
          Opens a window which allows the user to edit the list of user-defined flags for the current suite.
 javax.swing.Action showCustomNotesWindow
          Opens a window which allows the user to edit the list of user-defined note headings for the current suite.
 javax.swing.Action suiteMeans
          Calculates Fisher statistics on sample PCA directions for all selected samples, and on site means for all selected sites.
 javax.swing.Action unhideAllPoints
          For each selected sample, makes all the points visible.
 javax.swing.Action unsetEmptySlot
          Unflags any samples previously flagged as empty slots.
 javax.swing.Action useAsEmptySlot
          Flags the current sample as an empty slot to be used as a control for machine noise (not currently implemented).
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

about

public final javax.swing.Action about
Opens the application's ‘About’ dialog box.


open

public final javax.swing.Action open
Opens a dialog box allowing the user to choose one or more files to open as a new data suite.


close

public final javax.swing.Action close
Closes the current data suite.


exportCalcsSample

public final javax.swing.Action exportCalcsSample
Opens a ‘Save’ dialog box; sample calculations are saved to the chosen file (if any).


exportCalcsSite

public final javax.swing.Action exportCalcsSite
Opens a ‘Save’ dialog box; site calculations are saved to the chosen file (if any).


exportCalcsSuite

public final javax.swing.Action exportCalcsSuite
Opens a ‘Save’ dialog box; suite calculations are saved to the chosen file (if any).


exportCalcsMultiSuite

public final javax.swing.Action exportCalcsMultiSuite
Opens a ‘Save’ dialog box; suite calculations are saved to the chosen file (if any).


save

public final javax.swing.Action save
If a PuffinPlot file is associated with the current suite, the suite is saved to that file. If not, this action is equivalent to saveAs.


saveAs

public final javax.swing.Action saveAs
Opens a ‘save’ dialog box; the current suite is saved to the selected file in PuffinPlot format.


pageSetup

public final javax.swing.Action pageSetup
Opens a dialog box allowing the user to change the page setup for printing.


flipSampleX

public final javax.swing.Action flipSampleX
Rotates the currently selected samples 180° about the X axis.


flipSampleY

public final javax.swing.Action flipSampleY
Rotates the currently selected samples 180° about the Y axis.


flipSampleZ

public final javax.swing.Action flipSampleZ
Rotates the currently selected samples 180° about the Z axis.


pcaOnSelection

public final javax.swing.Action pcaOnSelection
Performs principal component analysis on the selected points of the selected samples.


useAsEmptySlot

public final javax.swing.Action useAsEmptySlot
Flags the current sample as an empty slot to be used as a control for machine noise (not currently implemented).


unsetEmptySlot

public final javax.swing.Action unsetEmptySlot
Unflags any samples previously flagged as empty slots.

See Also:
useAsEmptySlot

fisherBySite

public final javax.swing.Action fisherBySite
Calculates Fisherian statistics on PCA directions from the current site.


suiteMeans

public final javax.swing.Action suiteMeans
Calculates Fisher statistics on sample PCA directions for all selected samples, and on site means for all selected sites.


circleFit

public final javax.swing.Action circleFit
For each selected sample, fits a great circle to the selected points.


greatCircleAnalysis

public final javax.swing.Action greatCircleAnalysis
Determines a site mean through McFadden and McElhinny great-circle intersection.


clearSiteCalcs

public final javax.swing.Action clearSiteCalcs
Clears any previously calculated Fisherian or great-circle site directions.


mdf

public final javax.swing.Action mdf
Calculates the median destructive field or temperature of the selected samples.


editCorrections

public final javax.swing.Action editCorrections
Opens a window allowing the user to edit the sample and formation orientations and the local magnetic declination.


clearSampleCalcs

public final javax.swing.Action clearSampleCalcs
For each selected sample, clears all calculations and deselects all points.


selectAll

public final javax.swing.Action selectAll
Within each selected sample, selects all the points.


clearSelection

public final javax.swing.Action clearSelection
For each selected sample, deselects all the points.


copyPointSelection

public final javax.swing.Action copyPointSelection
Copies the range of selected points from the current sample onto a clipboard.


pastePointSelection

public final javax.swing.Action pastePointSelection
For each selected sample, sets the selected points using the range currently copied to the clipboard.


hideSelectedPoints

public final javax.swing.Action hideSelectedPoints
For each selected sample, makes the selected points invisible.


unhideAllPoints

public final javax.swing.Action unhideAllPoints
For each selected sample, makes all the points visible.


prefs

public final javax.swing.Action prefs
Opens the preferences window.


print

public final javax.swing.Action print
Opens a printing dialog box allowing printing of the main window data display.


printGc

public final javax.swing.Action printGc
Opens a print dialog for the site equal-area plot window.


printSuiteEqArea

public final javax.swing.Action printSuiteEqArea
Opens a printing dialog box allowing printing of the suite equal-area data display.


quit

public final javax.swing.Action quit
Terminates the application immediately.


resetLayout

public final javax.swing.Action resetLayout
Resets the layout of the plots to the default.


importAms

public final javax.swing.Action importAms
Opens a file dialog allowing the user to choose an Agico ASC file from which to import AMS data.


multiSuiteMeans

public final javax.swing.Action multiSuiteMeans
Calculate mean directions for data in all the currently open data suites.


exportIrm

public final javax.swing.Action exportIrm
Opens a save dialog allowing the export of the current suite's IRM data as a tab-delimited text file.


showCustomFlagsWindow

public final javax.swing.Action showCustomFlagsWindow
Opens a window which allows the user to edit the list of user-defined flags for the current suite.


showCustomNotesWindow

public final javax.swing.Action showCustomNotesWindow
Opens a window which allows the user to edit the list of user-defined note headings for the current suite.


exportSvgBatik

public final javax.swing.Action exportSvgBatik
Opens a save dialog allowing the current main display to be saved as an SVG file using the Batik library.


exportSvgFreehep

public final javax.swing.Action exportSvgFreehep
Opens a save dialog allowing the current main display to be saved as an SVG file using the FreeHEP library.


exportPdfItext

public final javax.swing.Action exportPdfItext
Opens a save dialog allowing the current main display to be saved as a PDF file.


exportPdfFreehep

public final javax.swing.Action exportPdfFreehep
Opens a save dialog allowing the current main display to be saved as a PDF file.


bootAmsNaive

public final javax.swing.Action bootAmsNaive
Calculates bootstrap AMS statistics on the selected samples.


bootAmsParam

public final javax.swing.Action bootAmsParam
Calculates parametric bootstrap AMS statistics on the selected samples.


hextAms

public final javax.swing.Action hextAms
Calculates Hext AMS statistics on the selected samples.


rescaleMagSus

public final javax.swing.Action rescaleMagSus
Scales all magnetic susceptibility values in the current suite by a user-specified factor.


exportPrefs

public final javax.swing.Action exportPrefs
Exports the current user preferences to an XML file.


importPrefs

public final javax.swing.Action importPrefs
Imports user preferences from an XML file.


clearAmsCalcs

public final javax.swing.Action clearAmsCalcs
Clears AMS calculations for the current suite.


setSiteName

public final javax.swing.Action setSiteName
Opens a dialog box allowing the user to specify a site name for the selected samples.


setSitesFromSampleNames

public final javax.swing.Action setSitesFromSampleNames
Opens a dialog box allowing the user to specify which characters of the currently selected samples should be used to determine the site name.


setSitesByDepth

public final javax.swing.Action setSitesByDepth
Opens a dialog box allowing the user to specify a site thickness, which is then used to divide a long core suite into sites based on sample depths.


clearPreferences

public final javax.swing.Action clearPreferences
Clears the current user preferences, resetting them to their default values.


runScript

public final javax.swing.Action runScript
Runs a Python script using the Jython interpreter.


importTabularData

public final javax.swing.Action importTabularData
Imports data from a tabular file.


openPuffinWebsite

public final javax.swing.Action openPuffinWebsite
Opens the PuffinPlot website.


openCiteWindow

public final javax.swing.Action openCiteWindow
Opens the Citation window.