public abstract class Resource extends java.lang.Object
IMPORTANT: This class is intended to be subclassed only within the RWT implementation. However, it has not been marked final to allow those outside of the RWT development team to implement patched versions of the class in order to get around specific limitations in advance of when those limitations can be addressed by the team. Any class built using subclassing to access the internals of this class will likely fail to compile or run between releases and may be strongly platform specific. Subclassing should not be attempted without an intimate and detailed understanding of the workings of the hierarchy. No support is provided for user-written classes which are implemented as subclasses of this class.
|Modifier and Type||Method and Description|
Disposes of the resource.
public Device getDevice()
Devicewhere this resource was created.
Devicethe device of the receiver
public void dispose()
public boolean isDisposed()
trueif the resource has been disposed, and
This method gets the dispose state for the resource.
When a resource has been disposed, it is an error to
invoke any other method (except
dispose()) using the resource.
truewhen the resource is disposed and
Copyright (c) EclipseSource and others 2002, 2017.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0
Copyright (c) EclipseSource and others 2002, 2017. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0