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


java.lang.Object
   org.jvnet.substance.theme.SubstanceTheme

All known Subclasses:   org.jvnet.substance.themepack.theme.ExtraBloodyMoonTheme,  org.jvnet.substance.theme.SubstanceBarbyPinkTheme,  org.jvnet.substance.themepack.theme.ExtraYellowMarineTheme,  org.jvnet.substance.themepack.theme.ExtraMahoganyTheme,  org.jvnet.substance.themepack.theme.ExtraSpringLeafTheme,  org.jvnet.substance.themepack.theme.ExtraCobaltSteelTheme,  org.jvnet.substance.theme.SubstanceSteelBlueTheme,  org.jvnet.substance.theme.SubstanceMixTheme,  org.jvnet.substance.themepack.theme.ExtraGreenPearlTheme,  org.jvnet.substance.theme.SubstanceDarkVioletTheme,  org.jvnet.substance.theme.SubstancePurpleTheme,  org.jvnet.substance.theme.SubstanceBlendBiTheme,  org.jvnet.substance.theme.SubstanceSunGlareTheme,  org.jvnet.substance.theme.SubstanceBrownTheme,  org.jvnet.substance.theme.SubstanceAquaTheme,  org.jvnet.substance.theme.SubstanceLimeGreenTheme,  org.jvnet.substance.themepack.theme.ExtraBlueYonderTheme,  org.jvnet.substance.theme.SubstanceBottleGreenTheme,  org.jvnet.substance.theme.SubstanceCremeTheme,  org.jvnet.substance.theme.SubstanceOliveTheme,  org.jvnet.substance.theme.SubstanceSunsetTheme,  org.jvnet.substance.themepack.theme.ExtraEmeraldGrassTheme,  org.jvnet.substance.themepack.theme.ExtraWildPineTheme,  org.jvnet.substance.themepack.theme.ExtraGooseberryJungleTheme,  org.jvnet.substance.theme.SubstanceWrapperTheme,  org.jvnet.substance.themepack.theme.ExtraPlacidPinkTheme,  org.jvnet.substance.theme.SubstanceComplexTheme,  org.jvnet.substance.theme.SubstanceJadeForestTheme,  org.jvnet.substance.theme.SubstanceDesertSandTheme,  org.jvnet.substance.themepack.theme.ExtraEarthFrescoTheme,  org.jvnet.substance.theme.SubstanceCharcoalTheme,  org.jvnet.substance.theme.SubstanceEbonyTheme,  org.jvnet.substance.themepack.theme.ExtraPeachTheme,  org.jvnet.substance.themepack.theme.ExtraFauveMauveTheme,  org.jvnet.substance.themepack.theme.ExtraBelizeTheme,  org.jvnet.substance.theme.SubstanceOrangeTheme,  org.jvnet.substance.theme.SubstanceTerracottaTheme,  org.jvnet.substance.themepack.theme.ExtraBrownVelvetTheme,  org.jvnet.substance.theme.SubstanceUltramarineTheme,  org.jvnet.substance.themepack.theme.ExtraTurquoiseLakeTheme,  org.jvnet.substance.themepack.theme.ExtraSkyHighTheme,  org.jvnet.substance.themepack.theme.ExtraOrchidAlloyTheme,  org.jvnet.substance.themepack.theme.ExtraBrickWallTheme,  org.jvnet.substance.theme.SubstanceRaspberryTheme,  org.jvnet.substance.theme.SubstanceSepiaTheme,  org.jvnet.substance.theme.SubstanceLightAquaTheme,  org.jvnet.substance.themepack.theme.ExtraDesertMarsTheme,
SubstanceTheme
public class SubstanceTheme implements SubstanceTrait(Code)
Theme for Substance look and feel. This class is part of officially supported API.
author:
   Kirill Grouchnikov

Inner Class :public enum ThemeKind

Field Summary
public static  ColorSchemeAQUA
     Used as reference to the default color scheme.
public static  ColorSchemeGREEN
     Used as reference to the green color scheme.
