Java Doc for WindowsLookAndFeel.java in  » Swing-Library » jgoodies-looks » com » jgoodies » looks » windows » 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 » Swing Library » jgoodies looks » com.jgoodies.looks.windows 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.jgoodies.looks.windows.WindowsLookAndFeel

WindowsLookAndFeel
final public class WindowsLookAndFeel extends com.sun.java.swing.plaf.windows.WindowsLookAndFeel (Code)
The main class of the JGoodies Windows Look&Feel. This look provides several corrections and extensions to Sun's Windows L&F. In addition it tries to provide a unified look for the J2SE 1.4.0x, 1.4.1x, 1.4.2, and 1.5 environments.
author:
   Karsten Lentzsch
version:
   $Revision: 1.36 $


Field Summary
final public static  StringBORDER_STYLE_KEY
     An optional client property key for JMenu and JToolBar to set a border style - shadows the header style.


Method Summary
public static  BordergetButtonBorder()
    
public static  IcongetCheckBoxIcon()
    
public  StringgetDescription()
    
public  IcongetDisabledIcon(JComponent component, Icon icon)
     Returns an icon with a disabled appearance.
public static  FontPolicygetFontPolicy()
     Looks up and retrieves the FontPolicy used by the JGoodies Windows Look&Feel.
public  StringgetID()
    
public static  MicroLayoutPolicygetMicroLayoutPolicy()
     Looks up and retrieves the MicroLayoutPolicy used by the JGoodies Windows Look&Feel.
public  StringgetName()
    
public static  IcongetRadioButtonIcon()
    
protected  voidinitClassDefaults(UIDefaults table)
     Initializes the class defaults, that is, overrides some UI delegates with JGoodies Windows implementations.
protected  voidinitComponentDefaults(UIDefaults table)
     Initializes the component defaults.
public  voidinitialize()
     Invoked during UIManager#setLookAndFeel.
public static  voidsetFontPolicy(FontPolicy fontPolicy)
     Sets the FontPolicy to be used with the JGoodies Windows L&F.
public static  voidsetMicroLayoutPolicy(MicroLayout microLayoutPolicy)
     Sets the MicroLayoutPolicy to be used with the JGoodies Windows L&F.
public  voiduninitialize()
     Invoked during UIManager#setLookAndFeel.

Field Detail
BORDER_STYLE_KEY
final public static String BORDER_STYLE_KEY(Code)
An optional client property key for JMenu and JToolBar to set a border style - shadows the header style.





Method Detail
getButtonBorder
public static Border getButtonBorder()(Code)



getCheckBoxIcon
public static Icon getCheckBoxIcon()(Code)



getDescription
public String getDescription()(Code)



getDisabledIcon
public Icon getDisabledIcon(JComponent component, Icon icon)(Code)
Returns an icon with a disabled appearance. This method is used to generate a disabled icon when one has not been specified.

This method will be used only on JDK 5.0 and later.
Parameters:
  component - the component that will display the icon, may be null.
Parameters:
  icon - the icon to generate disabled icon from. disabled icon, or null if a suitable icon can not be generated.




getFontPolicy
public static FontPolicy getFontPolicy()(Code)
Looks up and retrieves the FontPolicy used by the JGoodies Windows Look&Feel. If a FontPolicy has been set for this look, it'll be returned. Otherwise, this method checks if a FontPolicy or FontSet is defined in the system properties or UIDefaults. If so, it is returned. If no FontPolicy has been set for this look, in the system properties or UIDefaults, the default Windows font policy will be returned. the FontPolicy set for this Look&feel - if any,the FontPolicy specified in the system properties or UIDefaults- if any, or the default Windows font policy.
See Also:   WindowsLookAndFeel.setFontPolicy
See Also:   Options.WINDOWS_FONT_POLICY_KEY
See Also:   FontPolicies
See Also:   FontPolicies.customSettingsPolicy(FontPolicy)
See Also:   FontPolicies.getDefaultWindowsPolicy



getID
public String getID()(Code)



getMicroLayoutPolicy
public static MicroLayoutPolicy getMicroLayoutPolicy()(Code)
Looks up and retrieves the MicroLayoutPolicy used by the JGoodies Windows Look&Feel. If a MicroLayoutPolicy has been set for this look, it'll be returned. Otherwise, the default Windows micro layout policy will be returned. the MicroLayoutPolicy set for this Look&feel - if any,or the default Windows MicroLayoutPolicy.
See Also:   WindowsLookAndFeel.setMicroLayoutPolicy
See Also:   Options.WINDOWS_MICRO_LAYOUT_POLICY_KEY
See Also:   MicroLayoutPolicies
See Also:   MicroLayoutPolicies.getDefaultWindowsPolicy



getName
public String getName()(Code)



getRadioButtonIcon
public static Icon getRadioButtonIcon()(Code)



initClassDefaults
protected void initClassDefaults(UIDefaults table)(Code)
Initializes the class defaults, that is, overrides some UI delegates with JGoodies Windows implementations.



initComponentDefaults
protected void initComponentDefaults(UIDefaults table)(Code)
Initializes the component defaults.



initialize
public void initialize()(Code)
Invoked during UIManager#setLookAndFeel. In addition to the superclass behavior, we install the ShadowPopupFactory.
See Also:   WindowsLookAndFeel.uninitialize



setFontPolicy
public static void setFontPolicy(FontPolicy fontPolicy)(Code)
Sets the FontPolicy to be used with the JGoodies Windows L&F. If the specified policy is null, the default will be reset.
Parameters:
  fontPolicy - the FontPolicy to be used with the JGoodies Windows L&F, or null to reset to the default
See Also:   WindowsLookAndFeel.getFontPolicy()
See Also:   Options.WINDOWS_FONT_POLICY_KEY



setMicroLayoutPolicy
public static void setMicroLayoutPolicy(MicroLayout microLayoutPolicy)(Code)
Sets the MicroLayoutPolicy to be used with the JGoodies Windows L&F. If the specified policy is null, the default will be reset.
Parameters:
  microLayoutPolicy - the MicroLayoutPolicy to be used with the JGoodies Windows L&F, or null to reset to the default
See Also:   WindowsLookAndFeel.getMicroLayoutPolicy()
See Also:   Options.WINDOWS_MICRO_LAYOUT_POLICY_KEY



uninitialize
public void uninitialize()(Code)
Invoked during UIManager#setLookAndFeel. In addition to the superclass behavior, we uninstall the ShadowPopupFactory.
See Also:   WindowsLookAndFeel.initialize



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