Java java.awt DisplayMode fields, constructors, methods, implement or subclass

Example usage for Java java.awt DisplayMode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt DisplayMode.

The text is from its open source code.

Field

intBIT_DEPTH_MULTI
Value of the bit depth if multiple bit depths are supported in this display mode.
intREFRESH_RATE_UNKNOWN
Value of the refresh rate if not known.

Constructor

DisplayMode(int width, int height, int bitDepth, int refreshRate)
Create a new display mode object with the supplied parameters.

Method

intgetBitDepth()
Returns the bit depth of the display, in bits per pixel.
intgetHeight()
Returns the height of the display, in pixels.
intgetRefreshRate()
Returns the refresh rate of the display, in hertz.
intgetWidth()
Returns the width of the display, in pixels.