Package com.jogamp.newt
-
Interface Summary Interface Description Display.PointerIcon Native PointerIcon handle.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 Class Description Display MonitorDevice Visual output device, i.e.MonitorMode Immutable MonitorMode Class, consisting of it's read only components:
nativeIdMonitorMode.SizeAndRRate
, consist out of non rotatedsurface size
,refresh rate
andflags
.rotation
, measured counter clockwise (CCW) Aquire and filter MonitorMode
MonitorDevice
Selection: A List of allMonitorDevice
s is accessible viaScreen.getMonitorDevices()
. The main monitor used by a windows is accessible viaWindow.getMainMonitor()
. The main monitor covering an arbitrary rectangle is accessible viaScreen.getMainMonitor(RectangleImmutable)
. The current MonitorMode can be obtained viaMonitorDevice.getCurrentMode()
. The original MonitorMode can be obtained viaMonitorDevice.getOriginalMode()
.MonitorMode
Filtering: AMonitorDevice
's MonitorModes is accessible viaMonitorDevice.getSupportedModes()
. You may utilizeMonitorModeUtil
to filter and select a desired MonitorMode.
Changing MonitorMode
UseMonitorDevice.setCurrentMode(MonitorMode)
to change the current MonitorMode for allScreen
s referenced via thefull qualified name (FQN)
. Theoriginal mode
is restored when the last FQN referenced Screen closes. the JVM shuts down.
Example for changing the MonitorMode:MonitorMode.SizeAndRRate Immutable surfaceSize, flags and refreshRate Class, consisting of it's read only components:
nativeIdSurfaceSize
surface memory sizeflags
refresh rate
NewtFactory NewtVersion Screen A screen may span multipleMonitorDevice
s representing their combined virtual size. -
Enum Summary Enum Description MonitorDevice.Orientation Window.ReparentOperation Reparenting operation types