|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.graphics.Resource
public abstract class Resource
This class is the abstract superclass of all graphics resource objects. Resources created by the application are shared across all sessions of the application.
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.
Method Summary | |
---|---|
void |
dispose()
Disposes of the resource. |
Device |
getDevice()
Returns the Device where this resource was
created. |
boolean |
isDisposed()
Returns true if the resource has been disposed,
and false otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Device getDevice()
Device
where this resource was
created.
Device
the device of the receiverpublic void dispose()
public boolean isDisposed()
true
if the resource has been disposed,
and false
otherwise.
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.
true
when the resource is disposed and false
otherwise
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.