|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Interface Summary | |
---|---|
Window | Specifying NEWT's Window functionality: On- and offscreen windows Keyboard and multi-pointer input Native reparenting Toggable fullscreen and decoration mode Transparency ... |
Window.FocusRunnable |
Class Summary | |
---|---|
Display | |
MonitorDevice | Visual output device, i.e. |
MonitorMode | Immutable MonitorMode Class, consisting of it's read only components: nativeId MonitorMode.SizeAndRRate , consist out of non rotated surface size , refresh rate and flags .
rotation , measured counter clockwise (CCW)
Aquire and filter MonitorModeMonitorDevice Selection:
A List of all MonitorDevice s is accessible via Screen.getMonitorDevices() .
The main monitor used by a windows is accessible via Window.getMainMonitor() .
The main monitor covering an arbitrary rectnagle is accessible via Screen.getMainMonitor(RectangleImmutable) .
The current MonitorMode can be obtained via MonitorDevice.getCurrentMode() .
The original MonitorMode can be obtained via MonitorDevice.getOriginalMode() .
MonitorMode Filtering:
A MonitorDevice 's MonitorModes is accessible via MonitorDevice.getSupportedModes() .
You may utilize MonitorModeUtil to filter and select a desired MonitorMode.
Changing MonitorMode Use MonitorDevice.setCurrentMode(MonitorMode)
to change the current MonitorMode for all Screen s referenced via the full qualified name (FQN) .
The original mode is restored when
the last FQN referenced Screen closes.
the JVM shuts down.
Example for changing the MonitorMode: |
MonitorMode.SizeAndRRate | Immutable surfaceSize and refreshRate Class, consisting of it's read only components: nativeId SurfaceSize surface memory size
refresh rate
|
NewtFactory | |
NewtVersion | |
Screen | A screen may span multiple MonitorDevice s representing their combined virtual size. |
Enum Summary | |
---|---|
Window.ReparentOperation | Reparenting operation types |
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |