| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| protected AbstractGraphicsDevice | |
| protected final Runnable | |
| protected volatile EDTUtil | |
| private ArrayList | |
| private final Object | |
| protected boolean | |
| protected String | |
| protected int | |
| private volatile boolean | |
| protected int | |
| protected String | |
| public static final String | |
| private static final boolean | |
| pack-priv final ArrayList | |
| protected int | |
| private static int | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final synchronized int | addReference()
Implements abstract com. |
| protected abstract void | |
| public static Display | |
| protected EDTUtil | |
| public final synchronized void | createNative()
Implements abstract com. |
| protected abstract void | |
| public final Display. | createPointerIcon(final IOUtil.
single PNG resource for the pngResource,PointerIcon. Only the first entry of IOUtil. is used.pointer hotspot x-coord, origin is upper-left corner hotX, final int pointer hotspot y-coord, origin is upper-left corner hotY)Implements abstract com. PointerIcon or null if not implemented on platform.
|
| public final Display. | createPointerIcon(final PixelRectangle
PixelRectangle source for the PointerIconpointer hotspot x-coord, origin is upper-left corner hotX, final int pointer hotspot y-coord, origin is upper-left corner hotY)Implements abstract com. PointerIcon or null if not implemented on platform.
|
| protected long | Returns: if successful a valid handle (not null), otherwise null.the pixelformat, final int pixels's formatthe width, final int pixels's widththe height, final ByteBuffer pixels's heightthe pixels, final int pixelsthe PointerIcon's hot-spot x-coord hotX, final int the PointerIcon's hot-spot x-coord hotY)Executed from EDT! |
| protected final long | Returns: if successful a valid handle (not null), otherwise null.the pixelformat, final int pixels's formatthe width, final int pixels's widththe height, final ByteBuffer pixels's heightthe pixels, final int pixelsthe PointerIcon's hot-spot x-coord hotX, final int the PointerIcon's hot-spot x-coord hotY)Executed from EDT! |
| public final synchronized void | destroy()
Implements abstract com. |
| private void | |
| protected void | |
| pack-priv final void | |
| pack-priv final void | |
| public void | |
| protected abstract void | |
| public void | |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides com. getFQName() equals
|
| private static Class | |
| public final EDTUtil | |
| public final String | |
| private static String | |
| public final AbstractGraphicsDevice | getGraphicsDevice()
Implements abstract com. AbstractGraphicsDevice used for depending resources lifecycle,
i.e. Screen and Window, as well as the event dispatching (EDT).
|
| public final long | getHandle()
Implements abstract com. AbstractGraphicsDevice as returned by getGraphicsDevice().
|
| public final int | |
| public final String | |
| public boolean | getNativePointerIconForceDirectNIO()
Implements abstract com. |
| public PixelFormat | getNativePointerIconPixelFormat()
Implements abstract com. PixelFormat for pointer-icon pixel data.
|
| public final synchronized int | |
| public final String | |
| public int | hashCode()
Implements abstract com. getFQName()
|
| pack-priv static void | |
| public boolean | |
| public final boolean | isExclusive()
Implements abstract com. |
| public final synchronized boolean | |
| protected final boolean | |
| public static final boolean | |
| public final synchronized int | removeReference()
Implements abstract com. getDestroyWhenUnused() returns true.
|
| public void | |
| public static final <T> T | runWithLockedDevice(final AbstractGraphicsDevice device, final DisplayImpl.
|
| public final <T> T | |
| public synchronized EDTUtil | setEDTUtil(final EDTUtil usrEDTUtil)
Implements abstract com. EDTUtil and returns the previous one.
|
| pack-priv static final void | |
| private static void | |
| public String | |
| public String | |
| public boolean | validateEDTStopped()
Implements abstract com. |
| aDevice | back to summary |
|---|---|
| protected AbstractGraphicsDevice aDevice | |
| dispatchMessagesRunnable | back to summary |
|---|---|
| protected final Runnable dispatchMessagesRunnable | |
| edtUtil | back to summary |
|---|---|
| protected volatile EDTUtil edtUtil | |
| events | back to summary |
|---|---|
| private ArrayList<NEWTEventTask> events | |
| eventsLock | back to summary |
|---|---|
| private final Object eventsLock | |
| exclusive | back to summary |
|---|---|
| protected boolean exclusive | |
| fqname | back to summary |
|---|---|
| protected String fqname | |
| hashCode | back to summary |
|---|---|
| protected int hashCode | |
| haveEvents | back to summary |
|---|---|
| private volatile boolean haveEvents | |
| id | back to summary |
|---|---|
| protected int id | |
| name | back to summary |
|---|---|
| protected String name | |
| nilString | back to summary |
|---|---|
| public static final String nilString | |
| pngUtilAvail | back to summary |
|---|---|
| private static final boolean pngUtilAvail | |
| pointerIconList | back to summary |
|---|---|
| pack-priv final ArrayList<PointerIconImpl> pointerIconList | |
| refCount | back to summary |
|---|---|
| protected int refCount | |
| serialno | back to summary |
|---|---|
| private static int serialno | |
| type | back to summary |
|---|---|
| protected String type | |
| DisplayImpl | back to summary |
|---|---|
| public DisplayImpl() | |
| addReference | back to summary |
|---|---|
| public final synchronized int addReference() Implements abstract com. Doc from com. The 1st call will initiate native creation, since we follow the lazy creation pattern.
| |
| closeNativeImpl | back to summary |
|---|---|
| protected abstract void closeNativeImpl(AbstractGraphicsDevice aDevice) | |
| create | back to summary |
|---|---|
| public static Display create(final String type, String name, final long handle, final boolean reuse) Make sure to reuse a Display with the same name | |
| createEDTUtil | back to summary |
|---|---|
| protected EDTUtil createEDTUtil() | |
| createNative | back to summary |
|---|---|
| public final synchronized void createNative() throws NativeWindowException Implements abstract com. Doc from com. Manual trigger the native creation, if it is not done yet.
This method is usually invoke by
| |
| createNativeImpl | back to summary |
|---|---|
| protected abstract void createNativeImpl() | |
| createPointerIcon | back to summary |
|---|---|
| public final Display. Implements abstract com. Doc from com. Returns the newly created
See
| |
| createPointerIcon | back to summary |
|---|---|
| public final Display. Implements abstract com. Doc from com. Returns the newly created
See
In case
| |
| createPointerIconImpl | back to summary |
|---|---|
| protected long createPointerIconImpl(final PixelFormat pixelformat, final int width, final int height, final ByteBuffer pixels, final int hotX, final int hotY) Executed from EDT!
| |
| createPointerIconImplChecked | back to summary |
|---|---|
| protected final long createPointerIconImplChecked(final PixelFormat pixelformat, final int width, final int height, final ByteBuffer pixels, final int hotX, final int hotY) Executed from EDT!
| |
| 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
| |
| destroyAllPointerIconFromList | back to summary |
|---|---|
| private void destroyAllPointerIconFromList(final long dpy) Executed from EDT! | |
| destroyPointerIconImpl | back to summary |
|---|---|
| protected void destroyPointerIconImpl(final long displayHandle, final long piHandle) Executed from EDT! | |
| dispatchMessage | back to summary |
|---|---|
| pack-priv final void dispatchMessage(final NEWTEvent event) | |
| dispatchMessage | back to summary |
|---|---|
| pack-priv final void dispatchMessage(final NEWTEventTask eventTask) | |
| dispatchMessages | back to summary |
|---|---|
| public void dispatchMessages() Implements abstract com.
| |
| dispatchMessagesNative | back to summary |
|---|---|
| protected abstract void dispatchMessagesNative() Dispatch native Toolkit messageges | |
| enqueueEvent | back to summary |
|---|---|
| public void enqueueEvent(final boolean wait, final NEWTEvent e) | |
| 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
| |
| getDisplayClass | back to summary |
|---|---|
| private static Class | |
| getEDTUtil | back to summary |
|---|---|
| public final EDTUtil getEDTUtil() Implements abstract com.
| |
| getFQName | back to summary |
|---|---|
| public final String getFQName() Implements abstract com. | |
| getFQName | back to summary |
|---|---|
| private static String getFQName(String type, String name, final int id) | |
| getGraphicsDevice | back to summary |
|---|---|
| public final AbstractGraphicsDevice getGraphicsDevice() Implements abstract com. Doc from com. Return the
| |
| getHandle | back to summary |
|---|---|
| public final long getHandle() Implements abstract com. Doc from com. Return the handle of the
| |
| getId | back to summary |
|---|---|
| public final int getId() Implements abstract com.
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements abstract com.
| |
| getNativePointerIconForceDirectNIO | back to summary |
|---|---|
| public boolean getNativePointerIconForceDirectNIO() Implements abstract com. Doc from com. Returns the native platform's direct NIO buffer requirement pointer-icon pixel data.
Using this value will avoid conversion within
| |
| getNativePointerIconPixelFormat | back to summary |
|---|---|
| public PixelFormat getNativePointerIconPixelFormat() Implements abstract com. Doc from com. Returns the native platform's
Using this value will avoid conversion within Known native pixel formats are:
| |
| getReferenceCount | back to summary |
|---|---|
| public final synchronized int getReferenceCount() Implements abstract com.
| |
| getType | back to summary |
|---|---|
| public final String getType() Implements abstract com.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract com. Doc from com. return precomputed hashCode from FQN
| |
| initSingleton | back to summary |
|---|---|
| pack-priv static void initSingleton() Ensure static init has been run. | |
| isEDTRunning | back to summary |
|---|---|
| public boolean isEDTRunning() Implements abstract com.
| |
| isExclusive | back to summary |
|---|---|
| public final boolean isExclusive() Implements abstract com. Doc from com. Return true if this instance is exclusive, i.e. will not be shared.
| |
| isNativeValid | back to summary |
|---|---|
| public final synchronized boolean isNativeValid() Implements abstract com.
| |
| isNativeValidAsync | back to summary |
|---|---|
| protected final boolean isNativeValidAsync() | |
| isPNGUtilAvailable | back to summary |
|---|---|
| public static final boolean isPNGUtilAvailable() | |
| removeReference | back to summary |
|---|---|
| public final synchronized int removeReference() Implements abstract com. Doc from com. The last call may destroy this instance,
if
| |
| runOnEDTIfAvail | back to summary |
|---|---|
| public void runOnEDTIfAvail(final boolean wait, final Runnable task) | |
| runWithLockedDevice | back to summary |
|---|---|
| public static final <T> T runWithLockedDevice(final AbstractGraphicsDevice device, final DisplayImpl. | |
| runWithLockedDisplayDevice | back to summary |
|---|---|
| public final <T> T runWithLockedDisplayDevice(final DisplayImpl. | |
| setEDTUtil | back to summary |
|---|---|
| public synchronized EDTUtil setEDTUtil(final EDTUtil usrEDTUtil) Implements abstract com. Doc from com. Sets a new
If
If a previous one exists and it differs from
If
| |
| shutdownAll | back to summary |
|---|---|
| pack-priv static final void shutdownAll() May be utilized at a shutdown hook, impl. does not block. | |
| stopEDT | back to summary |
|---|---|
| private static void stopEDT(final EDTUtil edtUtil, final Runnable task) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| validateDisplayName | back to summary |
|---|---|
| public String validateDisplayName(String name, final long handle) | |
| validateEDTStopped | back to summary |
|---|---|
| public boolean validateEDTStopped() Implements abstract com. Doc from com. Validate EDT running state.
| |
| Modifier and Type | Method and Description |
|---|---|
| public T |
| run | back to summary |
|---|---|
| public T run(long dpy) | |