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 rateandflags.rotation, measured counter clockwise (CCW) Aquire and filter MonitorMode
MonitorDeviceSelection: A List of allMonitorDevices 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().MonitorModeFiltering: AMonitorDevice's MonitorModes is accessible viaMonitorDevice.getSupportedModes(). You may utilizeMonitorModeUtilto filter and select a desired MonitorMode.
Changing MonitorMode
UseMonitorDevice.setCurrentMode(MonitorMode)to change the current MonitorMode for allScreens referenced via thefull qualified name (FQN). Theoriginal modeis 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:
nativeIdSurfaceSizesurface memory sizeflagsrefresh rateNewtFactory NewtVersion Screen A screen may span multipleMonitorDevices representing their combined virtual size. -
Enum Summary Enum Description MonitorDevice.Orientation Window.ReparentOperation Reparenting operation types