org.eclipse.jface.resource

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jface » org.eclipse.jface.resource 
org.eclipse.jface.resource
Package-level Javadoc Provides support for managing resources such as SWT fonts and images.

Package Specification

This package contains support for managing resources, including:
  • font registries (FontRegistry) - for hanging on to the SWT font objects needed by an application
  • color registries (ColorRegistry) - for hanging on to the SWT color objects needed by an application
  • image registries (ImageRegistry) - for hanging on to the SWT image objects needed by an application
  • image descriptors (ImageDescriptor) - surrogate object for creating SWT images
  • string conversion (StringConverter) - for parsing property files
The JFace resources module is an independent JFace module requiring a basic knowledge of SWT and the JFace property change event mechanism. Familiarity with other JFace modules is not required.

Image descriptors are objects that knows how to create an image on demand. They serve as a lightweight representation of images in situations where no SWT display exists yet, and are used mainly in conjunction with image registries. This package contains the image descriptor framework, which is a simple hierarchy rooted at the abstract class ImageDescriptor. The framework includes abstract subclasses for composing images (CompositeImageDescriptor) as well as a ready-made concrete subclass for loading images from files (FileImageDescriptor).

The class JFaceResources maintains global state on behalf of JFace itself consisting of JFace's own image registry, font registry, resource bundle, and preference store.
 

Java Source File NameTypeComment
AbstractResourceManager.javaClass Abstract implementation of ResourceManager.
ArrayFontDescriptor.javaClass
ColorDescriptor.javaClass Lightweight descriptor for an SWT color.
ColorRegistry.javaClass A color registry maintains a mapping between symbolic color names and SWT Colors.

A color registry owns all of the Color objects registered with it, and automatically disposes of them when the SWT Display that creates the Colors is disposed.

CompositeImageDescriptor.javaClass Abstract base class for image descriptors that synthesize an image from other images in order to simulate the effect of custom drawing.
DataFormatException.javaClass An exception indicating that a string value could not be converted into the requested data type.
DerivedImageDescriptor.javaClass An image descriptor which creates images based on another ImageDescriptor, but with additional SWT flags.
DeviceResourceDescriptor.javaClass Instances of this class can allocate and dispose SWT resources.
DeviceResourceException.javaClass
DeviceResourceManager.javaClass Manages SWT resources for a particular device.

IMPORTANT: in most cases clients should use a LocalResourceManager instead of a DeviceResourceManager.

FileImageDescriptor.javaClass An image descriptor that loads its image information from a file.
FontDescriptor.javaClass Lightweight descriptor for a font.
FontRegistry.javaClass A font registry maintains a mapping between symbolic font names and SWT fonts.

A font registry owns all of the font objects registered with it, and automatically disposes of them when the SWT Display that creates the fonts is disposed.

ImageDataImageDescriptor.javaClass
ImageDescriptor.javaClass An image descriptor is an object that knows how to create an SWT image.
ImageRegistry.javaClass An image registry maintains a mapping between symbolic image names and SWT image objects or special image descriptor objects which defer the creation of SWT image objects until they are needed.

An image registry owns all of the image objects registered with it, and automatically disposes of them when the SWT Display that creates the images is disposed.

JFaceColors.javaClass JFaceColors is the class that stores references to all of the colors used by JFace.
JFaceResources.javaClass Utility methods to access JFace-specific resources.

All methods declared on this class are static.

LocalResourceManager.javaClass A local registry that shares its resources with some global registry. LocalResourceManager is typically used to safeguard against leaks.
MissingImageDescriptor.javaClass The image descriptor for a missing image.

Use MissingImageDescriptor.getInstance to access the singleton instance maintained in an internal state variable.

ResourceManager.javaClass This class manages SWT resources.
ResourceRegistry.javaClass Abstract base class for various JFace registries.
RGBColorDescriptor.javaClass Describes a color by its RGB values.
StringConverter.javaClass Helper class for converting various data types to and from strings.
URLImageDescriptor.javaClass An ImageDescriptor that gets its information from a URL. This class is not public API.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.