|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.awt.DisplayMode
Unsafe:
| Field Summary | |
static int |
BIT_DEPTH_MULTI
Enabled: Value of the bit depth if multiple bit depths are supported in this dislay mode. |
private int |
bitDepth
|
static int |
REFRESH_RATE_UNKNOWN
Enabled: Value of the refresh rate if not known |
private int |
refreshRate
|
private Dimension |
size
|
| Constructor Summary | |
DisplayMode(int width,
int height,
int bitDepth,
int refreshRate)
Enabled: Create a new display mode object with the supplied parameters |
|
| Method Summary | |
boolean |
equals(DisplayMode dm)
Suppressed: @return whether the two display modes are equal |
int |
getBitDepth()
Enabled: @return the bit depth of the display, in bits per pixel. |
int |
getHeight()
Enabled: @return the height of the display, in pixels |
int |
getRefreshRate()
Enabled: @return the refresh rate of the display, in hertz. |
int |
getWidth()
Enabled: @return the width of the display, in pixels |
int |
hashCode()
Suppressed: @return a hash code value for this object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Dimension size
private int bitDepth
private int refreshRate
public static final int BIT_DEPTH_MULTI
getBitDepth()public static final int REFRESH_RATE_UNKNOWN
getRefreshRate()| Constructor Detail |
public DisplayMode(int width,
int height,
int bitDepth,
int refreshRate)
BIT_DEPTH_MULTI,
REFRESH_RATE_UNKNOWN| Method Detail |
public int getHeight()
public int getWidth()
public int getBitDepth()
BIT_DEPTH_MULTI if multiple bit depths are supported in
this display mode.
BIT_DEPTH_MULTIpublic int getRefreshRate()
REFRESH_RATE_UNKNOWN if the information is not available.
REFRESH_RATE_UNKNOWNpublic boolean equals(DisplayMode dm)
public int hashCode()
hashCode in class Objectjava.lang.Object#equals(java.lang.Object),
java.util.Hashtable
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||