|
| abstract int | hashCode () |
| | return precomputed hashCode from FQN getFQName() More...
|
| |
| boolean | equals (final Object obj) |
| | return true if obj is of type Display and both FQN getFQName() equals More...
|
| |
| abstract PixelFormat | getNativePointerIconPixelFormat () |
| | Returns the native platform's PixelFormat for pointer-icon pixel data. More...
|
| |
| abstract boolean | getNativePointerIconForceDirectNIO () |
| | Returns the native platform's direct NIO buffer requirement pointer-icon pixel data. More...
|
| |
| abstract PointerIcon | createPointerIcon (final IOUtil.ClassResources pngResource, final int hotX, final int hotY) throws IllegalArgumentException, IllegalStateException, IOException |
| | Returns the newly created PointerIcon or null if not implemented on platform. More...
|
| |
| abstract PointerIcon | createPointerIcon (final PixelRectangle pixelrect, final int hotX, final int hotY) throws IllegalArgumentException, IllegalStateException |
| | Returns the newly created PointerIcon or null if not implemented on platform. More...
|
| |
| abstract void | createNative () throws NativeWindowException |
| | Manual trigger the native creation, if it is not done yet. More...
|
| |
| abstract void | destroy () |
| | Manually trigger the destruction, incl. More...
|
| |
| abstract boolean | validateEDTStopped () |
| | Validate EDT running state. More...
|
| |
| abstract boolean | isNativeValid () |
| |
| abstract int | getReferenceCount () |
| |
| abstract int | addReference () throws NativeWindowException |
| | The 1st call will initiate native creation, since we follow the lazy creation pattern. More...
|
| |
| abstract int | removeReference () |
| | The last call may destroy this instance, if getDestroyWhenUnused() returns true. More...
|
| |
| abstract AbstractGraphicsDevice | getGraphicsDevice () |
| | Return the AbstractGraphicsDevice used for depending resources lifecycle, i.e. More...
|
| |
| abstract long | getHandle () |
| | Return the handle of the AbstractGraphicsDevice as returned by getGraphicsDevice(). More...
|
| |
| abstract String | getFQName () |
| |
| abstract int | getId () |
| |
| abstract String | getName () |
| |
| abstract String | getType () |
| |
| abstract boolean | isExclusive () |
| | Return true if this instance is exclusive, i.e. More...
|
| |
| abstract EDTUtil | setEDTUtil (EDTUtil usrEDTUtil) |
| | Sets a new EDTUtil and returns the previous one. More...
|
| |
| abstract EDTUtil | getEDTUtil () |
| |
| abstract boolean | isEDTRunning () |
| |
| abstract void | dispatchMessages () |
| |
|
| static final boolean | DEBUG = Debug.debug("Display") |
| |
Definition at line 48 of file Display.java.
◆ addDisplay2List()
| static void com.jogamp.newt.Display.addDisplay2List |
( |
final Display |
display | ) |
|
|
staticprotected |
◆ addReference()
The 1st call will initiate native creation, since we follow the lazy creation pattern.
- Returns
- number of references post operation
- Exceptions
-
| NativeWindowException | if the native creation failed. |
- See also
- removeReference()
◆ createNative()
◆ createPointerIcon() [1/2]
| abstract PointerIcon com.jogamp.newt.Display.createPointerIcon |
( |
final IOUtil.ClassResources |
pngResource, |
|
|
final int |
hotX, |
|
|
final int |
hotY |
|
) |
| throws IllegalArgumentException, IllegalStateException, IOException |
|
abstract |
◆ createPointerIcon() [2/2]
| abstract PointerIcon com.jogamp.newt.Display.createPointerIcon |
( |
final PixelRectangle |
pixelrect, |
|
|
final int |
hotX, |
|
|
final int |
hotY |
|
) |
| throws IllegalArgumentException, IllegalStateException |
|
abstract |
◆ destroy()
| abstract void com.jogamp.newt.Display.destroy |
( |
| ) |
|
|
abstract |
Manually trigger the destruction, incl.
native destruction.
This method is usually invoke by removeReference()
◆ dispatchMessages()
| abstract void com.jogamp.newt.Display.dispatchMessages |
( |
| ) |
|
|
abstract |
◆ dumpDisplayList()
| static void com.jogamp.newt.Display.dumpDisplayList |
( |
final String |
prefix | ) |
|
|
static |
◆ equals()
| boolean com.jogamp.newt.Display.equals |
( |
final Object |
obj | ) |
|
◆ getActiveDisplayNumber()
| static int com.jogamp.newt.Display.getActiveDisplayNumber |
( |
| ) |
|
|
static |
◆ getAllDisplays()
| static Collection< Display > com.jogamp.newt.Display.getAllDisplays |
( |
| ) |
|
|
static |
Returns the global display collection.
Definition at line 434 of file Display.java.
◆ getEDTUtil()
| abstract EDTUtil com.jogamp.newt.Display.getEDTUtil |
( |
| ) |
|
|
abstract |
◆ getFirstDisplayOf()
| static Display com.jogamp.newt.Display.getFirstDisplayOf |
( |
final String |
type, |
|
|
final String |
name, |
|
|
final int |
fromIndex, |
|
|
final boolean |
shared |
|
) |
| |
|
static |
- Parameters
-
| type | |
| name | |
| fromIndex | start index, then increasing until found or end of list @paran shared if true, only shared instances are found, otherwise also exclusive |
- Returns
Definition at line 376 of file Display.java.
◆ getFQName()
| abstract String com.jogamp.newt.Display.getFQName |
( |
| ) |
|
|
abstract |
◆ getGraphicsDevice()
◆ getHandle()
| abstract long com.jogamp.newt.Display.getHandle |
( |
| ) |
|
|
abstract |
◆ getId()
| abstract int com.jogamp.newt.Display.getId |
( |
| ) |
|
|
abstract |
- Returns
- this display internal serial id
◆ getLastDisplayOf()
| static Display com.jogamp.newt.Display.getLastDisplayOf |
( |
final String |
type, |
|
|
final String |
name, |
|
|
final int |
fromIndex, |
|
|
final boolean |
shared |
|
) |
| |
|
static |
- Parameters
-
| type | |
| name | |
| fromIndex | start index, then decreasing until found or end of list. -1 is interpreted as size - 1. |
| shared | if true, only shared instances are found, otherwise also exclusive |
- Returns
Definition at line 388 of file Display.java.
◆ getName()
| abstract String com.jogamp.newt.Display.getName |
( |
| ) |
|
|
abstract |
◆ getNativePointerIconForceDirectNIO()
| abstract boolean com.jogamp.newt.Display.getNativePointerIconForceDirectNIO |
( |
| ) |
|
|
abstract |
◆ getNativePointerIconPixelFormat()
| abstract PixelFormat com.jogamp.newt.Display.getNativePointerIconPixelFormat |
( |
| ) |
|
|
abstract |
◆ getReferenceCount()
| abstract int com.jogamp.newt.Display.getReferenceCount |
( |
| ) |
|
|
abstract |
- Returns
- number of references
◆ getThreadName()
| static String com.jogamp.newt.Display.getThreadName |
( |
| ) |
|
|
static |
◆ getType()
| abstract String com.jogamp.newt.Display.getType |
( |
| ) |
|
|
abstract |
◆ hashCode()
| abstract int com.jogamp.newt.Display.hashCode |
( |
| ) |
|
|
abstract |
◆ hashCodeNullSafe()
| static int com.jogamp.newt.Display.hashCodeNullSafe |
( |
final Object |
o | ) |
|
|
static |
◆ isEDTRunning()
| abstract boolean com.jogamp.newt.Display.isEDTRunning |
( |
| ) |
|
|
abstract |
- Returns
- true if EDT is running and not subject to be stopped, otherwise false.
◆ isExclusive()
| abstract boolean com.jogamp.newt.Display.isExclusive |
( |
| ) |
|
|
abstract |
Return true if this instance is exclusive, i.e.
will not be shared.
◆ isNativeValid()
| abstract boolean com.jogamp.newt.Display.isNativeValid |
( |
| ) |
|
|
abstract |
- Returns
- true if the native display handle is valid and ready to operate, otherwise false.
- See also
- destroy()
◆ removeReference()
| abstract int com.jogamp.newt.Display.removeReference |
( |
| ) |
|
|
abstract |
The last call may destroy this instance, if getDestroyWhenUnused() returns true.
- Returns
- number of references post operation
- See also
- addReference()
-
#getDestroyWhenUnused()
-
#setDestroyWhenUnused(boolean)
◆ setEDTUtil()
| abstract EDTUtil com.jogamp.newt.Display.setEDTUtil |
( |
EDTUtil |
usrEDTUtil | ) |
|
|
abstract |
Sets a new EDTUtil and returns the previous one.
If usrEDTUtil is null, the device's default EDTUtil is created and used.
If a previous one exists and it differs from usrEDTUtil, it's being stopped, wait-until-idle.
If usrEDTUtil is not null and equals the previous one, no change is being made.
◆ toHexString() [1/2]
| static String com.jogamp.newt.Display.toHexString |
( |
final int |
hex | ) |
|
|
static |
◆ toHexString() [2/2]
| static String com.jogamp.newt.Display.toHexString |
( |
final long |
hex | ) |
|
|
static |
◆ validateEDTStopped()
| abstract boolean com.jogamp.newt.Display.validateEDTStopped |
( |
| ) |
|
|
abstract |
Validate EDT running state.
Stop the running EDT in case this display is destroyed already.
- Returns
- true if EDT has been stopped (destroyed but running), otherwise false.
◆ DEBUG
| final boolean com.jogamp.newt.Display.DEBUG = Debug.debug("Display") |
|
static |
◆ DEBUG_POINTER_ICON
| final boolean com.jogamp.newt.Display.DEBUG_POINTER_ICON = Debug.debug("Display.PointerIcon") |
|
staticprotected |
◆ displayList
| final ArrayList<WeakReference<Display> > com.jogamp.newt.Display.displayList = new ArrayList<WeakReference<Display>>() |
|
staticprotected |
◆ displaysActive
| int com.jogamp.newt.Display.displaysActive = 0 |
|
staticprotected |
The documentation for this class was generated from the following file: