Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: awt ::
constants group PosSize
Description These constants are used to flag the parameters of a rectangle.

Constants
X | flags the x-coordinate.
Y | flags the y-coordinate.
WIDTH | flags the width.
HEIGHT | flags the height.
POS | flags the x- and y-coordinate.
SIZE | flags the width and height.
POSSIZE | flags the x- and y-coordinate, width and height.

Constants' Details
X
const short X = 1; Description flags the x-coordinate.
Y
const short Y = 2; Description flags the y-coordinate.
WIDTH
const short WIDTH = 4; Description flags the width.
HEIGHT
const short HEIGHT = 8; Description flags the height.
POS
const short POS = 3; Description flags the x- and y-coordinate.
SIZE
const short SIZE = 12; Description flags the width and height.
POSSIZE
const short POSSIZE = 15; Description flags the x- and y-coordinate, width and height.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.