net.sf.borg.ui.util
Class GridBagConstraintsFactory

java.lang.Object
  extended by net.sf.borg.ui.util.GridBagConstraintsFactory

public class GridBagConstraintsFactory
extends Object

A factory for creating GridBagConstraints objects in a standard way. Saves lots of LOC.


Constructor Summary
GridBagConstraintsFactory()
           
 
Method Summary
static GridBagConstraints create(int x, int y)
          Creates GridBagConstraints
static GridBagConstraints create(int x, int y, int fill)
          Creates GridBagConstraints
static GridBagConstraints create(int x, int y, int fill, double weightx, double weighty)
          Creates GridBagConstraints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridBagConstraintsFactory

public GridBagConstraintsFactory()
Method Detail

create

public static GridBagConstraints create(int x,
                                        int y)
Creates GridBagConstraints

Parameters:
x - the x
y - the y
Returns:
the grid bag constraints

create

public static GridBagConstraints create(int x,
                                        int y,
                                        int fill)
Creates GridBagConstraints

Parameters:
x - the x
y - the y
fill - the fill
Returns:
the grid bag constraints

create

public static GridBagConstraints create(int x,
                                        int y,
                                        int fill,
                                        double weightx,
                                        double weighty)
Creates GridBagConstraints

Parameters:
x - the x
y - the y
fill - the fill
weightx - the weightx
weighty - the weighty
Returns:
the grid bag constraints


Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae