Package com.dassault_systemes.catjdialog

   
Class GC

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catjdialog.GC
Class Location

Framework : CATJDialog

Module : CATJDialog

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.

See Also:
CATFrame
Field Summary
int _x
int _y
int _w
int _h
int _align
int _justify
int BOTTOM
int CENTER
int LEFT
int RIGHT
int TOP
int FILL
int FILLH
int FILLV
int NOFILL

Constructor Summary
GC(int iX, int iY, int iW, int iH, int iAlign, int iJustify)

Method Summary
String toString()


Field Detail

_x

    int _x
Position X


_y

    int _y
Position Y


_w

    int _w
Width


_h

    int _h
Height


_align

    int _align
Alignement


_justify

    int _justify
Justification


BOTTOM

    int BOTTOM
Alignment: bottom


CENTER

    int CENTER
Alignment: center


LEFT

    int LEFT
Alignment: left


RIGHT

    int RIGHT
Alignment: right


TOP

    int TOP
Alignment: top


FILL

    int FILL
Justify: horizontaly and verticaly


FILLH

    int FILLH
Justify: horizontaly


FILLV

    int FILLV
Justify: verticaly


NOFILL

    int NOFILL
Justify: none


Constructor Detail

GC

    GC(int iX, int iY, int iW, int iH, int iAlign, int iJustify)

Create a grid layout constraint set with specified values.


Method Detail

toString

    String toString()

Returns a string representation of this grid layout constraints object.



Copyright © 2000, Dassault Systèmes. All rights reserved