|
|
|||||
| Package com.dassault_systemes.catjdialog |
Class GC
|
| Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catjdialog.GC
| Class Location |
| Class Description |
public class GC
A grid layout constraints data structure.
This data structure holds all required information defining a component
layout within a grid layout implementation (see CATFrame).
See the CAA Use Case "Creating a Command" for a simple Grid Layout sample.
See the CAA Use Case "Grid Constraint Layout" for a complex Grid Layout sample.
| Field Summary |
| public int | _align
Alignement |
| public int | _h
Height |
| public int | _justify
Justification |
| public int | _w
Width |
| public int | _x
Position X |
| public int | _y
Position Y |
| public static final int | BOTTOM
Alignment: bottom |
| public static final int | CENTER
Alignment: center |
| public static final int | FILL
Justify: horizontaly and verticaly |
| public static final int | FILLH
Justify: horizontaly |
| public static final int | FILLV
Justify: verticaly |
| public static final int | LEFT
Alignment: left |
| public static final int | NOFILL
Justify: none |
| public static final int | RIGHT
Alignment: right |
| public static final int | TOP
Alignment: top |
| Constructor Summary |
| GC(int iX, int iY, int iW, int iH, int iAlign, int iJustify)
Create a grid layout constraint set with specified values. |
| Method Summary |
| public String | toString()
Returns a string representation of this grid layout constraints object. |
| Field Detail |
public int _align
Alignement
public int _h
Height
public int _justify
Justification
public int _w
Width
public int _x
Position X
public int _y
Position Y
public static final int BOTTOM
Alignment: bottom
public static final int CENTER
Alignment: center
public static final int FILL
Justify: horizontaly and verticaly
public static final int FILLH
Justify: horizontaly
public static final int FILLV
Justify: verticaly
public static final int LEFT
Alignment: left
public static final int NOFILL
Justify: none
public static final int RIGHT
Alignment: right
public static final int TOP
Alignment: top
| Constructor Detail |
GC(int iX, int iY, int iW, int iH, int iAlign, int iJustify)
Create a grid layout constraint set with specified values.
| Method Detail |
public String toString()
Returns a string representation of this grid layout constraints object.