main
Class Constraints

java.lang.Object
  extended by java.awt.GridBagConstraints
      extended by main.Constraints
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class Constraints
extends java.awt.GridBagConstraints

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.GridBagConstraints
ABOVE_BASELINE, ABOVE_BASELINE_LEADING, ABOVE_BASELINE_TRAILING, anchor, BASELINE, BASELINE_LEADING, BASELINE_TRAILING, BELOW_BASELINE, BELOW_BASELINE_LEADING, BELOW_BASELINE_TRAILING, BOTH, CENTER, EAST, fill, FIRST_LINE_END, FIRST_LINE_START, gridheight, gridwidth, gridx, gridy, HORIZONTAL, insets, ipadx, ipady, LAST_LINE_END, LAST_LINE_START, LINE_END, LINE_START, NONE, NORTH, NORTHEAST, NORTHWEST, PAGE_END, PAGE_START, RELATIVE, REMAINDER, SOUTH, SOUTHEAST, SOUTHWEST, VERTICAL, weightx, weighty, WEST
 
Constructor Summary
Constraints(int gridx, int gridy, int gridwidth, int gridheight)
           
 
Method Summary
 Constraints setAnchor(int anchor)
           
 Constraints setFill(int fill)
           
 Constraints setInsets(int top, int left, int bottom, int right)
           
 Constraints setWeight(double weightx, double weighty)
           
 
Methods inherited from class java.awt.GridBagConstraints
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Constraints

public Constraints(int gridx,
                   int gridy,
                   int gridwidth,
                   int gridheight)
Method Detail

setWeight

public Constraints setWeight(double weightx,
                             double weighty)

setAnchor

public Constraints setAnchor(int anchor)

setFill

public Constraints setFill(int fill)

setInsets

public Constraints setInsets(int top,
                             int left,
                             int bottom,
                             int right)