Display.
getAvailableDisplayModes() method.
| Modifier and Type | Field and Description |
|---|---|
| private final int | bpp
properties of the display mode |
| private final int | freq
properties of the display mode |
| private final boolean | fullscreen
If true, this instance can be used for fullscreen modes |
| private final int | height
properties of the display mode |
| private final int | width
properties of the display mode |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. DisplayMode equality
|
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public String | toString()
Overrides java. DisplayMode
|
| bpp | back to summary |
|---|---|
| private final int bpp properties of the display mode | |
| freq | back to summary |
|---|---|
| private final int freq properties of the display mode | |
| fullscreen | back to summary |
|---|---|
| private final boolean fullscreen If true, this instance can be used for fullscreen modes | |
| height | back to summary |
|---|---|
| private final int height properties of the display mode | |
| width | back to summary |
|---|---|
| private final int width properties of the display mode | |
| DisplayMode | back to summary |
|---|---|
| public DisplayMode(int width, int height) Construct a display mode. DisplayModes constructed through the public constructor can only be used to specify the dimensions of the Display in windowed mode. To get the available DisplayModes for fullscreen modes, use Display.getAvailableDisplayModes().
| |
| DisplayMode | back to summary |
|---|---|
| pack-priv DisplayMode(int width, int height, int bpp, int freq) | |
| DisplayMode | back to summary |
|---|---|
| private DisplayMode(int width, int height, int bpp, int freq, boolean fullscreen) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Tests for
| |
| getBitsPerPixel | back to summary |
|---|---|
| public int getBitsPerPixel() | |
| getFrequency | back to summary |
|---|---|
| public int getFrequency() | |
| getHeight | back to summary |
|---|---|
| public int getHeight() | |
| getWidth | back to summary |
|---|---|
| public int getWidth() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Retrieves the hashcode for this object
| |
| isFullscreenCapable | back to summary |
|---|---|
| public boolean isFullscreenCapable() True if this instance can be used for fullscreen modes | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Retrieves a String representation of this
| |