org.eclipse.swt.graphics
Class Device

java.lang.Object
  |
  +--org.eclipse.swt.graphics.Device
Direct Known Subclasses:
Display

public abstract class Device
extends Object


Constructor Summary
Device()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, toString
 

Constructor Detail

Device

public Device()
Method Detail

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