org.jscience.physics.nuclear.kinematics.math.analysis.spanc
Class Target

java.lang.Object
  extended by org.jscience.physics.nuclear.kinematics.math.analysis.spanc.Target
All Implemented Interfaces:
java.io.Serializable

public class Target
extends java.lang.Object
implements java.io.Serializable

This class represents a target in a splitpole experiment, possibly containing more than one layer. It handles target energy loss calculations. Each target is uniquely identified by a name.

See Also:
Serialized Form

Constructor Summary
Target(java.lang.String name)
          Creates new Target
 
Method Summary
 void addLayer(SolidAbsorber layer)
          DOCUMENT ME!
static javax.swing.DefaultComboBoxModel getComboModel()
          DOCUMENT ME!
 SolidAbsorber getLayer(int index)
          DOCUMENT ME!
 javax.swing.DefaultComboBoxModel getLayerNuclideComboModel(int layerIndex)
          DOCUMENT ME!
 javax.swing.DefaultComboBoxModel getLayerNumberComboModel()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 int getNumberOfLayers()
          DOCUMENT ME!
static Target getTarget(java.lang.String name)
          DOCUMENT ME!
static java.util.Collection getTargetCollection()
          DOCUMENT ME!
static javax.swing.DefaultListModel getTargetList()
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
static void refreshData(java.util.Collection retrievedTargets)
          DOCUMENT ME!
static void removeAllTargets()
          DOCUMENT ME!
static void removeTarget(Target t)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Target

public Target(java.lang.String name)
Creates new Target

Method Detail

removeTarget

public static void removeTarget(Target t)
DOCUMENT ME!

Parameters:
t - DOCUMENT ME!

refreshData

public static void refreshData(java.util.Collection retrievedTargets)
DOCUMENT ME!

Parameters:
retrievedTargets - DOCUMENT ME!

removeAllTargets

public static void removeAllTargets()
DOCUMENT ME!


getTarget

public static Target getTarget(java.lang.String name)
DOCUMENT ME!

Parameters:
name - DOCUMENT ME!
Returns:
DOCUMENT ME!

addLayer

public void addLayer(SolidAbsorber layer)
DOCUMENT ME!

Parameters:
layer - DOCUMENT ME!

getNumberOfLayers

public int getNumberOfLayers()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLayer

public SolidAbsorber getLayer(int index)
DOCUMENT ME!

Parameters:
index - DOCUMENT ME!
Returns:
DOCUMENT ME!

getTargetList

public static javax.swing.DefaultListModel getTargetList()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getComboModel

public static javax.swing.DefaultComboBoxModel getComboModel()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getName

public java.lang.String getName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLayerNumberComboModel

public javax.swing.DefaultComboBoxModel getLayerNumberComboModel()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLayerNuclideComboModel

public javax.swing.DefaultComboBoxModel getLayerNuclideComboModel(int layerIndex)
DOCUMENT ME!

Parameters:
layerIndex - DOCUMENT ME!
Returns:
DOCUMENT ME!

getTargetCollection

public static java.util.Collection getTargetCollection()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

main

public static void main(java.lang.String[] args)
DOCUMENT ME!

Parameters:
args - DOCUMENT ME!