public final class Monitor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private VideoMode |
defaultVideoMode |
private long |
monitorPointer |
private java.util.List<VideoMode> |
videoModes |
private int |
virtualPosX |
private int |
virtualPosY |
Constructor and Description |
---|
Monitor(long pointerIn) |
Modifier and Type | Method and Description |
---|---|
VideoMode |
getDefaultVideoMode() |
long |
getMonitorPointer() |
int |
getVideoModeCount() |
VideoMode |
getVideoModeFromIndex(int index) |
int |
getVideoModeIndex(VideoMode modeIn) |
VideoMode |
getVideoModeOrDefault(java.util.Optional<VideoMode> optionalVideoMode) |
int |
getVirtualPosX() |
int |
getVirtualPosY() |
void |
setup() |
java.lang.String |
toString() |
private final long monitorPointer
private final java.util.List<VideoMode> videoModes
private VideoMode defaultVideoMode
private int virtualPosX
private int virtualPosY
public void setup()
public VideoMode getVideoModeOrDefault(java.util.Optional<VideoMode> optionalVideoMode)
public int getVideoModeIndex(VideoMode modeIn)
public VideoMode getDefaultVideoMode()
public int getVirtualPosX()
public int getVirtualPosY()
public VideoMode getVideoModeFromIndex(int index)
public int getVideoModeCount()
public long getMonitorPointer()
public java.lang.String toString()
toString
in class java.lang.Object