Class ExposureControlListener
java.lang.Object
|
+--ExposureControlListener
- Direct Known Subclasses:
- IRExposureControlListener
- public class ExposureControlListener
- extends java.lang.Object
- implements java.awt.event.ActionListener, java.awt.event.ItemListener, javax.swing.event.CaretListener
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
This method handles action events from the exposure control section
of the main application window. |
void |
caretUpdate(javax.swing.event.CaretEvent ce)
This method handles text action events from the "Save To Disk"
textfield in the image options section of the main application
window. |
void |
itemStateChanged(java.awt.event.ItemEvent ie)
This method handles item selection events from the exposure control
section of the main application window. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
parent
protected VoodooMainWindow parent
exposure_time
protected float exposure_time
number_of_exposures
protected int number_of_exposures
exposure_status
protected int exposure_status
image_filename
protected java.lang.String image_filename
exp_cmd
protected ExposureCommand exp_cmd
ExposureControlListener
public ExposureControlListener(VoodooMainWindow parent)
- Constructor.
- Parameters:
parent
- The window for which this controller listens.
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent ie)
- This method handles item selection events from the exposure control
section of the main application window.
- Specified by:
- itemStateChanged in interface java.awt.event.ItemListener
- Parameters:
ie
- The selection event.- See Also:
ItemListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- This method handles action events from the exposure control section
of the main application window. A minimum setup of the array dimensions
must be performed before an exposure can be taken.
- Specified by:
- actionPerformed in interface java.awt.event.ActionListener
- Parameters:
e
- The event.- See Also:
ActionListener
caretUpdate
public void caretUpdate(javax.swing.event.CaretEvent ce)
- This method handles text action events from the "Save To Disk"
textfield in the image options section of the main application
window. Any change in the text will fire this event.
- Specified by:
- caretUpdate in interface javax.swing.event.CaretListener
- Parameters:
ce
- The text event caused by a change in text.- See Also:
ActionListener