Java Doc for SmoothGradientLookUtils.java in  » Database-Client » executequery » org » underworldlabs » swing » plaf » smoothgradient » 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 » Database Client » executequery » org.underworldlabs.swing.plaf.smoothgradient 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.underworldlabs.swing.plaf.smoothgradient.SmoothGradientLookUtils

SmoothGradientLookUtils
final public class SmoothGradientLookUtils (Code)

author:
   Takis Diakoumis
version:
   $Revision: 1.4 $


Field Summary
final public static  booleanHAS_XP_LAF
    
final public static  booleanIS_140
    
final public static  booleanIS_142_OR_LATER
    
final public static  booleanIS_BEFORE_14
    
public static  booleanisLowRes
    


Method Summary
public static  InsetscreateButtonMargin(boolean narrow)
     Creates and answers the margin used by JButton and JToggleButton.
public static  ColorgetSlightlyBrighter(Color color)
     Computes and answers a Color that is slightly brighter than the specified Color.
public static  ColorgetSlightlyBrighter(Color color, float factor)
     Computes and answers a Color that is slightly brighter than the specified Color.
public static  StringgetSystemProperty(String key)
     Tries to look up the System property for the given key. In untrusted environments this may throw a SecurityException. In this case, we catch the exception and answer an empty string.
public static  StringgetSystemProperty(String key, String defaultValue)
     Tries to look up the System property for the given key. In untrusted environments this may throw a SecurityException. In this case, we catch the exception and answer an empty string.
public static  voidinstallNarrowMargin(AbstractButton b, String propertyPrefix)
     Installs a narrow margin, if property isNarrow has been set.
public static  booleanisClassicWindows()
     Checks and answers if we are on Windows 95 or NT.
public static  booleanisModernWindows()
     Checks and answers if we are on Windows 98/ME/2000/XP.
public static  booleanisTrueColor(Component c)
     Checks and answers whether we have a true color system.
public static  booleanisWindows()
     Checks and answers whether we're on Windows.
public static  booleanisWindowsXP()
     Checks and answers if we are on Windows XP.
public static  voidlog()
     Prints a new line to the console if logging is enabled.
public static  voidlog(String message)
     Prints the given message to the console if logging is enabled.
public static  voidsetLoggingEnabled(boolean enabled)
     Enables or disables the logging.

Field Detail
HAS_XP_LAF
final public static boolean HAS_XP_LAF(Code)



IS_140
final public static boolean IS_140(Code)



IS_142_OR_LATER
final public static boolean IS_142_OR_LATER(Code)



IS_BEFORE_14
final public static boolean IS_BEFORE_14(Code)



isLowRes
public static boolean isLowRes(Code)





Method Detail
createButtonMargin
public static Insets createButtonMargin(boolean narrow)(Code)
Creates and answers the margin used by JButton and JToggleButton. Honors the screen resolution and the global isNarrowButtonsEnabled property.

Sun's L&F implementations use wide button margins.
See Also:   Options.getUseNarrowButtons




getSlightlyBrighter
public static Color getSlightlyBrighter(Color color)(Code)
Computes and answers a Color that is slightly brighter than the specified Color. Required for 1.3 only.
Parameters:
  color - the color used as basis for the brightened color a slightly brighter color



getSlightlyBrighter
public static Color getSlightlyBrighter(Color color, float factor)(Code)
Computes and answers a Color that is slightly brighter than the specified Color. Required for 1.3 only.
Parameters:
  color - the color used as basis for the brightened color
Parameters:
  factor - the factor used to compute the brightness a slightly brighter color



getSystemProperty
public static String getSystemProperty(String key)(Code)
Tries to look up the System property for the given key. In untrusted environments this may throw a SecurityException. In this case, we catch the exception and answer an empty string.
Parameters:
  key - the name of the system property the system property's String value, or null if there'sno such value, or an empty String whena SecurityException has been catched



getSystemProperty
public static String getSystemProperty(String key, String defaultValue)(Code)
Tries to look up the System property for the given key. In untrusted environments this may throw a SecurityException. In this case, we catch the exception and answer an empty string.
Parameters:
  key - the name of the system property
Parameters:
  defaultValue - the default value if no property exists. the system property's String value, or the defaultValue if there's no such value, or an empty String whena SecurityException has been catched



installNarrowMargin
public static void installNarrowMargin(AbstractButton b, String propertyPrefix)(Code)
Installs a narrow margin, if property isNarrow has been set.



isClassicWindows
public static boolean isClassicWindows()(Code)
Checks and answers if we are on Windows 95 or NT.



isModernWindows
public static boolean isModernWindows()(Code)
Checks and answers if we are on Windows 98/ME/2000/XP.



isTrueColor
public static boolean isTrueColor(Component c)(Code)
Checks and answers whether we have a true color system.



isWindows
public static boolean isWindows()(Code)
Checks and answers whether we're on Windows.



isWindowsXP
public static boolean isWindowsXP()(Code)
Checks and answers if we are on Windows XP.



log
public static void log()(Code)
Prints a new line to the console if logging is enabled.



log
public static void log(String message)(Code)
Prints the given message to the console if logging is enabled.
Parameters:
  message - the message to print



setLoggingEnabled
public static void setLoggingEnabled(boolean enabled)(Code)
Enables or disables the logging.



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.