| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| public | X11GraphicsDevice(final String connection, final int unitID)
Constructs a new X11GraphicsDevice corresponding to the given connection and default
|
| public | X11GraphicsDevice(final long display, final int unitID, final boolean owner)
Constructs a new X11GraphicsDevice corresponding to the given native display handle and default
|
| public | X11GraphicsDevice(final long
the Display connection display, final int unitID, final ToolkitLock custom locker, final boolean owner)com., eg to force null locking w/ private connection
|
| public | X11GraphicsDevice(final String
the semantic display connection name displayConnection, final int unitID, final ToolkitLock custom locker)com., eg to force null locking w/ private connectionConstructs a new X11GraphicsDevice corresponding to the given display connection. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | clone()
Overrides com. Implements com. |
| public boolean | close()
Overrides com. Implements com. null.
|
| public int | getDefaultScreen()
Returns the default screen number as referenced by the display connection, i.e. 'somewhere:0.1' -> 1
Implementation uses the XLib macro |
| private static int | |
| public int | |
| protected Object | |
| public boolean | |
| public final boolean | |
| public boolean | open()
Overrides com. Implements com. null.
|
| protected Object | setHandleOwnership(final Object newOwnership)
Overrides com. |
| handleOwner | back to summary |
|---|---|
| pack-priv boolean handleOwner | |
| isXineramaEnabled | back to summary |
|---|---|
| pack-priv final boolean isXineramaEnabled | |
| X11GraphicsDevice | back to summary |
|---|---|
| public X11GraphicsDevice(final String connection, final int unitID) Constructs a new X11GraphicsDevice corresponding to the given connection and default
| |
| X11GraphicsDevice | back to summary |
|---|---|
| public X11GraphicsDevice(final long display, final int unitID, final boolean owner) Constructs a new X11GraphicsDevice corresponding to the given native display handle and default
| |
| X11GraphicsDevice | back to summary |
|---|---|
public X11GraphicsDevice(final long display, final int unitID, final ToolkitLock locker, final boolean owner)
| |
| X11GraphicsDevice | back to summary |
|---|---|
| public X11GraphicsDevice(final String displayConnection, final int unitID, final ToolkitLock locker) Constructs a new X11GraphicsDevice corresponding to the given display connection. The constructor opens the native connection and takes ownership.
| |
| clearHandleOwner | back to summary |
|---|---|
| public void clearHandleOwner() Overrides com. Implements com.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides com. Implements com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| close | back to summary |
|---|---|
| public boolean close() Overrides com. Implements com. Doc from com. Optionally closing the device if handle is not
The default implementation
Example implementations like
| |
| getDefaultScreen | back to summary |
|---|---|
| public int getDefaultScreen() Returns the default screen number as referenced by the display connection, i.e. 'somewhere:0.1' -> 1
Implementation uses the XLib macro | |
| getDefaultScreenImpl | back to summary |
|---|---|
| private static int getDefaultScreenImpl(final long dpy) | |
| getDefaultVisualID | back to summary |
|---|---|
| public int getDefaultVisualID() | |
| getHandleOwnership | back to summary |
|---|---|
| protected Object getHandleOwnership() Overrides com.
| |
| isHandleOwner | back to summary |
|---|---|
| public boolean isHandleOwner() Overrides com. Implements com.
| |
| isXineramaEnabled | back to summary |
|---|---|
| public final boolean isXineramaEnabled() | |
| open | back to summary |
|---|---|
| public boolean open() Overrides com. Implements com. Doc from com. Optionally [re]opening the device if handle is
The default implementation is a
Example implementations like
| |
| setHandleOwnership | back to summary |
|---|---|
| protected Object setHandleOwnership(final Object newOwnership) Overrides com.
| |