| Modifier and Type | Field and Description |
|---|---|
| public static final boolean | |
| public static final String | DEFAULT_CONNECTION
Dummy connection value for a default connection where no native support for multiple devices is available |
| public static final int | DEFAULT_UNIT
Default unit id for the 1st device: 0 |
| public static final String | EXTERNAL_CONNECTION
Dummy connection value for an external connection where no native support for multiple devices is available |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | |
| public boolean | Returns: true if the handle was notnull and closing was successful, otherwise false.Optionally closing the device if handle is not |
| public String | |
| public long | |
| public String | getType()
Returns the type of the underlying subsystem, ie NativeWindowFactory.TYPE_KD, NativeWindowFactory.TYPE_X11, .. |
| public String | getUniqueID()
Returns a unique ID object of this device using |
| public int | |
| public boolean | |
| public void | |
| public boolean | Returns: true if the handle wasnull and opening was successful, otherwise false.Optionally [re]opening the device if handle is |
| public void | |
| public void |
| DEBUG | back to summary |
|---|---|
| public static final boolean DEBUG | |
| DEFAULT_CONNECTION | back to summary |
|---|---|
| public static final String DEFAULT_CONNECTION Dummy connection value for a default connection where no native support for multiple devices is available | |
| DEFAULT_UNIT | back to summary |
|---|---|
| public static final int DEFAULT_UNIT Default unit id for the 1st device: 0 | |
| EXTERNAL_CONNECTION | back to summary |
|---|---|
| public static final String EXTERNAL_CONNECTION Dummy connection value for an external connection where no native support for multiple devices is available | |
| clearHandleOwner | back to summary |
|---|---|
| public void clearHandleOwner() | |
| clone | back to summary |
|---|---|
| public Object clone() | |
| close | back to summary |
|---|---|
| public boolean close() Optionally closing the device if handle is not
The default implementation
Example implementations like
| |
| getConnection | back to summary |
|---|---|
| public String getConnection() Returns the semantic GraphicsDevice connection.
getUnitID().
| |
| getHandle | back to summary |
|---|---|
| public long getHandle() Returns the native handle of the underlying native device, if such thing exist. | |
| getType | back to summary |
|---|---|
| public String getType() Returns the type of the underlying subsystem, ie NativeWindowFactory.TYPE_KD, NativeWindowFactory.TYPE_X11, .. | |
| getUniqueID | back to summary |
|---|---|
| public String getUniqueID() Returns a unique ID object of this device using The unique ID does not reflect the instance of the device, hence the handle is not included. The unique ID may be used as a key for semantic device mapping.
The returned string object reference is unique using | |
| getUnitID | back to summary |
|---|---|
| public int getUnitID() Returns the graphics device | |
| isHandleOwner | back to summary |
|---|---|
public boolean isHandleOwner()
| |
| lock | back to summary |
|---|---|
| public void lock() Optionally locking the device, utilizing eg | |
| open | back to summary |
|---|---|
| public boolean open() Optionally [re]opening the device if handle is
The default implementation is a
Example implementations like
| |
| unlock | back to summary |
|---|---|
| public void unlock() Optionally unlocking the device, utilizing eg
| |
| validateLocked | back to summary |
|---|---|
public void validateLocked() throws RuntimeException
| |