jsky.util.gui
Class GridBagUtil

java.lang.Object
  extended by jsky.util.gui.GridBagUtil

public class GridBagUtil
extends java.lang.Object

Utility class for use with the GridBagLayout layout manager.


Constructor Summary
GridBagUtil(java.awt.Container container)
           
GridBagUtil(java.awt.Container container, java.awt.GridBagLayout layout)
           
 
Method Summary
 void add(java.awt.Component component, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int fill, int anchor)
          Add the given component to the given container with the given options and default insets.
 void add(java.awt.Component component, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int fill, int anchor, java.awt.Insets insets)
          Add the given component to the given container with the given options.
 void add(java.awt.Component component, int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int fill, int anchor, java.awt.Insets insets, int ipadx, int ipady)
          Add the given component to the given container with the given options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridBagUtil

public GridBagUtil(java.awt.Container container)

GridBagUtil

public GridBagUtil(java.awt.Container container,
                   java.awt.GridBagLayout layout)
Method Detail

add

public void add(java.awt.Component component,
                int gridx,
                int gridy,
                int gridwidth,
                int gridheight,
                double weightx,
                double weighty,
                int fill,
                int anchor,
                java.awt.Insets insets,
                int ipadx,
                int ipady)
Add the given component to the given container with the given options.


add

public void add(java.awt.Component component,
                int gridx,
                int gridy,
                int gridwidth,
                int gridheight,
                double weightx,
                double weighty,
                int fill,
                int anchor,
                java.awt.Insets insets)
Add the given component to the given container with the given options.


add

public void add(java.awt.Component component,
                int gridx,
                int gridy,
                int gridwidth,
                int gridheight,
                double weightx,
                double weighty,
                int fill,
                int anchor)
Add the given component to the given container with the given options and default insets.