public static  ColorSchemeORANGE
     Used as reference in attention-drawing animations.
public static  ColorSchemeYELLOW
     Used as reference in attention-drawing animations.

Constructor Summary
public  SubstanceTheme(ColorScheme colorScheme, String displayName, ThemeKind themeKind)
     Simple constructor.

Method Summary
public  voidaddCustomEntriesToTable(UIDefaults table)
     Adds theme-specific entries to the UI defaults table.
public static  SubstanceThemeaddUserDefined(ColorScheme scheme, ThemeKind themeKind, String displayName)
     Creates a new theme based on the specified parameters.
public static  SubstanceThemecreateInstance(ThemeInfo themeInfo)
     Creates a theme instance based on the specified theme info object.
public  SubstanceThemedeuteranopia()
     Creates a new version of this theme that simulates the deuteranopia color blindness.
public  SubstanceThemegetActiveTheme()
     Returns the active theme that corresponds to this theme.
public  SubstanceThemegetActiveTitlePaneTheme()
     Returns the theme for title panes of active frames.
public  ColorgetBackgroundColor()
     Returns the background color for this theme.
public  SubstanceThemegetBorderTheme()
     Returns the theme for border painting.
public  ColorSchemegetColorScheme()
     Returns the color scheme of this theme.
public  SubstanceThemegetDecorationTheme(DecorationAreaType decorationType)
    
public static  ColorSchemegetDefaultColorScheme(ThemeKind themeKind)
     Returns the default scheme that corresponds to the specified theme kind. This method is for internal use only.
Parameters:
  themeKind - Theme kind.
public  ColorSchemegetDefaultColorScheme()
     Returns the default color scheme that corresponds to this theme.
public  SubstanceThemegetDefaultTheme()
     Returns the default theme that corresponds to this theme.
public  SubstanceThemegetDefaultTitlePaneTheme()
     Returns the theme for title panes of inactive frames.
public  ColorgetDisabledBackgroundColor()
     Returns the disabled background color for this theme.
public static  ColorSchemegetDisabledColorScheme(ThemeKind themeKind)
     Returns the disabled scheme that corresponds to the specified theme kind. This method is for internal use only.
Parameters:
  themeKind - Theme kind.
public  ColorSchemegetDisabledColorScheme()
     Returns the disabled color scheme that corresponds to this theme.
public  ColorgetDisabledForegroundColor()
     Returns the disabled foreground color for this theme.
public  SubstanceThemegetDisabledTheme()
     Returns the disabled theme that corresponds to this theme.
public  StringgetDisplayName()
    
public  SubstanceThemegetFirstTheme()
     Returns the first theme.
public  ColorUIResourcegetForegroundColor()
     Returns the foreground color for this theme.
public  SubstanceThemegetHighlightTheme(Component comp, ComponentState componentState)
     Returns the highlight theme that corresponds to the specified component state.
Parameters:
  comp - Component.
Parameters:
  componentState - Component state.
public  floatgetHighlightThemeAlpha(Component comp, ComponentState componentState)
     Returns the alpha channel that is applied on highlight theme when a component is in the specified state.
Parameters:
  comp - Component.
Parameters:
  componentState - Component state.
public  ThemeKindgetKind()
     Returns the kind of this theme.
public  ColorgetLightBackgroundColor()
     Returns the light background color for this theme.
public  ColorgetLineColor()
     Returns the line color for this theme.
public  ColorgetLineColorDefault()
     Returns the line color for this theme.
public  SubstanceGradientPaintergetNonActivePainter()
     Returns the painter for painting the non-active controls.
public  SubstanceThemegetSecondTheme()
     Returns the second theme.
public  doublegetSelectedTabFadeEnd()
     Returns the end of fade effect on the selected tabs in JTabbedPane s.
public  doublegetSelectedTabFadeStart()
     Returns the start of fade effect on the selected tabs in JTabbedPane s.
public  ColorgetSelectionBackgroundColor()
     Returns the selection background color for this theme.
public  ColorgetSelectionCellForegroundColor()
     Returns the foreground color for selected cells for this theme.
