com.moneydance.awt
Class GridC

java.lang.Object
  extended by java.awt.GridBagConstraints
      extended by com.moneydance.awt.GridC
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class GridC
extends java.awt.GridBagConstraints

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.GridBagConstraints
anchor, 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
GridC()
           
 
Method Summary
 GridC center()
          Anchor the component to the center (the default)
 GridC colspan(int numColumns)
          Set the gridwidth: number of columns to span.
 GridC east()
          Anchor the component to the east
 GridC fillboth()
          Set the fill type to both horizontal and vertical
 GridC fillnone()
          Set the fill type to no filling (the default)
 GridC fillx()
          Set the fill type to horizontal
 GridC filly()
          Set the fill type to vertical
static GridC getc()
          Reset and return the singleton GridC instance
 GridC insets(int top, int left, int bottom, int right)
          Set the insets
 GridC north()
          Anchor the component to the north
 GridC northEast()
          Anchor the component to the northeast
 GridC northWest()
          Anchor the component to the northwest
 GridC padx(int xPadding)
          Set the internal padding along the X axis
 GridC pady(int yPadding)
          Set the internal padding along the Y axis
 GridC reset()
          Reset all of the constraints to the default value and return ourself.
 GridC rowspan(int numRows)
          Set the gridheight: number of rows to span.
 GridC south()
          Anchor the component to the south
 GridC southEast()
          Anchor the component to the southeast
 GridC southWest()
          Anchor the component to the southwest
 GridC west()
          Anchor the component to the west
 GridC wx(float xWeight)
          Set our weightx value and return self
 GridC wxy(float xWeight, float yWeight)
          Set our weightx and weighty value and return self
 GridC wy(float yWeight)
          Set our weighty value and return self
 GridC x(int x)
          Set our gridx value and return self
 GridC xy(int x, int y)
          Set both the gridx and gridy values and return self
 GridC y(int y)
          Set our gridx value and return self
 
Methods inherited from class java.awt.GridBagConstraints
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridC

public GridC()
Method Detail

getc

public static final GridC getc()
Reset and return the singleton GridC instance


reset

public GridC reset()
Reset all of the constraints to the default value and return ourself.


x

public GridC x(int x)
Set our gridx value and return self


y

public GridC y(int y)
Set our gridx value and return self


xy

public GridC xy(int x,
                int y)
Set both the gridx and gridy values and return self


wx

public GridC wx(float xWeight)
Set our weightx value and return self


wy

public GridC wy(float yWeight)
Set our weighty value and return self


wxy

public GridC wxy(float xWeight,
                 float yWeight)
Set our weightx and weighty value and return self


colspan

public GridC colspan(int numColumns)
Set the gridwidth: number of columns to span.


rowspan

public GridC rowspan(int numRows)
Set the gridheight: number of rows to span.


fillx

public GridC fillx()
Set the fill type to horizontal


filly

public GridC filly()
Set the fill type to vertical


fillboth

public GridC fillboth()
Set the fill type to both horizontal and vertical


fillnone

public GridC fillnone()
Set the fill type to no filling (the default)


insets

public GridC insets(int top,
                    int left,
                    int bottom,
                    int right)
Set the insets


east

public GridC east()
Anchor the component to the east


west

public GridC west()
Anchor the component to the west


north

public GridC north()
Anchor the component to the north


south

public GridC south()
Anchor the component to the south


northEast

public GridC northEast()
Anchor the component to the northeast


northWest

public GridC northWest()
Anchor the component to the northwest


southEast

public GridC southEast()
Anchor the component to the southeast


southWest

public GridC southWest()
Anchor the component to the southwest


center

public GridC center()
Anchor the component to the center (the default)


padx

public GridC padx(int xPadding)
Set the internal padding along the X axis


pady

public GridC pady(int yPadding)
Set the internal padding along the Y axis