Java Doc for BasicStyledLabelUI.java in  » Swing-Library » jide-common » com » jidesoft » plaf » basic » 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 » jide common » com.jidesoft.plaf.basic 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.plaf.basic.BasicLabelUI
   com.jidesoft.plaf.basic.BasicStyledLabelUI

BasicStyledLabelUI
public class BasicStyledLabelUI extends BasicLabelUI implements SwingConstants(Code)

Inner Class :class StyledText

Field Summary
public static  Comparator<StyleRange>_comparator
    
protected static  BasicStyledLabelUIstyledLabelUI
    


Method Summary
protected  voidbuildStyledText(StyledLabel label)
    
public static  ComponentUIcreateUI(JComponent c)
    
protected  DimensiongetPreferredSize(StyledLabel label)
    
protected  StringlayoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)
    
public static  StringlayoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
     Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string.
public static  StringlayoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)
     Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string.
protected  voidpaintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)
    
protected  voidpaintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)
    
protected  voidpaintStyledText(StyledLabel label, Graphics g, int textX, int textY)
    
public  voidpropertyChange(PropertyChangeEvent e)
    

Field Detail
_comparator
public static Comparator<StyleRange> _comparator(Code)



styledLabelUI
protected static BasicStyledLabelUI styledLabelUI(Code)





Method Detail
buildStyledText
protected void buildStyledText(StyledLabel label)(Code)



createUI
public static ComponentUI createUI(JComponent c)(Code)



getPreferredSize
protected Dimension getPreferredSize(StyledLabel label)(Code)



layoutCL
protected String layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)(Code)



layoutCompoundLabel
public static String layoutCompoundLabel(JComponent c, FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)(Code)
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string. Locations are computed relative to the viewR rectangle. The JComponents orientation (LEADING/TRAILING) will also be taken into account and translated into LEFT/RIGHT values accordingly.



layoutCompoundLabel
public static String layoutCompoundLabel(FontMetrics fm, String text, Icon icon, int verticalAlignment, int horizontalAlignment, int verticalTextPosition, int horizontalTextPosition, Rectangle viewR, Rectangle iconR, Rectangle textR, int textIconGap)(Code)
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string. Locations are computed relative to the viewR rectangle. This layoutCompoundLabel() does not know how to handle LEADING/TRAILING values in horizontalTextPosition (they will default to RIGHT) and in horizontalAlignment (they will default to CENTER). Use the other version of layoutCompoundLabel() instead.



paintDisabledText
protected void paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)(Code)



paintEnabledText
protected void paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)(Code)



paintStyledText
protected void paintStyledText(StyledLabel label, Graphics g, int textX, int textY)(Code)



propertyChange
public void propertyChange(PropertyChangeEvent e)(Code)



Fields inherited from javax.swing.plaf.basic.BasicLabelUI
protected static BasicLabelUI labelUI(Code)(Java Doc)

Methods inherited from javax.swing.plaf.basic.BasicLabelUI
public static ComponentUI createUI(JComponent c)(Code)(Java Doc)
public int getBaseline(JComponent c, int width, int height)(Code)(Java Doc)
public Component.BaselineResizeBehavior getBaselineResizeBehavior(JComponent c)(Code)(Java Doc)
public Dimension getMaximumSize(JComponent c)(Code)(Java Doc)
public Dimension getMinimumSize(JComponent c)(Code)(Java Doc)
public Dimension getPreferredSize(JComponent c)(Code)(Java Doc)
protected void installComponents(JLabel c)(Code)(Java Doc)
protected void installDefaults(JLabel c)(Code)(Java Doc)
protected void installKeyboardActions(JLabel l)(Code)(Java Doc)
protected void installListeners(JLabel c)(Code)(Java Doc)
public void installUI(JComponent c)(Code)(Java Doc)
protected String layoutCL(JLabel label, FontMetrics fontMetrics, String text, Icon icon, Rectangle viewR, Rectangle iconR, Rectangle textR)(Code)(Java Doc)
public void paint(Graphics g, JComponent c)(Code)(Java Doc)
protected void paintDisabledText(JLabel l, Graphics g, String s, int textX, int textY)(Code)(Java Doc)
protected void paintEnabledText(JLabel l, Graphics g, String s, int textX, int textY)(Code)(Java Doc)
public void propertyChange(PropertyChangeEvent e)(Code)(Java Doc)
protected void uninstallComponents(JLabel c)(Code)(Java Doc)
protected void uninstallDefaults(JLabel c)(Code)(Java Doc)
protected void uninstallKeyboardActions(JLabel c)(Code)(Java Doc)
protected void uninstallListeners(JLabel c)(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.