# Uses of Class
org.eclipse.jface.resource.DeviceResourceDescriptor

Packages that use DeviceResourceDescriptor
Package
Description
org.eclipse.jface.resource
Provides support for managing resources such as SWT fonts and images.
org.eclipse.jface.viewers
Provides a framework for viewers, which are model-based content adapters for SWT widgets.

## Uses of DeviceResourceDescriptor in org.eclipse.jface.resource

Subclasses of DeviceResourceDescriptor in org.eclipse.jface.resource
Modifier and Type
Class
Description
`class`
`ColorDescriptor`
Lightweight descriptor for an SWT color.
`class`
`CompositeImageDescriptor`
Abstract base class for image descriptors that synthesize an image from other images in order to simulate the effect of custom drawing.
`class`
`FontDescriptor`
Lightweight descriptor for a font.
`class`
`ImageDescriptor`
An image descriptor is an object that knows how to create an SWT image.
Methods in org.eclipse.jface.resource with parameters of type DeviceResourceDescriptor
Modifier and Type
Method
Description
`protected <R> R`
DeviceResourceManager.`allocate(DeviceResourceDescriptor<R> descriptor)`
`protected <R> R`
LocalResourceManager.`allocate(DeviceResourceDescriptor<R> descriptor)`
`<R> R`
LazyResourceManager.`create(DeviceResourceDescriptor<R> descriptor)`
`abstract <R> R`
ResourceManager.`create(DeviceResourceDescriptor<R> descriptor)`
Returns the resource described by the given descriptor.
`protected <R> void`
DeviceResourceManager.`deallocate(Object resource, DeviceResourceDescriptor<R> descriptor)`
`protected <R> void`
LocalResourceManager.`deallocate(Object resource, DeviceResourceDescriptor<R> descriptor)`
`<R> void`
LazyResourceManager.`destroy(DeviceResourceDescriptor<R> descriptor)`
`abstract <R> void`
ResourceManager.`destroy(DeviceResourceDescriptor<R> descriptor)`
Deallocates a resource previously allocated by `ResourceManager.create(DeviceResourceDescriptor)`.
`<R> R`
LazyResourceManager.`find(DeviceResourceDescriptor<R> descriptor)`
`abstract <R> R`
ResourceManager.`find(DeviceResourceDescriptor<R> descriptor)`
Returns a previously allocated resource associated with the given descriptor, or null if none exists yet.
`final <R> R`
ResourceManager.`get(DeviceResourceDescriptor<R> descriptor)`
Returns a previously-allocated resource or allocates a new one if none exists yet.
Constructors in org.eclipse.jface.resource with parameters of type DeviceResourceDescriptor
Modifier
Constructor
Description
``
`DeviceResourceException(DeviceResourceDescriptor<?> missingResource)`
Creates a DeviceResourceException indicating an error attempting to create a resource
``
`DeviceResourceException(DeviceResourceDescriptor<?> missingResource, Throwable cause)`
Creates a DeviceResourceException indicating an error attempting to create a resource and an embedded low-level exception describing the cause

## Uses of DeviceResourceDescriptor in org.eclipse.jface.viewers

Subclasses of DeviceResourceDescriptor in org.eclipse.jface.viewers
Modifier and Type
Class
Description
`class`
`DecorationOverlayIcon`
A `DecorationOverlayIcon` is an image descriptor that can be used to overlay decoration images on to the 4 corner quadrants of a base image.