public  ColorgetSelectionForegroundColor()
     Returns the selection foreground color for this theme.
public static  SubstanceThemegetTheme(String displayName)
     Returns the theme that matches the specified display name.
public  SubstanceThemegetTheme(Component comp, ComponentState componentState)
     Returns the theme that corresponds to the specified component state.
Parameters:
  componentState - Component state.
public  SubstanceThemegetTheme(Component comp, ComponentState componentState, boolean toIgnoreHighlights)
    
public  floatgetThemeAlpha(Component comp, ComponentState componentState)
     Returns the alpha channel that is applied on theme when a component is in the specified state.
Parameters:
  comp - Component.
Parameters:
  componentState - Component state.
public  StringgetThemeName()
     Returns the name of this theme.
public  ColorgetWatermarkStampColor()
     Returns the translucent watermark stamp color of this theme.
public  SubstanceThemegetWatermarkTheme()
     Returns the theme for watermark painting.
public  SubstanceThemehueShift(double hueShiftFactor)
     Creates a hue-shifted (in HSB space) version of this theme.
public  SubstanceThemeinvert()
     Creates an inverted version of this theme.
public  booleanisDark()
     Returns indication whether this theme is dark.
public  booleanisPaintingToolbarDropShadows()
    
public  SubstanceThemenegate()
     Creates a negated version of this theme.
public  SubstanceThemeprotanopia()
     Creates a new version of this theme that simulates the protanopia color blindness.
public  SubstanceThemesaturate(double saturateFactor)
     Creates a saturated or desaturated version of this theme. The value and brightness stay the same.
public  SubstanceThemesaturate(double saturateFactor, boolean toSaturateEverything)
     Creates a saturated or desaturated version of this theme. The value and brightness stay the same.
public  SubstanceThemeshade(double shadeFactor)
     Creates a shaded (shifted towards black) version of this theme.
public  SubstanceThemeshift(Color backgroundShiftColor, double backgroundShiftFactor, Color foregroundShiftColor, double foregroundShiftFactor)
     Creates a shift version of this theme.
public  SubstanceThemetint(double tintFactor)
     Creates a tinted (shifted towards white) version of this theme.
public  StringtoString()
    
public  booleantoUseDecorationPainter(DecorationAreaType decorationType)
    
public  booleantoUseDecorationThemeOnActiveControls(DecorationAreaType decorationType)
    
public  SubstanceThemetone(double toneFactor)
     Creates a toned (shifted towards gray) version of this theme.
public  SubstanceThemetritanopia()
     Creates a new version of this theme that simulates the tritanopia color blindness.

Field Detail
AQUA
public static ColorScheme AQUA(Code)
Used as reference to the default color scheme. This field is for internal use only.



GREEN
public static ColorScheme GREEN(Code)
Used as reference to the green color scheme. This field is for internal use only.



ORANGE
public static ColorScheme ORANGE(Code)
Used as reference in attention-drawing animations. This field is for internal use only.



YELLOW
public static ColorScheme YELLOW(Code)
Used as reference in attention-drawing animations. This field is for internal use only.




Constructor Detail
SubstanceTheme
public SubstanceTheme(ColorScheme colorScheme, String displayName, ThemeKind themeKind)(Code)
Simple constructor. This constructor is part of officially supported API.
Parameters:
  colorScheme - Color scheme for this theme.
Parameters:
  displayName - Display name for this theme.
Parameters:
  themeKind - Kind of this theme.




Method Detail
addCustomEntriesToTable
public void addCustomEntriesToTable(UIDefaults table)(Code)
Adds theme-specific entries to the UI defaults table.
Parameters:
  table - UI defaults table.



addUserDefined
public static SubstanceTheme addUserDefined(ColorScheme scheme, ThemeKind themeKind, String displayName)(Code)
Creates a new theme based on the specified parameters. Note that the preferred way is to create a plugin. This method is part of officially supported API.
Parameters:
  scheme - Color scheme object.
Parameters:
  themeKind - Theme kind.
