| Modifier and Type | Field and Description |
|---|---|
| protected AbstractGraphicsScreen | |
| protected static final boolean | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| protected DisplayImpl | |
| protected String | |
| protected int | |
| protected int | |
| private final ArrayList | |
| protected int | |
| private long | |
| protected static Dimension | |
| protected static volatile boolean | |
| protected Rectangle | |
| protected Rectangle |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final synchronized void | addMonitorModeListener(final MonitorModeListener
MonitorModeListener to be added for MonitorEventImplements abstract com. |
| public final synchronized int | |
| protected void | calcVirtualScreenOriginAndSize(final Rectangle
storage for result in pixel units viewport, final Rectangle storage for result in window units viewportInWindowUnits)Calculates the virtual rotated viewport in pixel- and window units. |
| protected abstract void | |
| private final int | collectNativeMonitorModes(final MonitorModeProps.
Returns the number of successful collected |
| protected abstract void | collectNativeMonitorModesAndDevicesImpl(MonitorModeProps.
memory pool caching the result cacheTo be implemented by the native specification. |
| public static Screen | |
| public final synchronized void | createNative()
Implements abstract com. |
| protected abstract void | |
| public final synchronized void | destroy()
Implements abstract com. |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides com. getFQName() equals
|
| public final Display | |
| public final String | |
| public final AbstractGraphicsScreen | |
| public final int | |
| public final int | |
| public final List | getMonitorDevices()
Implements abstract com. MonitorDevices.
|
| public final List | getMonitorModes()
Implements abstract com. MonitorModes for all MonitorDevices.
|
| public MonitorDevice | getPrimaryMonitor()
Implements abstract com. MonitorDevice,
which holds the system menu bar, etc.
|
| public final synchronized int | |
| private static Class | |
| pack-priv final ScreenMonitorState | |
| public final RectangleImmutable | |
| public final RectangleImmutable | getViewportInWindowUnits()
Implements abstract com. |
| private final MonitorDevice | getVirtualMonitorDevice(final MonitorModeProps.
mandatory ! cache,
|
| private final MonitorMode | |
| public final int | |
| public final int | |
| public final int | |
| public int | hashCode()
Implements abstract com. getFQName()
|
| private final ScreenMonitorState | |
| pack-priv static void | |
| protected void | |
| public final synchronized boolean | |
| public void | monitorModeChanged(final MonitorEvent me, final boolean success)
Implements com. |
| public void | monitorModeChangeNotify(final MonitorEvent me)
Implements com. |
| protected abstract MonitorMode | |
| protected final MonitorMode | queryCurrentMonitorModeIntern(final MonitorDevice monitor)
Utilizes |
| private final void | |
| public final synchronized void | removeMonitorModeListener(final MonitorModeListener
MonitorModeListener to be removed from MonitorEventImplements abstract com. |
| public final synchronized int | removeReference()
Implements abstract com. Display#removeReference()
|
| protected abstract boolean | setCurrentMonitorModeImpl(MonitorDevice monitor, MonitorMode mode)
To be implemented by the native specification. |
| private final void | |
| pack-priv static final void | |
| public String | |
| private void | |
| protected boolean | updateNativeMonitorDeviceViewportImpl(final MonitorDevice monitor, final float[] pixelScale, final Rectangle viewportPU, final Rectangle viewportWU)
|
| protected void | |
| protected abstract int | validateScreenIndex(int idx)
Returns the validated screen index, which is either the passed |
| aScreen | back to summary |
|---|---|
| protected AbstractGraphicsScreen aScreen | |
| DEBUG_TEST_SCREENMODE_DISABLED | back to summary |
|---|---|
| protected static final boolean DEBUG_TEST_SCREENMODE_DISABLED | |
| default_sm_bpp | back to summary |
|---|---|
| public static final int default_sm_bpp | |
| default_sm_heightmm | back to summary |
|---|---|
| public static final int default_sm_heightmm | |
| default_sm_rate | back to summary |
|---|---|
| public static final int default_sm_rate | |
| default_sm_rotation | back to summary |
|---|---|
| public static final int default_sm_rotation | |
| default_sm_widthmm | back to summary |
|---|---|
| public static final int default_sm_widthmm | |
| display | back to summary |
|---|---|
| protected DisplayImpl display | |
| fqname | back to summary |
|---|---|
| protected String fqname | |
| hashCode | back to summary |
|---|---|
| protected int hashCode | |
| refCount | back to summary |
|---|---|
| protected int refCount | |
| refMonitorModeListener | back to summary |
|---|---|
| private final ArrayList<MonitorModeListener> refMonitorModeListener | |
| screen_idx | back to summary |
|---|---|
| protected int screen_idx | |
| tCreated | back to summary |
|---|---|
| private long tCreated | |
| usrSize | back to summary |
|---|---|
| protected static Dimension usrSize | |
| usrSizeQueried | back to summary |
|---|---|
| protected static volatile boolean usrSizeQueried | |
| virtViewportPU | back to summary |
|---|---|
| protected Rectangle virtViewportPU | |
| virtViewportWU | back to summary |
|---|---|
| protected Rectangle virtViewportWU | |
| ScreenImpl | back to summary |
|---|---|
| public ScreenImpl() | |
| addMonitorModeListener | back to summary |
|---|---|
| public final synchronized void addMonitorModeListener(final MonitorModeListener sml) Implements abstract com.
| |
| addReference | back to summary |
|---|---|
| public final synchronized int addReference() throws NativeWindowException Implements abstract com. Doc from com.
| |
| calcVirtualScreenOriginAndSize | back to summary |
|---|---|
| protected void calcVirtualScreenOriginAndSize(final Rectangle viewport, final Rectangle viewportInWindowUnits) Calculates the virtual rotated viewport in pixel- and window units. This method is called after the MonitorMode has been set or changed, hence you may utilize it.
Default implementation uses the union of all monitor's viewport,
calculated via | |
| closeNativeImpl | back to summary |
|---|---|
| protected abstract void closeNativeImpl() | |
| collectNativeMonitorModes | back to summary |
|---|---|
| private final int collectNativeMonitorModes(final MonitorModeProps. Returns the number of successful collected
Collects | |
| collectNativeMonitorModesAndDevicesImpl | back to summary |
|---|---|
| protected abstract void collectNativeMonitorModesAndDevicesImpl(MonitorModeProps. To be implemented by the native specification.
| |
| create | back to summary |
|---|---|
| public static Screen create(final Display display, int idx) | |
| createNative | back to summary |
|---|---|
| public final synchronized void createNative() throws NativeWindowException Implements abstract com. Doc from com. Manual trigger the native creation, if not done yet..
This method is usually invoke by
This method invokes
| |
| createNativeImpl | back to summary |
|---|---|
| protected abstract void createNativeImpl() | |
| destroy | back to summary |
|---|---|
| public final synchronized void destroy() Implements abstract com. Doc from com. Manually trigger the destruction, incl. native destruction.
This method is usually invoke by
This method invokes
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides com. Doc from com. return true if obj is of type Display and both FQN
| |
| getDisplay | back to summary |
|---|---|
| public final Display getDisplay() Implements abstract com.
| |
| getFQName | back to summary |
|---|---|
| public final String getFQName() Implements abstract com.
| |
| getGraphicsScreen | back to summary |
|---|---|
| public final AbstractGraphicsScreen getGraphicsScreen() Implements abstract com.
| |
| getHeight | back to summary |
|---|---|
| public final int getHeight() Implements abstract com.
| |
| getIndex | back to summary |
|---|---|
| public final int getIndex() Implements abstract com.
| |
| getMonitorDevices | back to summary |
|---|---|
| public final List Implements abstract com. Doc from com. Return a list of available
| |
| getMonitorModes | back to summary |
|---|---|
| public final List Implements abstract com. Doc from com. Return a list of all
The list is ordered in descending order,
see
| |
| getPrimaryMonitor | back to summary |
|---|---|
| public MonitorDevice getPrimaryMonitor() Implements abstract com. Doc from com. Returns the windowing manager's primary
| |
| getReferenceCount | back to summary |
|---|---|
| public final synchronized int getReferenceCount() Implements abstract com.
| |
| getScreenClass | back to summary |
|---|---|
| private static Class | |
| getScreenMonitorStatus | back to summary |
|---|---|
| pack-priv final ScreenMonitorState getScreenMonitorStatus(final boolean throwException) | |
| getViewport | back to summary |
|---|---|
| public final RectangleImmutable getViewport() Implements abstract com. Doc from com. See Coordinate System.
| |
| getViewportInWindowUnits | back to summary |
|---|---|
| public final RectangleImmutable getViewportInWindowUnits() Implements abstract com. Doc from com. See Coordinate System.
| |
| getVirtualMonitorDevice | back to summary |
|---|---|
private final MonitorDevice getVirtualMonitorDevice(final MonitorModeProps.
| |
| getVirtualMonitorMode | back to summary |
|---|---|
private final MonitorMode getVirtualMonitorMode(final MonitorModeProps.
| |
| getWidth | back to summary |
|---|---|
| public final int getWidth() Implements abstract com.
| |
| getX | back to summary |
|---|---|
| public final int getX() Implements abstract com. Doc from com. See Coordinate System.
| |
| getY | back to summary |
|---|---|
| public final int getY() Implements abstract com. Doc from com. See Coordinate System.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract com. Doc from com. return precomputed hashCode from FQN
| |
| initMonitorState | back to summary |
|---|---|
| private final ScreenMonitorState initMonitorState() | |
| initSingleton | back to summary |
|---|---|
| pack-priv static void initSingleton() Ensure static init has been run. | |
| instantiationFinished | back to summary |
|---|---|
| protected void instantiationFinished() Notifies the driver impl. that the instantiation is finished, ie. instance created and all fields set. | |
| isNativeValid | back to summary |
|---|---|
| public final synchronized boolean isNativeValid() Implements abstract com.
| |
| monitorModeChanged | back to summary |
|---|---|
| public void monitorModeChanged(final MonitorEvent me, final boolean success) Implements com. Doc from com. called after the monitor mode has been changed
| |
| monitorModeChangeNotify | back to summary |
|---|---|
| public void monitorModeChangeNotify(final MonitorEvent me) Implements com. Doc from com. called before the monitor mode will be changed
| |
| queryCurrentMonitorModeImpl | back to summary |
|---|---|
| protected abstract MonitorMode queryCurrentMonitorModeImpl(MonitorDevice monitor) To be implemented by the native specification.
Implementation shall not unify the result w/ monitor's supported modes or a locally
saved | |
| queryCurrentMonitorModeIntern | back to summary |
|---|---|
| protected final MonitorMode queryCurrentMonitorModeIntern(final MonitorDevice monitor) Utilizes | |
| releaseMonitorState | back to summary |
|---|---|
| private final void releaseMonitorState() | |
| removeMonitorModeListener | back to summary |
|---|---|
| public final synchronized void removeMonitorModeListener(final MonitorModeListener sml) Implements abstract com.
| |
| removeReference | back to summary |
|---|---|
| public final synchronized int removeReference() Implements abstract com. Doc from com.
| |
| setCurrentMonitorModeImpl | back to summary |
|---|---|
| protected abstract boolean setCurrentMonitorModeImpl(MonitorDevice monitor, MonitorMode mode) To be implemented by the native specification. | |
| shutdown | back to summary |
|---|---|
| private final void shutdown() | |
| shutdownAll | back to summary |
|---|---|
| pack-priv static final void shutdownAll() pp | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| updateNativeMonitorDevicesViewport | back to summary |
|---|---|
| private void updateNativeMonitorDevicesViewport() | |
| updateNativeMonitorDeviceViewportImpl | back to summary |
|---|---|
| protected boolean updateNativeMonitorDeviceViewportImpl(final MonitorDevice monitor, final float[] pixelScale, final Rectangle viewportPU, final Rectangle viewportWU) | |
| updateVirtualScreenOriginAndSize | back to summary |
|---|---|
| protected void updateVirtualScreenOriginAndSize() Updates the rotated virtual viewport, may use native impl. | |
| validateScreenIndex | back to summary |
|---|---|
| protected abstract int validateScreenIndex(int idx) Returns the validated screen index, which is either the passed On big-desktops this shall return always 0. | |