Java Doc for SystemColor.java in  » 6.0-JDK-Modules » j2me » java » awt » 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 » 6.0 JDK Modules » j2me » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Color
      java.awt.SystemColor

SystemColor
final public class SystemColor extends Color implements java.io.Serializable(Code)
A class to encapsulate symbolic colors representing the color of GUI objects on a system. For systems which support the dynamic update of the system colors (when the user changes the colors) the actual RGB values of these symbolic colors will also change dynamically. In order to compare the "current" RGB value of a SystemColor object with a non-symbolic Color object, getRGB() should be used rather than equals().
version:
   1.13, 08/19/02
author:
   Carl Quinn
author:
   Amy Fowler


Field Summary
final public static  intACTIVE_CAPTION
     The array index for the active caption background color.
final public static  intACTIVE_CAPTION_BORDER
     The array index for the active caption border color.
final public static  intACTIVE_CAPTION_TEXT
     The array index for the action caption text color.
final public static  intCONTROL
     The array index for the control background color.
final public static  intCONTROL_DK_SHADOW
     The array index for the control dark shadow color.
final public static  intCONTROL_HIGHLIGHT
     The array index for the control highlight color.
final public static  intCONTROL_LT_HIGHLIGHT
     The array index for the control light highlight color.
final public static  intCONTROL_SHADOW
     The array index for the control shadow color.
final public static  intCONTROL_TEXT
     The array index for the control text color.
final public static  intDESKTOP
     The array index for the desktop background color.
final public static  intINACTIVE_CAPTION
     The array index for the inactive caption background color.
final public static  intINACTIVE_CAPTION_BORDER
     The array index for the inactive caption border color.
final public static  intINACTIVE_CAPTION_TEXT
     The array index for the inactive caption text color.
final public static  intINFO
     The array index for the info background color.
final public static  intINFO_TEXT
     The array index for the info text color.
final public static  intMENU
     The array index for the menu background color.
final public static  intMENU_TEXT
     The array index for the menu text color.
final public static  intNUM_COLORS
     The number of system colors in the array.
final public static  intSCROLLBAR
     The array index for the scrollbar background color.
final public static  intTEXT
     The array index for the text background color.
final public static  intTEXT_HIGHLIGHT
     The array index for the text highlight color.
final public static  intTEXT_HIGHLIGHT_TEXT
     The array index for the text highlight text color.
final public static  intTEXT_INACTIVE_TEXT
     The array index for the text inactive text color.
final public static  intTEXT_TEXT
     The array index for the text text color.
final public static  intWINDOW
     The array index for the window background color.
final public static  intWINDOW_BORDER
     The array index for the window border color.
final public static  intWINDOW_TEXT
     The array index for the window text color.
final public static  SystemColoractiveCaption
     The background color for captions in window borders.
final public static  SystemColoractiveCaptionBorder
     The border color for captions in window borders.
final public static  SystemColoractiveCaptionText
     The text color for captions in window borders.
final public static  SystemColorcontrol
     The background color for control objects.
final public static  SystemColorcontrolDkShadow
     The dark shadow color for control objects.
final public static  SystemColorcontrolHighlight
     The regular highlight color for control objects.
final public static  SystemColorcontrolLtHighlight
     The light highlight color for control objects.
final public static  SystemColorcontrolShadow
     The regular shadow color for control objects.
final public static  SystemColorcontrolText
     The text color for control objects.
final public static  SystemColordesktop
     The color of the desktop background.
final public static  SystemColorinactiveCaption
     The background color for inactive captions in window borders.
final public static  SystemColorinactiveCaptionBorder
     The border color for inactive captios in window borders.
final public static  SystemColorinactiveCaptionText
     The text color for inactive captions in window borders.
final public static  SystemColorinfo
     The background color for info(help) text.
final public static  SystemColorinfoText
     The text color for info(help) text.
final public static  SystemColormenu
     The background color for menus.
final public static  SystemColormenuText
     The text color for menus.
final public static  SystemColorscrollbar
     The background color for scrollbars.
final public static  SystemColortext
     The background color for text components.
final public static  SystemColortextHighlight
     The background color for highlighted text.
final public static  SystemColortextHighlightText
     The text color for highlighted text.
final public static  SystemColortextInactiveText
     The text color for inactive text.
final public static  SystemColortextText
     The text color for text components.
final public static  SystemColorwindow
     The background color for windows.
final public static  SystemColorwindowBorder
     The border color for windows.
final public static  SystemColorwindowText
     The text color for windows.


Method Summary
public  intgetRGB()
     Gets the "current" RGB value representing the symbolic color.
public  StringtoString()
     Returns the String representation of this Color's values.

Field Detail
ACTIVE_CAPTION
final public static int ACTIVE_CAPTION(Code)
The array index for the active caption background color.



ACTIVE_CAPTION_BORDER
final public static int ACTIVE_CAPTION_BORDER(Code)
The array index for the active caption border color.



ACTIVE_CAPTION_TEXT
final public static int ACTIVE_CAPTION_TEXT(Code)
The array index for the action caption text color.



CONTROL
final public static int CONTROL(Code)
The array index for the control background color.



CONTROL_DK_SHADOW
final public static int CONTROL_DK_SHADOW(Code)
The array index for the control dark shadow color.



CONTROL_HIGHLIGHT
final public static int CONTROL_HIGHLIGHT(Code)
The array index for the control highlight color.



CONTROL_LT_HIGHLIGHT
final public static int CONTROL_LT_HIGHLIGHT(Code)
The array index for the control light highlight color.



CONTROL_SHADOW
final public static int CONTROL_SHADOW(Code)
The array index for the control shadow color.



CONTROL_TEXT
final public static int CONTROL_TEXT(Code)
The array index for the control text color.



DESKTOP
final public static int DESKTOP(Code)
The array index for the desktop background color.



INACTIVE_CAPTION
final public static int INACTIVE_CAPTION(Code)
The array index for the inactive caption background color.



INACTIVE_CAPTION_BORDER
final public static int INACTIVE_CAPTION_BORDER(Code)
The array index for the inactive caption border color.



INACTIVE_CAPTION_TEXT
final public static int INACTIVE_CAPTION_TEXT(Code)
The array index for the inactive caption text color.



INFO
final public static int INFO(Code)
The array index for the info background color.



INFO_TEXT
final public static int INFO_TEXT(Code)
The array index for the info text color.



MENU
final public static int MENU(Code)
The array index for the menu background color.



MENU_TEXT
final public static int MENU_TEXT(Code)
The array index for the menu text color.



NUM_COLORS
final public static int NUM_COLORS(Code)
The number of system colors in the array.



SCROLLBAR
final public static int SCROLLBAR(Code)
The array index for the scrollbar background color.



TEXT
final public static int TEXT(Code)
The array index for the text background color.



TEXT_HIGHLIGHT
final public static int TEXT_HIGHLIGHT(Code)
The array index for the text highlight color.



TEXT_HIGHLIGHT_TEXT
final public static int TEXT_HIGHLIGHT_TEXT(Code)
The array index for the text highlight text color.



TEXT_INACTIVE_TEXT
final public static int TEXT_INACTIVE_TEXT(Code)
The array index for the text inactive text color.



TEXT_TEXT
final public static int TEXT_TEXT(Code)
The array index for the text text color.



WINDOW
final public static int WINDOW(Code)
The array index for the window background color.



WINDOW_BORDER
final public static int WINDOW_BORDER(Code)
The array index for the window border color.



WINDOW_TEXT
final public static int WINDOW_TEXT(Code)
The array index for the window text color.



activeCaption
final public static SystemColor activeCaption(Code)
The background color for captions in window borders.



activeCaptionBorder
final public static SystemColor activeCaptionBorder(Code)
The border color for captions in window borders.



activeCaptionText
final public static SystemColor activeCaptionText(Code)
The text color for captions in window borders.



control
final public static SystemColor control(Code)
The background color for control objects.



controlDkShadow
final public static SystemColor controlDkShadow(Code)
The dark shadow color for control objects.



controlHighlight
final public static SystemColor controlHighlight(Code)
The regular highlight color for control objects.



controlLtHighlight
final public static SystemColor controlLtHighlight(Code)
The light highlight color for control objects.



controlShadow
final public static SystemColor controlShadow(Code)
The regular shadow color for control objects.



controlText
final public static SystemColor controlText(Code)
The text color for control objects.



desktop
final public static SystemColor desktop(Code)
The color of the desktop background.



inactiveCaption
final public static SystemColor inactiveCaption(Code)
The background color for inactive captions in window borders.



inactiveCaptionBorder
final public static SystemColor inactiveCaptionBorder(Code)
The border color for inactive captios in window borders.



