gov.sns.tools.apputils
Class SeqSelector

java.lang.Object
  |
  +--gov.sns.tools.apputils.SeqSelector
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

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

GUI for selecting sequences from a list and creating a combo sequence


Field Summary
 AcceleratorSeqCombo combSeq
           
 
Constructor Summary
SeqSelector()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.lang.String getComboName()
          return default combo sequence name which is "firstSeq-latSeq"
 java.util.List getSeqList()
          return the constituent seqences in this combo
 javax.swing.JDialog popupSequenceSelector(Accelerator p_accel)
          Deprecated. it is preferable to call popupSequenceSelector(Accelerator, Frame) instead.
 javax.swing.JDialog popupSequenceSelector(Accelerator p_accel, java.awt.Frame owner)
          popup a dialog for selecting sequence(s).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

combSeq

public AcceleratorSeqCombo combSeq
Constructor Detail

SeqSelector

public SeqSelector()
Method Detail

popupSequenceSelector

public javax.swing.JDialog popupSequenceSelector(Accelerator p_accel,
                                                 java.awt.Frame owner)
popup a dialog for selecting sequence(s). This method is preferable to popupSequenceSelector(Accelerator) since it places the dialog relative to the owning frame and prevents the modal dialog from going behind the frame.

Parameters:
p_accel - pass the Accelerator object here from main routine
owner - the window that owns the sequence selector

popupSequenceSelector

public javax.swing.JDialog popupSequenceSelector(Accelerator p_accel)
Deprecated. it is preferable to call popupSequenceSelector(Accelerator, Frame) instead.

popup menu for selecting sequence(s)

Parameters:
p_accel - pass the Accelerator object here from main routine

getComboName

public java.lang.String getComboName()
return default combo sequence name which is "firstSeq-latSeq"


getSeqList

public java.util.List getSeqList()
return the constituent seqences in this combo


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener