gov.nist.microanalysis.NISTMonte
Class SecondaryListener

java.lang.Object
  extended by gov.nist.microanalysis.NISTMonte.SecondaryListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class SecondaryListener
extends java.lang.Object
implements java.awt.event.ActionListener

Creates a shell implementation of a MonteCarloSS event listener for implementing secondary electron generation.

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

Institution: National Institute of Standards and Technology

Version:
1.0
Author:
nritchie

Constructor Summary
SecondaryListener(MonteCarloSS monte)
          Constructs a SecondaryListener
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          At each scattering event decide whether to create a secondary electron.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecondaryListener

public SecondaryListener(MonteCarloSS monte)
Constructs a SecondaryListener

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
At each scattering event decide whether to create a secondary electron. If one is created ask the instance of MonteCarloSS to track it.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e -
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)