edu.cornell.cs.sam.ui.components
Class GridBagUtils

java.lang.Object
  extended by edu.cornell.cs.sam.ui.components.GridBagUtils

public class GridBagUtils
extends java.lang.Object


Constructor Summary
GridBagUtils()
           
 
Method Summary
static javax.swing.JButton addButton(java.lang.String label, javax.swing.JPanel panel, java.awt.GridBagLayout layout, java.awt.GridBagConstraints c, int x, int y, int width, int height, double weightx, double weighty)
           
static void addComponent(javax.swing.JComponent comp, java.awt.Container panel, java.awt.GridBagLayout layout, java.awt.GridBagConstraints c, int x, int y, int width, int height, double weightx, double weighty)
           
static javax.swing.JLabel addLabel(java.lang.String label, javax.swing.JPanel panel, java.awt.GridBagLayout layout, java.awt.GridBagConstraints c, int x, int y, int width, int height, double weightx, double weighty)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridBagUtils

public GridBagUtils()
Method Detail

addLabel

public static javax.swing.JLabel addLabel(java.lang.String label,
                                          javax.swing.JPanel panel,
                                          java.awt.GridBagLayout layout,
                                          java.awt.GridBagConstraints c,
                                          int x,
                                          int y,
                                          int width,
                                          int height,
                                          double weightx,
                                          double weighty)

addButton

public static javax.swing.JButton addButton(java.lang.String label,
                                            javax.swing.JPanel panel,
                                            java.awt.GridBagLayout layout,
                                            java.awt.GridBagConstraints c,
                                            int x,
                                            int y,
                                            int width,
                                            int height,
                                            double weightx,
                                            double weighty)

addComponent

public static void addComponent(javax.swing.JComponent comp,
                                java.awt.Container panel,
                                java.awt.GridBagLayout layout,
                                java.awt.GridBagConstraints c,
                                int x,
                                int y,
                                int width,
                                int height,
                                double weightx,
                                double weighty)