Parameters:
  displayName - Display name for the new theme. New theme object.SubstanceTheme.SubstanceTheme(ColorSchemeStringorg.jvnet.substance.theme.SubstanceTheme.ThemeKind)



createInstance
public static SubstanceTheme createInstance(ThemeInfo themeInfo)(Code)
Creates a theme instance based on the specified theme info object. This method is for internal use only.
Parameters:
  themeInfo - Theme info. Theme instance that matches the specified theme info object.



deuteranopia
public SubstanceTheme deuteranopia()(Code)
Creates a new version of this theme that simulates the deuteranopia color blindness. New version of this theme that simulates thedeuteranopia color blindness.



getActiveTheme
public SubstanceTheme getActiveTheme()(Code)
Returns the active theme that corresponds to this theme. This method is for internal use only. The active theme that corresponds to this theme.



getActiveTitlePaneTheme
public SubstanceTheme getActiveTitlePaneTheme()(Code)
Returns the theme for title panes of active frames. This method is for internal use only. Theme for title panes of active frames



getBackgroundColor
public Color getBackgroundColor()(Code)
Returns the background color for this theme. The background color for this theme.
since:
   version 4.0



getBorderTheme
public SubstanceTheme getBorderTheme()(Code)
Returns the theme for border painting. Theme for border painting.
since:
   version 4.0



getColorScheme
public ColorScheme getColorScheme()(Code)
Returns the color scheme of this theme. This method is part of officially supported API. Color scheme of this theme.



getDecorationTheme
public SubstanceTheme getDecorationTheme(DecorationAreaType decorationType)(Code)



getDefaultColorScheme
public static ColorScheme getDefaultColorScheme(ThemeKind themeKind)(Code)
Returns the default scheme that corresponds to the specified theme kind. This method is for internal use only.
Parameters:
  themeKind - Theme kind. Default scheme that corresponds to the specified theme kind.



getDefaultColorScheme
public ColorScheme getDefaultColorScheme()(Code)
Returns the default color scheme that corresponds to this theme. This method is for internal use only. The default color scheme that corresponds to thistheme.



getDefaultTheme
public SubstanceTheme getDefaultTheme()(Code)
Returns the default theme that corresponds to this theme. This method is for internal use only. The default theme that corresponds to this theme.



getDefaultTitlePaneTheme
public SubstanceTheme getDefaultTitlePaneTheme()(Code)
Returns the theme for title panes of inactive frames. This method is for internal use only. Theme for title panes of inactive frames



getDisabledBackgroundColor
public Color getDisabledBackgroundColor()(Code)
Returns the disabled background color for this theme. The disabled background color for this theme.
since:
   version 4.0SubstanceTheme.getDisabledTheme()SubstanceTheme.getBackgroundColor



getDisabledColorScheme
public static ColorScheme getDisabledColorScheme(ThemeKind themeKind)(Code)
Returns the disabled scheme that corresponds to the specified theme kind. This method is for internal use only.
Parameters:
  themeKind - Theme kind. Disabled scheme that corresponds to the specified theme kind.



getDisabledColorScheme
public ColorScheme getDisabledColorScheme()(Code)
Returns the disabled color scheme that corresponds to this theme. This method is for internal use only. The disabled color scheme that corresponds to thistheme.



getDisabledForegroundColor
public Color getDisabledForegroundColor()(Code)
Returns the disabled foreground color for this theme. The disabled foreground color for this theme.
since:
   version 4.0SubstanceTheme.getDisabledTheme()SubstanceTheme.getForegroundColor



getDisabledTheme
public SubstanceTheme getDisabledTheme()(Code)
Returns the disabled theme that corresponds to this theme. This method is for internal use only. The disabled theme that corresponds to this theme.



getDisplayName
public String getDisplayName()(Code)



getFirstTheme
public SubstanceTheme getFirstTheme()(Code)
Returns the first theme. This method is for internal use only. First theme.



getForegroundColor
public ColorUIResource getForegroundColor()(Code)
Returns the foreground color for this theme. The foreground color for this theme.
since:
   version 4.0



