SALT.gui
Class Dialog

java.lang.Object
  extended by SALT.gui.Graphics
      extended by SALT.gui.Dialog
Direct Known Subclasses:
AdditionalSubjectInfoDialog, ButtonDialog, ContinuousDialog, DesignDialog, ExportDialog, FaderDialog, HelpDialog, InformationDialog, OpenDesignDialog, SessionDialog, TrialItemDialog

public class Dialog
extends Graphics

The class Dialog provides methods, which most of the other dialogs need.


Field Summary
protected  java.lang.Object[] options
           
 
Fields inherited from class SALT.gui.Graphics
gridBagConstraints, gridBagLayout
 
Constructor Summary
Dialog()
          Creates a new JPanel with the specified layout manager.
 
Method Summary
protected  javax.swing.JButton makeButton(java.lang.String actionCommand, java.lang.String label, java.awt.event.ActionListener actionListener)
          Creates a Button.
protected  void setTitledBorder(java.lang.String titleText)
          Creates a title border of a JPanel.
 
Methods inherited from class SALT.gui.Graphics
makeGridBagConstraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

options

protected java.lang.Object[] options
Constructor Detail

Dialog

public Dialog()
Creates a new JPanel with the specified layout manager. All Components, like Buttons, Labels... have to be placed on a container (JPanel).

See Also:
JPanel
Method Detail

makeButton

protected javax.swing.JButton makeButton(java.lang.String actionCommand,
                                         java.lang.String label,
                                         java.awt.event.ActionListener actionListener)
Creates a Button. The method adds an action command, an ActionListener and a text to the button.

Parameters:
actionCommand -
label -
actionListener -
Returns:
See Also:
JButton

setTitledBorder

protected void setTitledBorder(java.lang.String titleText)
Creates a title border of a JPanel.

Parameters:
titleText -