SALT.gui
Class Layout

java.lang.Object
  extended by SALT.gui.Graphics
      extended by SALT.gui.Layout

public class Layout
extends Graphics

Creates the SALT GUI.


Field Summary
 
Fields inherited from class SALT.gui.Graphics
gridBagConstraints, gridBagLayout
 
Constructor Summary
Layout(javax.swing.JFrame frame, java.awt.event.ActionListener actionListener)
          Constructs the Layout.
 
Method Summary
 javax.swing.JFrame getFrame()
          Returns a JFrame.
protected  javax.swing.JButton makeNavigationButton(java.lang.String imageName, java.lang.String actionCommand, java.lang.String toolTipText, boolean enabled)
          Creates a new toolbar button.
 
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
 

Constructor Detail

Layout

public Layout(javax.swing.JFrame frame,
              java.awt.event.ActionListener actionListener)
Constructs the Layout.

Parameters:
frame -
actionListener -
Method Detail

makeNavigationButton

protected javax.swing.JButton makeNavigationButton(java.lang.String imageName,
                                                   java.lang.String actionCommand,
                                                   java.lang.String toolTipText,
                                                   boolean enabled)
Creates a new toolbar button.

Parameters:
imageName -
actionCommand -
toolTipText -
enabled -
Returns:

getFrame

public javax.swing.JFrame getFrame()
Returns a JFrame.

Returns: