| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile int | |
| private final int | |
| private static final int | |
| private static Screen. | |
| private final int | |
| private final float | |
| private final float | |
| private final int | |
| private final float | |
| private final float | |
| private final int | |
| private final int | |
| private final int | |
| private volatile long | |
| private final int | |
| private final int | |
| private static volatile List | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | Screen(long nativePtr, int depth, int x, int y, int width, int height, int platformX, int platformY, int platformWidth, int platformHeight, int visibleX, int visibleY, int visibleWidth, int visibleHeight, int resolutionX, int resolutionY, float platformScaleX, float platformScaleY, float outputScaleX, float outputScaleY)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| private void | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public float | |
| public float | |
| public int | |
| public int | |
| public int | |
| public static Screen | |
| public long | |
| public int | |
| public float | Returns: platform X scalingReturns the horizontal scaling of the UI (window sizes and event coordinates) from FX logical units to the platform units. |
| public float | Returns: platform Y scalingReturns the vertical scaling of the UI (window sizes and event coordinates) from FX logical units to the platform units. |
| public int | |
| public int | |
| public int | |
| public float | Returns: recommended render X scalingReturns the recommended horizontal scaling for the rendered frames. |
| public float | Returns: recommended render Y scalingReturns the recommended vertical scaling for the rendered frames. |
| public int | |
| public int | |
| public static List | |
| public static double | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| pack-priv static void | |
| public static void | |
| public float | |
| public void | |
| public static void | |
| public int | |
| public int | |
| public String |
| adapter | back to summary |
|---|---|
| private volatile int adapter | |
| depth | back to summary |
|---|---|
| private final int depth | |
| dpiOverride | back to summary |
|---|---|
| private static final int dpiOverride | |
| eventHandler | back to summary |
|---|---|
| private static Screen. | |
| height | back to summary |
|---|---|
| private final int height | |
| outputScaleX | back to summary |
|---|---|
| private final float outputScaleX | |
| outputScaleY | back to summary |
|---|---|
| private final float outputScaleY | |
| platformHeight | back to summary |
|---|---|
| private final int platformHeight | |
| platformScaleX | back to summary |
|---|---|
| private final float platformScaleX | |
| platformScaleY | back to summary |
|---|---|
| private final float platformScaleY | |
| platformWidth | back to summary |
|---|---|
| private final int platformWidth | |
| platformX | back to summary |
|---|---|
| private final int platformX | |
| platformY | back to summary |
|---|---|
| private final int platformY | |
| ptr | back to summary |
|---|---|
| private volatile long ptr | |
| resolutionX | back to summary |
|---|---|
| private final int resolutionX | |
| resolutionY | back to summary |
|---|---|
| private final int resolutionY | |
| screens | back to summary |
|---|---|
| private static volatile List<Screen> screens | |
| visibleHeight | back to summary |
|---|---|
| private final int visibleHeight | |
| visibleWidth | back to summary |
|---|---|
| private final int visibleWidth | |
| visibleX | back to summary |
|---|---|
| private final int visibleX | |
| visibleY | back to summary |
|---|---|
| private final int visibleY | |
| width | back to summary |
|---|---|
| private final int width | |
| x | back to summary |
|---|---|
| private final int x | |
| y | back to summary |
|---|---|
| private final int y | |
| Screen | back to summary |
|---|---|
| public Screen(long nativePtr, int depth, int x, int y, int width, int height, int platformX, int platformY, int platformWidth, int platformHeight, int visibleX, int visibleY, int visibleWidth, int visibleHeight, int resolutionX, int resolutionY, float platformScaleX, float platformScaleY, float outputScaleX, float outputScaleY) | |
| containsPlatformCoords | back to summary |
|---|---|
| public boolean containsPlatformCoords(int x, int y) | |
| containsPlatformRect | back to summary |
|---|---|
| public boolean containsPlatformRect(int x, int y, int w, int h) | |
| dispose | back to summary |
|---|---|
| private void dispose() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| fromPlatformX | back to summary |
|---|---|
| public float fromPlatformX(int px) | |
| fromPlatformY | back to summary |
|---|---|
| public float fromPlatformY(int py) | |
| getAdapterOrdinal | back to summary |
|---|---|
| public int getAdapterOrdinal() | |
| getDepth | back to summary |
|---|---|
| public int getDepth() Could be called from any thread | |
| getHeight | back to summary |
|---|---|
| public int getHeight() Could be called from any thread | |
| getMainScreen | back to summary |
|---|---|
| public static Screen getMainScreen() Could be called from any thread
| |
| getNativeScreen | back to summary |
|---|---|
| public long getNativeScreen() Could be called from any thread | |
| getPlatformHeight | back to summary |
|---|---|
| public int getPlatformHeight() Could be called from any thread | |
| getPlatformScaleX | back to summary |
|---|---|
| public float getPlatformScaleX() Returns the horizontal scaling of the UI (window sizes and event coordinates) from FX logical units to the platform units. Could be called from any thread
| |
| getPlatformScaleY | back to summary |
|---|---|
| public float getPlatformScaleY() Returns the vertical scaling of the UI (window sizes and event coordinates) from FX logical units to the platform units. Could be called from any thread
| |
| getPlatformWidth | back to summary |
|---|---|
| public int getPlatformWidth() Could be called from any thread | |
| getPlatformX | back to summary |
|---|---|
| public int getPlatformX() Could be called from any thread | |
| getPlatformY | back to summary |
|---|---|
| public int getPlatformY() Could be called from any thread | |
| getRecommendedOutputScaleX | back to summary |
|---|---|
| public float getRecommendedOutputScaleX() Returns the recommended horizontal scaling for the rendered frames. Could be called from any thread
| |
| getRecommendedOutputScaleY | back to summary |
|---|---|
| public float getRecommendedOutputScaleY() Returns the recommended vertical scaling for the rendered frames. Could be called from any thread
| |
| getResolutionX | back to summary |
|---|---|
| public int getResolutionX() Could be called from any thread | |
| getResolutionY | back to summary |
|---|---|
| public int getResolutionY() Could be called from any thread | |
| getScreens | back to summary |
|---|---|
| public static List Could be called from any thread | |
| getVideoRefreshPeriod | back to summary |
|---|---|
| public static double getVideoRefreshPeriod() | |
| getVisibleHeight | back to summary |
|---|---|
| public int getVisibleHeight() Could be called from any thread | |
| getVisibleWidth | back to summary |
|---|---|
| public int getVisibleWidth() Could be called from any thread | |
| getVisibleX | back to summary |
|---|---|
| public int getVisibleX() Could be called from any thread | |
| getVisibleY | back to summary |
|---|---|
| public int getVisibleY() Could be called from any thread | |
| getWidth | back to summary |
|---|---|
| public int getWidth() Could be called from any thread | |
| getX | back to summary |
|---|---|
| public int getX() Could be called from any thread | |
| getY | back to summary |
|---|---|
| public int getY() Could be called from any thread | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initScreens | back to summary |
|---|---|
| pack-priv static void initScreens() | |
| notifySettingsChanged | back to summary |
|---|---|
| public static void notifySettingsChanged() Called from native when the Screen definitions change. | |
| portionIntersectsPlatformRect | back to summary |
|---|---|
| public float portionIntersectsPlatformRect(int x, int y, int w, int h) | |
| setAdapterOrdinal | back to summary |
|---|---|
| public void setAdapterOrdinal(int adapter) | |
| setEventHandler | back to summary |
|---|---|
| public static void setEventHandler(Screen. | |
| toPlatformX | back to summary |
|---|---|
| public int toPlatformX(float ux) | |
| toPlatformY | back to summary |
|---|---|
| public int toPlatformY(float uy) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| EventHandler | back to summary |
|---|---|
| public EventHandler() | |
| handleSettingsChanged | back to summary |
|---|---|
| public void handleSettingsChanged() | |