@Environment(value=CLIENT) public final class Monitor extends Object
Modifier and Type | Field and Description |
---|---|
private VideoMode |
currentVideoMode |
private long |
handle |
private List<VideoMode> |
videoModes |
private int |
x |
private int |
y |
Constructor and Description |
---|
Monitor(long long2) |
Modifier and Type | Method and Description |
---|---|
VideoMode |
findClosestVideoMode(Optional<VideoMode> optional) |
int |
findClosestVideoModeIndex(VideoMode videoMode) |
VideoMode |
getCurrentVideoMode() |
long |
getHandle() |
VideoMode |
getVideoMode(int int2) |
int |
getVideoModeCount() |
int |
getViewportX() |
int |
getViewportY() |
void |
populateVideoModes() |
String |
toString() |
private final long handle
private VideoMode currentVideoMode
private int x
private int y
public void populateVideoModes()
public int findClosestVideoModeIndex(VideoMode videoMode)
public VideoMode getCurrentVideoMode()
public int getViewportX()
public int getViewportY()
public VideoMode getVideoMode(int int2)
public int getVideoModeCount()
public long getHandle()