Java Doc for ShapedGradientTheme.java in  » Swing-Library » InfoNode-Docking-Windows » net » infonode » tabbedpanel » theme » 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 » InfoNode Docking Windows » net.infonode.tabbedpanel.theme 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme
      net.infonode.tabbedpanel.theme.ShapedGradientTheme

ShapedGradientTheme
public class ShapedGradientTheme extends TabbedPanelTitledTabTheme (Code)
A theme with tabs with rounded edges, gradient backgrounds and support for slopes on left/right side of tab.
author:
   $Author: jesper $
version:
   $Revision: 1.14 $
since:
   ITP 1.2.0



Constructor Summary
public  ShapedGradientTheme()
    
public  ShapedGradientTheme(float leftSlope, float rightSlope)
    
public  ShapedGradientTheme(float leftSlope, float rightSlope, ColorProvider lineColor, ColorProvider highlightColor)
    
public  ShapedGradientTheme(float leftSlope, float rightSlope, int slopeHeight, ColorProvider lineColor, ColorProvider highlightColor)
    

Method Summary
public  BordercreateTabBorder(ColorProvider lineColor, ColorProvider highlightColor, float leftSlope, float rightSlope, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded, boolean isNormal, boolean highlightBottomLeftRounded, int raised)
    
public  ColorProvidergetAlternateHighlightColor()
    
public  ColorProvidergetControlColor()
    
public  ColorProvidergetDarkControlColor()
    
public  ColorProvidergetHighlightColor()
    
public  ColorProvidergetLineColor()
    
public  StringgetName()
    
public  TabbedPanelPropertiesgetTabbedPanelProperties()
    
public  TitledTabPropertiesgetTitledTabProperties()
    


Constructor Detail
ShapedGradientTheme
public ShapedGradientTheme()(Code)
Creates a default theme with sloped border on the right side of the tab and with colors based on the active look and feel



ShapedGradientTheme
public ShapedGradientTheme(float leftSlope, float rightSlope)(Code)
Creates a theme with the given slopes on the left and right side of the tab and with colors based on the active look and feel
Parameters:
  leftSlope - leaning of left slope defined as left slope width divided by left slope height
Parameters:
  rightSlope - leaning of right slope defined as right slope width divided by right slope height



ShapedGradientTheme
public ShapedGradientTheme(float leftSlope, float rightSlope, ColorProvider lineColor, ColorProvider highlightColor)(Code)
Creates a theme with the given slopes on the left and right side of the tab and with the given colors
Parameters:
  leftSlope - leaning of left slope defined as left slope width dividedby left slope height
Parameters:
  rightSlope - leaning of right slope defined as right slope width dividedby right slope height
Parameters:
  lineColor - color provider for the lines
Parameters:
  highlightColor - color provider for the highlighting, null for no highlighting



ShapedGradientTheme
public ShapedGradientTheme(float leftSlope, float rightSlope, int slopeHeight, ColorProvider lineColor, ColorProvider highlightColor)(Code)
Creates a theme with the given slopes on the left and right side of the tab and with the given colors
Parameters:
  leftSlope - leaning of left slope defined as left slope width dividedby left slope height
Parameters:
  rightSlope - leaning of right slope defined as right slope width dividedby right slope height
Parameters:
  slopeHeight - slope height in pixels, used when estimating slope width
Parameters:
  lineColor - color provider for the lines
Parameters:
  highlightColor - color provider for the highlighting, null for no highlighting




Method Detail
createTabBorder
public Border createTabBorder(ColorProvider lineColor, ColorProvider highlightColor, float leftSlope, float rightSlope, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded, boolean isNormal, boolean highlightBottomLeftRounded, int raised)(Code)
Creates a tab border
Parameters:
  lineColor - line color provider
Parameters:
  highlightColor - highlight color provider, null for no highlight
Parameters:
  leftSlope - left slope
Parameters:
  rightSlope - right slope
Parameters:
  bottomLeftRounded - true if bottom left should be rounded
Parameters:
  topLeftRounded - true if top left should be rounded
Parameters:
  topRightRounded - true if top right should be rounded
Parameters:
  bottomRightRounded - true if bottom right should be rounded
Parameters:
  isNormal - true if this is a normal rendered border
Parameters:
  highlightBottomLeftRounded - true if highlight has bottom left rounded
Parameters:
  raised - raised the created border



getAlternateHighlightColor
public ColorProvider getAlternateHighlightColor()(Code)
Gets the alternate highlight color provider used for tab area components gradient background and highlighted tab background (when no highlight color is specified) the alternate highlight color provider



getControlColor
public ColorProvider getControlColor()(Code)
Gets the control background color the control background color provider



getDarkControlColor
public ColorProvider getDarkControlColor()(Code)
Gets the dark control background color used for gradient for normal tab and disabled tab the dark control background color provider



getHighlightColor
public ColorProvider getHighlightColor()(Code)
Gets the highlight color provider the highlight color provider, null if no highlight



getLineColor
public ColorProvider getLineColor()(Code)
Gets the line color provider the line color provider



getName
public String getName()(Code)
Gets the theme name name for this theme



getTabbedPanelProperties
public TabbedPanelProperties getTabbedPanelProperties()(Code)
Gets the TabbedPanelProperties for this theme the TabbedPanelProperties



getTitledTabProperties
public TitledTabProperties getTitledTabProperties()(Code)
Gets the TitledTabProperties for this theme the TitledTabProperties



Methods inherited from net.infonode.tabbedpanel.theme.TabbedPanelTitledTabTheme
abstract public String getName()(Code)(Java Doc)
abstract public TabbedPanelProperties getTabbedPanelProperties()(Code)(Java Doc)
abstract public TitledTabProperties getTitledTabProperties()(Code)(Java Doc)

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.