org.browsecode.helpers.dialogs
Class MultipleChoiceAndOtherDialog

java.lang.Object
  extended by org.browsecode.helpers.dialogs.MultipleChoiceAndOtherDialog
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener, javax.swing.event.ListSelectionListener

public class MultipleChoiceAndOtherDialog
extends java.lang.Object
implements javax.swing.event.ListSelectionListener, java.awt.event.KeyListener


Constructor Summary
MultipleChoiceAndOtherDialog(java.awt.Frame frame)
           
 
Method Summary
 java.lang.String doMultipleChoiceAndOtherDialog(java.lang.String question, java.lang.String dialogTitle, java.lang.String[] choices)
           
 java.lang.String doMultipleChoiceAndOtherDialog(java.lang.String question, java.lang.String dialogTitle, java.lang.String[] choices, int defaultSelection)
           
 java.lang.String doMultipleChoiceAndOtherDialog(java.lang.String question, java.lang.String dialogTitle, java.lang.String[] choices, java.lang.String defaultSelection)
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 void keyReleased(java.awt.event.KeyEvent e)
           
 void keyTyped(java.awt.event.KeyEvent e)
           
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultipleChoiceAndOtherDialog

public MultipleChoiceAndOtherDialog(java.awt.Frame frame)
Method Detail

doMultipleChoiceAndOtherDialog

public java.lang.String doMultipleChoiceAndOtherDialog(java.lang.String question,
                                                       java.lang.String dialogTitle,
                                                       java.lang.String[] choices)

doMultipleChoiceAndOtherDialog

public java.lang.String doMultipleChoiceAndOtherDialog(java.lang.String question,
                                                       java.lang.String dialogTitle,
                                                       java.lang.String[] choices,
                                                       int defaultSelection)

doMultipleChoiceAndOtherDialog

public java.lang.String doMultipleChoiceAndOtherDialog(java.lang.String question,
                                                       java.lang.String dialogTitle,
                                                       java.lang.String[] choices,
                                                       java.lang.String defaultSelection)

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
Specified by:
keyTyped in interface java.awt.event.KeyListener