com.zfqjava.swing
Class CellLayout.Constraints

java.lang.Object
  |
  +--com.zfqjava.swing.CellLayout.Constraints
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CellLayout

public static final class CellLayout.Constraints
extends java.lang.Object
implements java.io.Serializable

The CellLayout Constraints.

See Also:
Serialized Form

Constructor Summary
CellLayout.Constraints(int x, int y)
          Constructs a Constraints for the component.
CellLayout.Constraints(int x, int y, FillMode mode)
          Constructs a Constraints for the component.
CellLayout.Constraints(int x, int y, FillMode mode, SizeGroup widthGroup, SizeGroup heightGroup)
          Constructs a Constraints for the component.
CellLayout.Constraints(int x, int y, int width, int height)
          Constructs a Constraints for the component.
CellLayout.Constraints(int x, int y, int width, int height, FillMode mode)
          Constructs a Constraints for the component.
CellLayout.Constraints(int x, int y, int width, int height, FillMode mode, SizeGroup widthGroup, SizeGroup heightGroup)
          Constructs a Constraints for the component.
 
Method Summary
 FillMode getFillMode()
          Returns the fill mode for this constrains.
 int getHeight()
          Returns the cell height.
 SizeGroup getHeightGroup()
          Use this group get this component height.
 int getWidth()
          Returns the cell width.
 SizeGroup getWidthGroup()
          Use Size group width as current component width.
 int getX()
          Returns the cell x location.
 int getY()
          Returns the cell y location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellLayout.Constraints

public CellLayout.Constraints(int x,
                              int y)
Constructs a Constraints for the component.
Parameters:
x - the cell x location
y - the cell y location

CellLayout.Constraints

public CellLayout.Constraints(int x,
                              int y,
                              FillMode mode)
Constructs a Constraints for the component.
Parameters:
x - the cell x location
y - the cell y location
mode - the fill mode

CellLayout.Constraints

public CellLayout.Constraints(int x,
                              int y,
                              FillMode mode,
                              SizeGroup widthGroup,
                              SizeGroup heightGroup)
Constructs a Constraints for the component.
Parameters:
x - the cell x location
y - the cell y location
mode - the fill mode
widthGroup - the width group
heightGroup - the height group

CellLayout.Constraints

public CellLayout.Constraints(int x,
                              int y,
                              int width,
                              int height)
Constructs a Constraints for the component.
Parameters:
x - the cell x location
y - the cell y location
width - the cell width
height - the cell height

CellLayout.Constraints

public CellLayout.Constraints(int x,
                              int y,
                              int width,
                              int height,
                              FillMode mode)
Constructs a Constraints for the component.
Parameters:
x - the cell x location
y - the cell y location
width - the cell width
height - the cell height
mode - the fill mode

CellLayout.Constraints

public CellLayout.Constraints(int x,
                              int y,
                              int width,
                              int height,
                              FillMode mode,
                              SizeGroup widthGroup,
                              SizeGroup heightGroup)
Constructs a Constraints for the component.
Parameters:
x - the cell x location
y - the cell y location
width - the cell width
height - the cell height
mode - the fill mode
widthGroup - the width group
heightGroup - the height group
Method Detail

getX

public int getX()
Returns the cell x location.
Returns:
the cell x location

getY

public int getY()
Returns the cell y location.
Returns:
the cell y location

getWidth

public int getWidth()
Returns the cell width.
Returns:
the cell width

getHeight

public int getHeight()
Returns the cell height.
Returns:
the cell height

getFillMode

public FillMode getFillMode()
Returns the fill mode for this constrains.
Returns:
the fill mode

getWidthGroup

public SizeGroup getWidthGroup()
Use Size group width as current component width.

getHeightGroup

public SizeGroup getHeightGroup()
Use this group get this component height.


Copyright © 2001-2003 Extreme Component, Inc. All rights reserved.