Java Doc for SubstanceRootPaneUI.java in  » Swing-Library » substance-look-feel » org » jvnet » substance » 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 » substance look feel » org.jvnet.substance 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.plaf.basic.BasicRootPaneUI
   org.jvnet.substance.SubstanceRootPaneUI

SubstanceRootPaneUI
public class SubstanceRootPaneUI extends BasicRootPaneUI (Code)
UI for root panes in Substance look and feel.
author:
   Kirill Grouchnikov
author:
   Larry Salibra (fix for defect 198)


Field Summary
protected  GraphicsConfigurationcurrentRootPaneGC
     The graphics configuration that contains the top-left corner of the window (fix for defect 213).
protected static  MethodgetLocationOnScreenMethod
     Stores the pointer to MouseInfo.getLocationOnScreen method (available only under JDK 6.0).
protected  WindowsubstanceCurrentWindow
     The current window.
protected  HierarchyListenersubstanceHierarchyListener
     Hierarchy listener to keep track of the associated top-level window.
protected  ComponentListenersubstanceWindowComponentListener
     Component listener to keep track of the primary graphics configuration (for recomputing the maximized bounds) - fix for defect 213.
protected  WindowListenersubstanceWindowListener
     Window listener that stops all Substance thread when the last frame is disposed.

Constructor Summary
public  SubstanceRootPaneUI()
    

Method Summary
public static  ComponentUIcreateUI(JComponent c)
     Creates a UI for a JRootPane.
public  JComponentgetTitlePane()
     Returns the JComponent rendering the title pane.
public  voidinstallBorder(JRootPane root)
     Installs the appropriate Border onto the JRootPane.
protected  voidinstallListeners(JRootPane root)
    
public  voidinstallUI(JComponent c)
     Invokes supers implementation of installUI to install the necessary state onto the passed in JRootPane to render the metal look and feel implementation of RootPaneUI.
public  voidpropertyChange(PropertyChangeEvent e)
    
public  voidsetHeapStatusPanePermanentVisibility(boolean isVisible)
     Makes the heap status panel appear / disappear permanently on the associated title pane and removes the corresponding check box menu items from the system menu.
public  voidsetMaximized()
     Sets maximized bounds according to the display screen insets.
protected  voiduninstallListeners(JRootPane root)
    
public  voiduninstallUI(JComponent c)
     Invokes supers implementation to uninstall any of its state.

Field Detail
currentRootPaneGC
protected GraphicsConfiguration currentRootPaneGC(Code)
The graphics configuration that contains the top-left corner of the window (fix for defect 213).



getLocationOnScreenMethod
protected static Method getLocationOnScreenMethod(Code)
Stores the pointer to MouseInfo.getLocationOnScreen method (available only under JDK 6.0). Is used to provide fix for defect 198.



substanceCurrentWindow
protected Window substanceCurrentWindow(Code)
The current window.



substanceHierarchyListener
protected HierarchyListener substanceHierarchyListener(Code)
Hierarchy listener to keep track of the associated top-level window.



substanceWindowComponentListener
protected ComponentListener substanceWindowComponentListener(Code)
Component listener to keep track of the primary graphics configuration (for recomputing the maximized bounds) - fix for defect 213.



substanceWindowListener
protected WindowListener substanceWindowListener(Code)
Window listener that stops all Substance thread when the last frame is disposed.




Constructor Detail
SubstanceRootPaneUI
public SubstanceRootPaneUI()(Code)




Method Detail
createUI
public static ComponentUI createUI(JComponent c)(Code)
Creates a UI for a JRootPane.
Parameters:
  c - the JRootPane the RootPaneUI will be created for the RootPaneUI implementation for the passed in JRootPane



getTitlePane
public JComponent getTitlePane()(Code)
Returns the JComponent rendering the title pane. If this returns null, it implies there is no need to render window decorations. This method is for internal use only.
See Also:   SubstanceRootPaneUI.setTitlePane Title pane.



installBorder
public void installBorder(JRootPane root)(Code)
Installs the appropriate Border onto the JRootPane.
Parameters:
  root - Root pane.



installListeners
protected void installListeners(JRootPane root)(Code)



installUI
public void installUI(JComponent c)(Code)
Invokes supers implementation of installUI to install the necessary state onto the passed in JRootPane to render the metal look and feel implementation of RootPaneUI. If the windowDecorationStyle property of the JRootPane is other than JRootPane.NONE, this will add a custom Component to render the widgets to JRootPane, as well as installing a custom Border and LayoutManager on the JRootPane.
Parameters:
  c - the JRootPane to install state onto



propertyChange
public void propertyChange(PropertyChangeEvent e)(Code)



setHeapStatusPanePermanentVisibility
public void setHeapStatusPanePermanentVisibility(boolean isVisible)(Code)
Makes the heap status panel appear / disappear permanently on the associated title pane and removes the corresponding check box menu items from the system menu.
Parameters:
  isVisible - if true, the heap status panel will bepermanently shown, if false, the heap statuspanel will be permanently hidden.



setMaximized
public void setMaximized()(Code)
Sets maximized bounds according to the display screen insets.



uninstallListeners
protected void uninstallListeners(JRootPane root)(Code)



uninstallUI
public void uninstallUI(JComponent c)(Code)
Invokes supers implementation to uninstall any of its state. This will also reset the LayoutManager of the JRootPane. If a Component has been added to the JRootPane to render the window decoration style, this method will remove it. Similarly, this will revert the Border and LayoutManager of the JRootPane to what it was before installUI was invoked.
Parameters:
  c - the JRootPane to uninstall state from



Methods inherited from javax.swing.plaf.basic.BasicRootPaneUI
public static ComponentUI createUI(JComponent c)(Code)(Java Doc)
protected void installComponents(JRootPane root)(Code)(Java Doc)
protected void installDefaults(JRootPane c)(Code)(Java Doc)
protected void installKeyboardActions(JRootPane root)(Code)(Java Doc)
protected void installListeners(JRootPane root)(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
public void propertyChange(PropertyChangeEvent e)(Code)(Java Doc)
protected void uninstallComponents(JRootPane root)(Code)(Java Doc)
protected void uninstallDefaults(JRootPane root)(Code)(Java Doc)
protected void uninstallKeyboardActions(JRootPane root)(Code)(Java Doc)
protected void uninstallListeners(JRootPane root)(Code)(Java Doc)
public void uninstallUI(JComponent c)(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.