inactiveCaptionText
final public static SystemColor inactiveCaptionText(Code)
The text color for inactive captions in window borders.



info
final public static SystemColor info(Code)
The background color for info(help) text.



infoText
final public static SystemColor infoText(Code)
The text color for info(help) text.



menu
final public static SystemColor menu(Code)
The background color for menus.



menuText
final public static SystemColor menuText(Code)
The text color for menus.



scrollbar
final public static SystemColor scrollbar(Code)
The background color for scrollbars.



text
final public static SystemColor text(Code)
The background color for text components.



textHighlight
final public static SystemColor textHighlight(Code)
The background color for highlighted text.



textHighlightText
final public static SystemColor textHighlightText(Code)
The text color for highlighted text.



textInactiveText
final public static SystemColor textInactiveText(Code)
The text color for inactive text.



textText
final public static SystemColor textText(Code)
The text color for text components.



window
final public static SystemColor window(Code)
The background color for windows.



windowBorder
final public static SystemColor windowBorder(Code)
The border color for windows.



windowText
final public static SystemColor windowText(Code)
The text color for windows.





Method Detail
getRGB
public int getRGB()(Code)
Gets the "current" RGB value representing the symbolic color. (Bits 24-31 are 0xff, 16-23 are red, 8-15 are green, 0-7 are blue).
See Also:   java.awt.image.ColorModel.getRGBdefault
See Also:   java.awt.Color.getBlue
See Also:   java.awt.Color.getGreen
See Also:   java.awt.Color.getRed



toString
public String toString()(Code)
Returns the String representation of this Color's values.



Fields inherited from java.awt.Color
final public static Color BLACK(Code)(Java Doc)
final public static Color BLUE(Code)(Java Doc)
final public static Color CYAN(Code)(Java Doc)
final public static Color DARK_GRAY(Code)(Java Doc)
final public static Color GRAY(Code)(Java Doc)
final public static Color GREEN(Code)(Java Doc)
final public static Color LIGHT_GRAY(Code)(Java Doc)
final public static Color MAGENTA(Code)(Java Doc)
final public static Color ORANGE(Code)(Java Doc)
final public static Color PINK(Code)(Java Doc)
final public static Color RED(Code)(Java Doc)
final public static Color WHITE(Code)(Java Doc)
final public static Color YELLOW(Code)(Java Doc)
final public static Color black(Code)(Java Doc)
final public static Color blue(Code)(Java Doc)
final public static Color cyan(Code)(Java Doc)
final public static Color darkGray(Code)(Java Doc)
final public static Color gray(Code)(Java Doc)
final public static Color green(Code)(Java Doc)
final public static Color lightGray(Code)(Java Doc)
final public static Color magenta(Code)(Java Doc)
final public static Color orange(Code)(Java Doc)
final public static Color pink(Code)(Java Doc)
final public static Color red(Code)(Java Doc)
int value(Code)(Java Doc)
final public static Color white(Code)(Java Doc)
final public static Color yellow(Code)(Java Doc)

Methods inherited from java.awt.Color
public static int HSBtoRGB(float hue, float saturation, float brightness)(Code)(Java Doc)
public static float[] RGBtoHSB(int r, int g, int b, float[] hsbvals)(Code)(Java Doc)
public Color brighter()(Code)(Java Doc)
public Color darker()(Code)(Java Doc)
public static Color decode(String nm) throws NumberFormatException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public int getAlpha()(Code)(Java Doc)
public int getBlue()(Code)(Java Doc)
public static Color getColor(String nm)(Code)(Java Doc)
public static Color getColor(String nm, Color v)(Code)(Java Doc)
public static Color getColor(String nm, int v)(Code)(Java Doc)
public float[] getColorComponents(float[] compArray)(Code)(Java Doc)
public ColorSpace getColorSpace()(Code)(Java Doc)
public float[] getComponents(float[] compArray)(Code)(Java Doc)
public int getGreen()(Code)(Java Doc)
public static Color getHSBColor(float h, float s, float b)(Code)(Java Doc)
public int getRGB()(Code)(Java Doc)
public float[] getRGBColorComponents(float[] compArray)(Code)(Java Doc)
public float[] getRGBComponents(float[] compArray)(Code)(Java Doc)
public int getRed()(Code)(Java Doc)
public int getTransparency()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.