|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.microanalysis.NISTMonte.XRayAccumulator
public class XRayAccumulator
A simple acccumulator for recording the generated and transmitted intensities on a list of lines.
Copyright: Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain
Company: National Institute of Standards and Technology
| Constructor Summary | |
|---|---|
XRayAccumulator(java.util.Collection lines)
XRayAccumulator - Create an accumulator to record the sum of the generated and transmitted x-ray intensity on the Set of XRayTransition or AtomicShell objects in lines. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Invoked when an action occurs. |
void |
clear()
clear - Reset the accumulator to zero. |
void |
dump(java.io.PrintWriter pw)
dump - Output the resulting accumulation to a PrintWriter in tab seperated values suitable to import into a spreadsheet. |
double |
getEmitted(XRayTransition xrt)
getEmitted - Get the transmitted intensity for the specified transition. |
double |
getGenerated(XRayTransition xrt)
getGenerated - Get the generated intensity for the specified transition. |
double |
getSumEmitted()
getSumEmitted - Returns the sum of the emitted intensity for all transitions. |
double |
getSumGenerated()
getSumGenerated - Returns the sum of the generated intensity for all transitons. |
java.util.List |
getTransitions()
getTransitions - Get an immutable list of the transitions that are being accumulated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XRayAccumulator(java.util.Collection lines)
lines - Collection - A collection of XRayTransition objects or
AtomicShell objects| Method Detail |
|---|
public java.util.List getTransitions()
public void clear()
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListenerae - ActionEvent - An instance of XRayEventListenerpublic double getEmitted(XRayTransition xrt)
xrt -
public double getSumEmitted()
public double getSumGenerated()
public double getGenerated(XRayTransition xrt)
xrt -
public void dump(java.io.PrintWriter pw)
pw - PrintWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||