Overview | Module | Use | Devguide | Index

Elements' Summary | Elements' Details

:: com :: sun :: star :: awt ::
struct DeviceInfo
Description contains information about a device.

Elements' Summary
Width | contains the width of the device in pixels.
Height | contains the height of the device in pixels.
LeftInset | contains the inset from the left.
TopInset | contains the inset from the top.
RightInset | contains the inset from the right.
BottomInset | contains the inset from the bottom.
PixelPerMeterX | contains the X-axis resolution of the device in pixel/meter.
PixelPerMeterY | contains the Y-axis resolution of the device in pixel/meter.
BitsPerPixel | contains the color-depth of the device.
Capabilities | specifies special operations which are possible on the device.

Elements' Details
Width
long Width; Description contains the width of the device in pixels.
Height
long Height; Description contains the height of the device in pixels.
LeftInset
long LeftInset; Description contains the inset from the left.
TopInset
long TopInset; Description contains the inset from the top.
RightInset
long RightInset; Description contains the inset from the right.
BottomInset
long BottomInset; Description contains the inset from the bottom.
PixelPerMeterX
double PixelPerMeterX; Description contains the X-axis resolution of the device in pixel/meter.
PixelPerMeterY
double PixelPerMeterY; Description contains the Y-axis resolution of the device in pixel/meter.
BitsPerPixel
short BitsPerPixel; Description contains the color-depth of the device.
Capabilities
long Capabilities; Description specifies special operations which are possible on the device. See also DeviceCapability

Top of Page

Copyright © 2003 Sun Microsystems, Inc.