getHighlightTheme
public SubstanceTheme getHighlightTheme(Component comp, ComponentState componentState)(Code)
Returns the highlight theme that corresponds to the specified component state.
Parameters:
  comp - Component.
Parameters:
  componentState - Component state. The highlight theme that corresponds to the specified componentstate.
since:
   version 4.0



getHighlightThemeAlpha
public float getHighlightThemeAlpha(Component comp, ComponentState componentState)(Code)
Returns the alpha channel that is applied on highlight theme when a component is in the specified state.
Parameters:
  comp - Component.
Parameters:
  componentState - Component state. Alpha channel that is applied on highlight theme when a componentis in the specified state.



getKind
public ThemeKind getKind()(Code)
Returns the kind of this theme. This method is part of officially supported API. The kind of this theme.



getLightBackgroundColor
public Color getLightBackgroundColor()(Code)
Returns the light background color for this theme. The light background color for this theme.
since:
   version 4.0



getLineColor
public Color getLineColor()(Code)
Returns the line color for this theme. The line color for this theme.
since:
   version 4.0



getLineColorDefault
public Color getLineColorDefault()(Code)
Returns the line color for this theme. The line color for this theme.
since:
   version 4.0



getNonActivePainter
public SubstanceGradientPainter getNonActivePainter()(Code)
Returns the painter for painting the non-active controls. Painter for painting the non-active controls.



getSecondTheme
public SubstanceTheme getSecondTheme()(Code)
Returns the second theme. This method is for internal use only. Second theme.



getSelectedTabFadeEnd
public double getSelectedTabFadeEnd()(Code)
Returns the end of fade effect on the selected tabs in JTabbedPane s. This value can be used to create XP-like "headers" on the selected tabs. The end of fade effect on the selected tabs inJTabbedPanes.
See Also:   SubstanceTheme.getSelectedTabFadeStart()



getSelectedTabFadeStart
public double getSelectedTabFadeStart()(Code)
Returns the start of fade effect on the selected tabs in JTabbedPane s. This value can be used to create XP-like "headers" on the selected tabs. The start of fade effect on the selected tabs inJTabbedPanes.
See Also:   SubstanceTheme.getSelectedTabFadeEnd()



getSelectionBackgroundColor
public Color getSelectionBackgroundColor()(Code)
Returns the selection background color for this theme. The selection background color for this theme.
since:
   version 4.0



getSelectionCellForegroundColor
public Color getSelectionCellForegroundColor()(Code)
Returns the foreground color for selected cells for this theme. The foreground color for selected cells for this theme.
since:
   version 4.0



getSelectionForegroundColor
public Color getSelectionForegroundColor()(Code)
Returns the selection foreground color for this theme. The selection foreground color for this theme.
since:
   version 4.0



getTheme
public static SubstanceTheme getTheme(String displayName)(Code)
Returns the theme that matches the specified display name. This method is for internal use only.
Parameters:
  displayName - Theme display name. Theme that matches the specified display name.



getTheme
public SubstanceTheme getTheme(Component comp, ComponentState componentState)(Code)
Returns the theme that corresponds to the specified component state.
Parameters:
  componentState - Component state. The theme that corresponds to the specified component state.
since:
   version 4.0



getTheme
public SubstanceTheme getTheme(Component comp, ComponentState componentState, boolean toIgnoreHighlights)(Code)



getThemeAlpha
public float getThemeAlpha(Component comp, ComponentState componentState)(Code)
Returns the alpha channel that is applied on theme when a component is in the specified state.
Parameters:
  comp - Component.
Parameters:
  componentState - Component state. Alpha channel that is applied on theme when a component is in thespecified state.



getThemeName
public String getThemeName()(Code)
Returns the name of this theme. This method is part of officially supported API. The name of this theme.



getWatermarkStampColor
public Color getWatermarkStampColor()(Code)
Returns the translucent watermark stamp color of this theme. This method is for internal use only. Translucent watermark stamp color of this theme.



