Display.getData

Returns the application defined, display specific data associated with the receiver, or null if it has not been set. The <em>display specific data</em> is a single, unnamed field that is stored with every display. <p> Applications may put arbitrary objects in this field. If the object stored in the display specific data needs to be notified when the display is disposed of, it is the application's responsibility to provide a <code>disposeExec()</code> handler which does so. </p>

@return the display specific data

@exception SWTException <ul> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>

@see #setData(Object) @see #disposeExec(Runnable)

  1. Object getData(String key)
  2. Object getData()
    class Display
    Object
    getData
    (
    )

Meta