de.kosi.gui.util
Class CellConstraints

java.lang.Object
  |
  +--de.kosi.gui.util.CellConstraints

public class CellConstraints
extends java.lang.Object

Constraints object for the CellLayout.


Field Summary
 float height
          Height in cells.
 float horizontalAlignment
          Horizontal alignment coefficient.
 float horizontalFill
          Horizontal fill coefficient.
 java.awt.Insets insets
          Component insets.
 float verticalAlignment
          Vertical alignment coefficient.
 float verticalFill
          Vertical fill coefficient.
 float width
          Width in cells.
 float x
          X position of cell.
 float y
          Y position of cell.
 
Constructor Summary
CellConstraints()
          Creates a new cell constraints object.
CellConstraints(CellConstraints constraints)
          Creates a copy of the given cell constraints object.
CellConstraints(java.awt.GridBagConstraints gbc)
          Creates a new cell constraints object using the given grid bag constraints object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

public float x
X position of cell.

y

public float y
Y position of cell.

width

public float width
Width in cells.

height

public float height
Height in cells.

horizontalAlignment

public float horizontalAlignment
Horizontal alignment coefficient.

verticalAlignment

public float verticalAlignment
Vertical alignment coefficient.

horizontalFill

public float horizontalFill
Horizontal fill coefficient.

verticalFill

public float verticalFill
Vertical fill coefficient.

insets

public java.awt.Insets insets
Component insets.
Constructor Detail

CellConstraints

public CellConstraints()
Creates a new cell constraints object.

CellConstraints

public CellConstraints(CellConstraints constraints)
Creates a copy of the given cell constraints object.
Parameters:
constraints - the object to make a copy of.

CellConstraints

public CellConstraints(java.awt.GridBagConstraints gbc)
Creates a new cell constraints object using the given grid bag constraints object.
Parameters:
gbc - the grid bag constraints object to use.