getWatermarkTheme
public SubstanceTheme getWatermarkTheme()(Code)
Returns the theme for watermark painting. Theme for watermark painting.



hueShift
public SubstanceTheme hueShift(double hueShiftFactor)(Code)
Creates a hue-shifted (in HSB space) version of this theme. This method is part of officially supported API.
Parameters:
  hueShiftFactor - Value in -1.0...1.0 range. Hue-shifted version of this theme.



invert
public SubstanceTheme invert()(Code)
Creates an inverted version of this theme. This method is part of officially supported API. Inverted version of this theme.



isDark
public boolean isDark()(Code)
Returns indication whether this theme is dark. This method is part of officially supported API. true if this theme is dark,false otherwise.SubstanceTheme.getKind()



isPaintingToolbarDropShadows
public boolean isPaintingToolbarDropShadows()(Code)



negate
public SubstanceTheme negate()(Code)
Creates a negated version of this theme. This method is part of officially supported API. Negated version of this theme.



protanopia
public SubstanceTheme protanopia()(Code)
Creates a new version of this theme that simulates the protanopia color blindness. New version of this theme that simulates theprotanopia color blindness.



saturate
public SubstanceTheme saturate(double saturateFactor)(Code)
Creates a saturated or desaturated version of this theme. The value and brightness stay the same. This method is part of officially supported API.
Parameters:
  saturateFactor - Value in -1.0...1.0 range. Positive values create moresaturated colors. Negative values create more desaturatedcolors. Saturated version of this theme.



saturate
public SubstanceTheme saturate(double saturateFactor, boolean toSaturateEverything)(Code)
Creates a saturated or desaturated version of this theme. The value and brightness stay the same. This method is part of officially supported API.
Parameters:
  saturateFactor - Value in -1.0...1.0 range. Positive values create moresaturated colors. Negative values create more desaturatedcolors.
Parameters:
  toSaturateEverything - If true, all visual components ofthis theme will be saturated. Iffalse, only the SubstanceTheme.getActiveTheme() willbe saturated. Saturated version of this theme.



shade
public SubstanceTheme shade(double shadeFactor)(Code)
Creates a shaded (shifted towards black) version of this theme. This method is part of officially supported API.
Parameters:
  shadeFactor - Value in 0.0...1.0 range. Larger values shift more towardsblack color. Shaded version of this theme.



shift
public SubstanceTheme shift(Color backgroundShiftColor, double backgroundShiftFactor, Color foregroundShiftColor, double foregroundShiftFactor)(Code)
Creates a shift version of this theme. This method is part of officially supported API.
Parameters:
  backgroundShiftColor - Shift color for background colors. Should have full opacity.
Parameters:
  backgroundShiftFactor - Value in 0.0...1.0 range. Larger values shift more towards thespecified color.
Parameters:
  foregroundShiftColor - Shift color for foreground colors. Should have full opacity.
Parameters:
  foregroundShiftFactor - Value in 0.0...1.0 range. Larger values shift more towards thespecified color. Shift version of this theme.



tint
public SubstanceTheme tint(double tintFactor)(Code)
Creates a tinted (shifted towards white) version of this theme. This method is part of officially supported API.
Parameters:
  tintFactor - Value in 0.0...1.0 range. Larger values shift more towardswhite color. Tinted version of this theme.



toString
public String toString()(Code)



toUseDecorationPainter
public boolean toUseDecorationPainter(DecorationAreaType decorationType)(Code)



toUseDecorationThemeOnActiveControls
public boolean toUseDecorationThemeOnActiveControls(DecorationAreaType decorationType)(Code)



tone
public SubstanceTheme tone(double toneFactor)(Code)
Creates a toned (shifted towards gray) version of this theme. This method is part of officially supported API.
Parameters:
  toneFactor - Value in 0.0...1.0 range. Larger values shift more towardsgray color. Toned version of this theme.



tritanopia
public SubstanceTheme tritanopia()(Code)
Creates a new version of this theme that simulates the tritanopia color blindness. New version of this theme that simulates thetritanopia color blindness.



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.