org.eclipse.swt.graphics
Class Device
java.lang.Object
|
+--org.eclipse.swt.graphics.Device
- Direct Known Subclasses:
- Display
- public abstract class Device
- extends Object
|
Method Summary |
abstract void |
dispose()
Disposes operating system resources associated with the receiver.
|
boolean |
isDisposed()
Returns true if the device has been disposed,
and false otherwise.
|
Device
public Device()
dispose
public abstract void dispose()
- Disposes operating system resources associated with the receiver.
After this method has been invoked, the receiver will answer true
on the isDisposed() method.
Parameters:
-/-
Returns:
-/-
isDisposed
public boolean isDisposed()
- Returns
true if the device has been disposed,
and false otherwise.
This method gets the dispose state for the device.
When a device has been disposed, it is an error to
invoke any other method using the device.
- Returns:
true when the device is disposed and false otherwise