Java Doc for SWTResourceManager.java in  » ESB » cbesb-1.2 » com » bostechcorp » cbesb » ui » util » resource » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 » ESB » cbesb 1.2 » com.bostechcorp.cbesb.ui.util.resource 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.bostechcorp.cbesb.ui.util.resource.SWTResourceManager

All known Subclasses:   com.bostechcorp.cbesb.ui.util.resource.ESBResourceManager,
SWTResourceManager
public class SWTResourceManager (Code)


Field Summary
final public static  intBOTTOM_LEFT
     Style constant for placing decorator image in bottom left corner of base image.
final public static  intBOTTOM_RIGHT
     Style constant for placing decorator image in bottom right corner of base image.
final public static  intTOP_LEFT
     Style constant for placing decorator image in top left corner of base image.
final public static  intTOP_RIGHT
     Style constant for placing decorator image in top right corner of base image.


Method Summary
public static  ImagedecorateImage(Image baseImage, Image decorator)
    
public static  ImagedecorateImage(Image baseImage, Image decorator, int corner)
    
public static  voiddispose()
     Dispose of cached objects and their underlying OS resources.
public static  voiddisposeColors()
    
public static  voiddisposeCursors()
    
public static  voiddisposeFonts()
    
public static  voiddisposeImages()
    
public static  voiddisposeImages(String section)
    
public static  voidfixCoolBarSize(CoolBar bar)
    
public static  FontgetBoldFont(Font baseFont)
    
public static  ColorgetColor(int systemColorID)
    
public static  ColorgetColor(int r, int g, int b)
    
public static  ColorgetColor(RGB rgb)
    
public static  CursorgetCursor(int id)
    
public static  FontgetFont(String name, int height, int style)
    
public static  FontgetFont(String name, int size, int style, boolean strikeout, boolean underline)
     Returns a font based on its name, height and style.
protected static  ImagegetImage(InputStream is)
    
public static  ImagegetImage(String path)
    
public static  ImagegetImage(String section, String path)
    
public static  ImagegetImage(Class clazz, String path)
    

Field Detail
BOTTOM_LEFT
final public static int BOTTOM_LEFT(Code)
Style constant for placing decorator image in bottom left corner of base image.



BOTTOM_RIGHT
final public static int BOTTOM_RIGHT(Code)
Style constant for placing decorator image in bottom right corner of base image.



TOP_LEFT
final public static int TOP_LEFT(Code)
Style constant for placing decorator image in top left corner of base image.



TOP_RIGHT
final public static int TOP_RIGHT(Code)
Style constant for placing decorator image in top right corner of base image.





Method Detail
decorateImage
public static Image decorateImage(Image baseImage, Image decorator)(Code)
Returns an image composed of a base image decorated by another image
Parameters:
  baseImage - Image The base image that should be decorated
Parameters:
  decorator - Image The image to decorate the base image Image The resulting decorated image



decorateImage
public static Image decorateImage(Image baseImage, Image decorator, int corner)(Code)
Returns an image composed of a base image decorated by another image
Parameters:
  baseImage - Image The base image that should be decorated
Parameters:
  decorator - Image The image to decorate the base image
Parameters:
  corner - The corner to place decorator image Image The resulting decorated image



dispose
public static void dispose()(Code)
Dispose of cached objects and their underlying OS resources. This should only be called when the cached objects are no longer needed (e.g. on application shutdown)



disposeColors
public static void disposeColors()(Code)
Dispose of all the cached colors



disposeCursors
public static void disposeCursors()(Code)
Dispose all of the cached cursors



disposeFonts
public static void disposeFonts()(Code)
Dispose all of the cached fonts



disposeImages
public static void disposeImages()(Code)
Dispose all of the cached images



disposeImages
public static void disposeImages(String section)(Code)
Dispose cached images in specified section
Parameters:
  section - the section do dispose



fixCoolBarSize
public static void fixCoolBarSize(CoolBar bar)(Code)
Fix the layout of the specified CoolBar
Parameters:
  bar - CoolBar The CoolBar that shgoud be fixed



getBoldFont
public static Font getBoldFont(Font baseFont)(Code)
Return a bold version of the give font
Parameters:
  baseFont - Font The font for whoch a bold version is desired Font The bold version of the give font



getColor
public static Color getColor(int systemColorID)(Code)
Returns the system color matching the specific ID
Parameters:
  systemColorID - int The ID value for the color Color The system color matching the specific ID



getColor
public static Color getColor(int r, int g, int b)(Code)
Returns a color given its red, green and blue component values
Parameters:
  r - int The red component of the color
Parameters:
  g - int The green component of the color
Parameters:
  b - int The blue component of the color Color The color matching the given red, green and blue componetvalues



getColor
public static Color getColor(RGB rgb)(Code)
Returns a color given its RGB value
Parameters:
  rgb - RGB The RGB value of the color Color The color matching the RGB value



getCursor
public static Cursor getCursor(int id)(Code)
Returns the system cursor matching the specific ID
Parameters:
  id - int The ID value for the cursor Cursor The system cursor matching the specific ID



getFont
public static Font getFont(String name, int height, int style)(Code)
Returns a font based on its name, height and style
Parameters:
  name - String The name of the font
Parameters:
  height - int The height of the font
Parameters:
  style - int The style of the font Font The font matching the name, height and style



getFont
public static Font getFont(String name, int size, int style, boolean strikeout, boolean underline)(Code)
Returns a font based on its name, height and style. Windows-specific strikeout and underline flags are also supported.
Parameters:
  name - String The name of the font
Parameters:
  size - int The size of the font
Parameters:
  style - int The style of the font
Parameters:
  strikeout - boolean The strikeout flag (warning: Windows only)
Parameters:
  underline - boolean The underline flag (warning: Windows only) Font The font matching the name, height, style, strikeout andunderline



getImage
protected static Image getImage(InputStream is)(Code)
Returns an image encoded by the specified input stream
Parameters:
  is - InputStream The input stream encoding the image data Image The image encoded by the specified input stream



getImage
public static Image getImage(String path)(Code)
Returns an image stored in the file at the specified path
Parameters:
  path - String The path to the image file Image The image stored in the file at the specified path



getImage
public static Image getImage(String section, String path)(Code)
Returns an image stored in the file at the specified path
Parameters:
  section - The section to which belongs specified image
Parameters:
  path - String The path to the image file Image The image stored in the file at the specified path



getImage
public static Image getImage(Class clazz, String path)(Code)
Returns an image stored in the file at the specified path relative to the specified class
Parameters:
  clazz - Class The class relative to which to find the image
Parameters:
  path - String The path to the image file Image The image stored in the file at the specified path



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.