cookxml.cookswing.helper
Class SpringGridHelper

java.lang.Object
  extended bycookxml.cookswing.helper.SpringGridHelper
All Implemented Interfaces:
NoAdd

public class SpringGridHelper
extends Object
implements NoAdd

Helper class for constructing a grid using SpringLayout.

Since:
CookSwing 1.0
See Also:
SpringLayout, SpringGridCreator, SpringLayoutUtilities

Field Summary
 int columns
           
 boolean compact
          If a springgrid is compact, the size of each row/column are determined by the fitness; otherwise, the size is even for all rows and columns;.
 int hgap
          gap space
 int initialX
          first component's starting position
 int initialY
          first component's starting position
 int rows
           
 int vgap
          gap space
 
Constructor Summary
SpringGridHelper()
           
 
Method Summary
 void add(Component c)
           
 LinkedList getComponents()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compact

public boolean compact
If a springgrid is compact, the size of each row/column are determined by the fitness; otherwise, the size is even for all rows and columns;.


rows

public int rows

columns

public int columns

initialX

public int initialX
first component's starting position


initialY

public int initialY
first component's starting position


hgap

public int hgap
gap space


vgap

public int vgap
gap space

Constructor Detail

SpringGridHelper

public SpringGridHelper()
Method Detail

add

public void add(Component c)

getComponents

public LinkedList getComponents()