Java Doc for SubstanceLookAndFeel.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) 


java.lang.Object
   javax.swing.LookAndFeel
      javax.swing.plaf.basic.BasicLookAndFeel
         org.jvnet.substance.SubstanceLookAndFeel

All known Subclasses:   org.jvnet.substance.skin.SubstanceMagmaLookAndFeel,  org.jvnet.substance.skin.SubstanceGreenMagicLookAndFeel,  org.jvnet.substance.skin.SubstanceMistAquaLookAndFeel,  org.jvnet.substance.skin.SubstanceOfficeSilver2007LookAndFeel,  org.jvnet.substance.skin.SubstanceRavenGraphiteLookAndFeel,  org.jvnet.substance.skin.SubstanceNebulaLookAndFeel,  org.jvnet.substance.skin.SubstanceEmeraldDuskLookAndFeel,  org.jvnet.substance.skin.SubstanceAutumnLookAndFeel,  org.jvnet.substance.skin.SubstanceCremeLookAndFeel,  org.jvnet.substance.skin.SubstanceBusinessBlueSteelLookAndFeel,  org.jvnet.substance.skin.SubstanceRavenLookAndFeel,  org.jvnet.substance.SubstanceDefaultLookAndFeel,  org.jvnet.substance.skin.SubstanceMangoLookAndFeel,  org.jvnet.substance.skin.SubstanceChallengerDeepLookAndFeel,  org.jvnet.substance.skin.SubstanceFindingNemoLookAndFeel,  org.jvnet.substance.skin.SubstanceBusinessLookAndFeel,  org.jvnet.substance.skin.SubstanceCremeCoffeeLookAndFeel,  org.jvnet.substance.skin.SubstanceBusinessBlackSteelLookAndFeel,  org.jvnet.substance.skin.SubstanceFieldOfWheatLookAndFeel,  org.jvnet.substance.skin.SubstanceNebulaBrickWallLookAndFeel,  org.jvnet.substance.skin.SubstanceOfficeBlue2007LookAndFeel,  org.jvnet.substance.skin.SubstanceRavenGraphiteGlassLookAndFeel,  org.jvnet.substance.skin.SubstanceMistSilverLookAndFeel,  org.jvnet.substance.skin.SubstanceSaharaLookAndFeel,  org.jvnet.substance.skin.SubstanceModerateLookAndFeel,
SubstanceLookAndFeel
public class SubstanceLookAndFeel extends BasicLookAndFeel (Code)
Main class for Substance look and feel. All static methods in this class should be called when Substance is the currently set look and feel.

Since version 3.1, Substance no longer extends Metal. As before, this is an implementation detail and not part of an official API.
author:
   Kirill Grouchnikov


Field Summary
final public static  StringBACKGROUND_COMPOSITE
     Client property name for specifying the background composite for various translucency effects.
final public static  FadeKindBORDER_ANIMATION_KIND
     Fade kind for border animations.
final public static  StringBORDER_PAINTER_PROPERTY
     Property name for specifying border painter.
final public static  StringBUTTON_NO_MIN_SIZE_PROPERTY
     Client property name for ignoring default (minimum) dimension for a single button.
final public static  StringBUTTON_OPEN_SIDE_PROPERTY
     Client property name for specifying an open side for a single button. This property must be set as a client property on a specific button.
final public static  StringBUTTON_PAINT_NEVER_PROPERTY
     Client property name for specifying that a single button / all application buttons should never paint the background.
final public static  StringBUTTON_SHAPER_PROPERTY
     Property name for specifying button shaper.
final public static  StringBUTTON_SIDE_PROPERTY
     Client property name for specifying a straight side for a single button. This property must be set as a client property on a specific button.
final public static  StringCOLORIZATION_FACTOR
    

Client property name for specifying that the colorization amount applied to the background and foreground of the current theme and the specific control.

final public static  StringCOMBO_BOX_POPUP_FLYOUT_ORIENTATION
     Client property name for specifying combo popup flyout orientation.
final public static  StringCOMBO_POPUP_PROTOTYPE
     Property name for specifying the combobox popup prototype display value which is used to compute the width of the popup at runtime.
final public static  StringCONFIG_FILE
     VM property name for the configuration file.
final public static  StringCORNER_RADIUS
     Client property name for specifying the corner radius for buttons. Currently, this property is respected only on toolbar buttons.
final public static  StringDEBUG_UI_MODE
     Property name for specifying the debug UI mode.
final public static  StringENABLE_INVERTED_THEMES
     Property name for enabling inverted themes.
final public static  StringENABLE_NEGATED_THEMES
     Property name for enabling negated themes.
final public static  StringFLAT_PROPERTY
     Property name for specifying that the component should be painted flat (no background / border) when it's inactive.
final public static  StringFOCUS_KIND
     Client property name for specifying the kind of focus indication on buttons, check boxes and radio buttons.
final public static  StringGRADIENT_PAINTER_PROPERTY
     Property name for specifying gradient painter.
final public static  StringGRIP_PAINTER
     Property name for specifying custom grip handles.
final public static  StringHEAP_STATUS_PANEL
     Property name for specifying that custom frame title panes should show the heap status panel.
final public static  StringMENU_GUTTER_FILL_KIND
     Property name for specifying menu gutter fill kind.
final public static  StringNO_EXTRA_ELEMENTS
     Property name for specifying that no extra UI elements (such as menu items in system menu or menu search panel) should be shown.
final public static  StringOVERLAY_PROPERTY
     Client property name for specifying that a single control / all application controls have overlay functionality.
final public static  StringPAINT_ACTIVE_PROPERTY
     Client property name for specifying that a single control / all application controls should always be painted in active color (unless a control is disabled).
final public static  StringPASSWORD_ECHO_PER_CHAR
     Client property name for specifying the number of echo characters for each password character.
final public static  StringPLUGIN_XML
     The name of plugin configuration XML resource name.
final public static  StringSCROLL_PANE_BUTTONS_POLICY
     Client property name for specifying scroll pane button policy.
final protected static  StringSUBSTANCE_FONT_POLICY_KEY
     Internal client property name for storing application-specific font policy.
final public static  StringTABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION
     Client property name for specifying that only the close button of a marked-as-modified tab component should pulsate.
final public static  StringTABBED_PANE_CLOSE_BUTTONS_PROPERTY
     Client property name for specifying that a single tab / all tabs of a single tabbed pane / all tabs of all tabbed panes should have close buttons.
final public static  StringTABBED_PANE_CLOSE_CALLBACK
     Client property name for specifying the callback for deciding on the tab close type.
final public static  StringTABBED_PANE_CONTENT_BORDER_KIND
     Client property name for specifying the content pane border kind.
final public static  StringTABBED_PANE_TEXT_ALIGNMENT_KIND
     Client property name for specifying the text alignment kind for on SwingConstants.LEFT and SwingConstants.RIGHT tab placements.
final public static  StringTABBED_PANE_VERTICAL_ORIENTATION
     Client property name for specifying that a single tabbed pane / all tabbed panes should have vertical layout (rotated tabs) on SwingConstants.LEFT and SwingConstants.RIGHT tab placements.
final public static  StringTABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS
     Client property name for specifying that when a single tabbed pane / all tabbed panes is layed-out vertically, the tab icons remain unrotated.This property can be specified on a single tab component, on a JTabbedPane itself (will hold for all tab components that don't define this property) or on UIManager .
final public static  StringTHEME_PROPERTY
     Property name for setting theme.
final public static  StringTITLE_PAINTER_PROPERTY
     Property name for specifying title painter.
final public static  StringTRACE_FILE
     VM property name for specifying the trace file.
final public static  FadeKindTREE_DECORATIONS_ANIMATION_KIND
    

Fade kind for tree decorations animation kind.

final public static  FadeKindTREE_SMART_SCROLL_ANIMATION_KIND
     Fade kind for smart tree scroll.
final public static  StringUSE_THEMED_DEFAULT_ICONS
    

Client property name for specifying that icons on buttons and toggle buttons should match the color of the current theme when they are in default state.

final public static  StringWATERMARK_IGNORE
     Client property name for requesting that watermark should not be painted on the component and its descendants.
final public static  StringWATERMARK_IMAGE_KIND
     VM property for specifying the image watermark kind.
final public static  StringWATERMARK_IMAGE_OPACITY
     VM property for specifying the image watermark opacity.
final public static  StringWATERMARK_IMAGE_PROPERTY
     Property name for setting SubstanceImageWatermark watermark image.
final public static  StringWATERMARK_PROPERTY
     Property name for setting watermark.
final public static  StringWATERMARK_TO_BLEED
     Property name for requesting that watermark should bleed through lists, trees and tables.
final public static  StringWINDOW_MODIFIED
     Client property name for specifying that contents of some frame, dialog, internal frame, desktop icon or tab have been modified and not saved.
protected static  Map<Class<?>, ControlBackgroundComposite>backgroundComposites
     Contains default background composites on per-class basis.
protected static  Set<BorderPainterChangeListener>borderPainterChangeListeners
     List of all listeners on border painter changes.
protected static  PluginManagerborderPainterPlugins
     Plugin manager for border painter plugins.
protected static  Set<ButtonShaperChangeListener>buttonShaperChangeListeners
     List of all listeners on button shaper changes.
protected static  ComponentPluginManagercomponentPlugins
     Plugin manager for component plugins.
protected  KeyboardFocusManagercurrentKeyboardFocusManager
     The current keyboard focus manager - fix for defect 208.
protected  PropertyChangeListenerfocusOwnerChangeListener
     Change listener on keyboard focus manager - fix for defect 208.
protected static  Set<GradientPainterChangeListener>gradientPainterChangeListeners
     List of all listeners on gradient painter changes.
protected static  Set<String>ignoreAnimationsSet
     Contains a list of all control class names that should ignore the animations.
protected static  booleanisDebugUiMode
    
protected static  Set<LocaleChangeListener>localeChangeListeners
     List of all listeners on closing tabs.
protected static  Map<String, SubstanceMixTheme>mixedThemes
     List of all globally registered mixed themes.
protected static  PluginManagerpainterPlugins
     Plugin manager for gradient painter plugins.
protected static  ParamReaderparamReader
     The parameter reader.
protected static  PluginManagershaperPlugins
     Plugin manager for button shaper plugins.
protected static  Set<SkinChangeListener>skinChangeListeners
     List of all listeners on skin changes.
protected static  PluginManagerskinPlugins
     Plugin manager for skin plugins.
protected static  Set<ThemeChangeListener>themeChangeListeners
     List of all listeners on theme changes.
protected static  PluginManagerthemePlugins
     Plugin manager for theme plugins.
protected static  PluginManagertitlePainterPlugins
     Plugin manager for title painter plugins.
protected static  booleantoBleedWatermark
     Indicates whether the watermark should "bleed" through lists, tables and trees.
protected static  booleantoEnableInvertedThemes
     Indicates whether inverted themes should be enabled.
protected static  booleantoEnableNegatedThemes
     Indicates whether inverted themes should be enabled.
protected static  booleantoShowExtraElements
     Indicates whether extra UI elements (such as menu items in system menu or menu search panel) should be shown.
protected static  booleantoUseConstantThemesOnDialogs
     Indicates whether option dialogs (error, question, warning, info) should use constant themes for icon coloring.
protected static  Set<WatermarkChangeListener>watermarkChangeListeners
     List of all listeners on watermark changes.
protected static  PluginManagerwatermarkPlugins
     Plugin manager for watermark plugins.

Constructor Summary
public  SubstanceLookAndFeel()
     Creates new instance of Substance look and feel.

Method Summary
public static  voidaddMixedTheme(SubstanceMixTheme mixedTheme)
     Globally registers a new mixed theme.
public static  voidaddMixedTheme(SubstanceTheme... themes)
     Globally registers a new mixed theme.
public static  voidaddMixedThemeBy(SubstanceTheme mainTheme)
    
public static  ColorSchemegetActiveColorScheme()
     Returns the current color scheme for components in active visual state.
public static  Map<String, BorderPainterInfo>getAllBorderPainters()
     Returns all available border painters. All available border painters.
public static  Map<String, ButtonShaperInfo>getAllButtonShapers()
     Returns all available button shapers. All available button shapers.
public static  Map<String, GradientPainterInfo>getAllGradientPainters()
     Returns all available gradient painters. All available gradient painters.
public static  Map<String, SkinInfo>getAllSkins()
     Returns all available skins. All available skins.
public static  Set<BaseTabCloseListener>getAllTabCloseListeners()
     Returns the set of all listeners registered on tab-close events on all tabbed panes.
public static  Set<BaseTabCloseListener>getAllTabCloseListeners(JTabbedPane tabbedPane)
     Returns all listeners registered on tab closing of the specified tabbed pane.
Parameters:
  tabbedPane - A tabbed pane.
public static  Map<String, ThemeInfo>getAllThemes()
     Returns all available themes. All available color themes.
public static  Map<String, WatermarkInfo>getAllWatermarks()
     Returns all available watermarks. All available watermarks.
public static synchronized  ControlBackgroundCompositegetBackgroundComposite(Component component)
     Returns the default background composite for the specified component.
Parameters:
  component - Component.
public static  SubstanceBorderPaintergetCurrentBorderPainter()
     Returns the current Border painter.
public static  StringgetCurrentBorderPainterName()
     Returns the current border painter name.
public static  SubstanceButtonShapergetCurrentButtonShaper()
     Returns the current button shaper.
public static  StringgetCurrentButtonShaperName()
     Returns the current button shaper name.
public static  SubstanceDecorationPaintergetCurrentDecorationPainter()
    
public static  SubstanceGradientPaintergetCurrentGradientPainter()
     Returns the current gradient painter.
public static  StringgetCurrentGradientPainterName()
     Returns the current gradient painter name.
public static  SubstanceHighlightPaintergetCurrentHighlightPainter()
    
public static  SubstanceTextPaintergetCurrentTextPainter()
    
public static  StringgetCurrentThemeName()
     Returns the current color theme name.
public static  SubstanceWatermarkgetCurrentWatermark()
     Returns the current watermark.
public static  StringgetCurrentWatermarkName()
     Returns the current watermark name.
public static  ColorSchemegetDefaultColorScheme()
     Returns the current color scheme for components in default visual state.
public  UIDefaultsgetDefaults()
    
public  StringgetDescription()
    
public static  ColorSchemegetDisabledColorScheme()
     Returns the current color scheme for components in disabled visual state.
public static  FontPolicygetFontPolicy()
     Looks up and retrieves the FontPolicy used by the Substance family.
public  StringgetID()
    
public static  ImageWatermarkKindgetImageWatermarkKind()
     Returns the global kind for image-based watermarks.
public static  floatgetImageWatermarkOpacity()
     Returns the global opacity for image-based watermarks. The global opacity for image-based watermarks.
public static synchronized  ResourceBundlegetLabelBundle()
     Retrieves the current label bundle.
public static synchronized  ResourceBundlegetLabelBundle(Locale locale)
     Retrieves the label bundle for the specified locale.
Parameters:
  locale - Locale.
public static  Set<LocaleChangeListener>getLocaleListeners()
     Returns all listeners registered on locale change.
public  StringgetName()
    
public static  ParamReadergetParamReader()
     Returns the parameter reader.
public static  SetgetPlugins()
     Returns all available plugins.
public  booleangetSupportsWindowDecorations()
    
public static  SubstanceThemegetTheme()
     Returns the current theme.
public static  JComponentgetTitlePaneComponent(Window window)
     Returns the title pane of the specified top-level window.
Parameters:
  window - Top-level window.
public static  booleanhasMixedThemes()
     Checks whether there are any mixed themes registered globally.
public static  voidhideMenuSearchPanels()
     Hides menu search panels on all open frames.
public static  voidignoreAnimationsOnClass(Class componentClazz)
     Requests that animations be ignored on all instances of the specified class.
public static  voidignoreAnimationsOnClass(String componentClazzName)
     Requests that animations be ignored on all instances of the specified class.
protected  voidinitClassDefaults(UIDefaults table)
    
protected  voidinitComponentDefaults(UIDefaults table)
    
public  voidinitialize()
    
public static  booleanisDebugUiMode()
     Returns indication whether the application is in debug UI mode.
public  booleanisNativeLookAndFeel()
    
public  booleanisSupportedLookAndFeel()
    
public static  booleanisToUseConstantThemesOnDialogs()
     Checks whether the JOptionPanes created with predefined message types should use constant themes for the icons.
public static  voidpermanentlyHideHeapStatusPanel(JRootPane pane)
     Makes the heap status panels disappear permanently on the specified title pane and removes the corresponding check box menu items from the system menu.
public static  voidpermanentlyShowHeapStatusPanel(JRootPane pane)
     Makes the heap status panels appear permanently on the specified title pane and removes the corresponding check box menu items from the system menu.
public static  voidregisterBorderPainterChangeListener(BorderPainterChangeListener borderPainterChangeListener)
     Registers a new listener on border painter change.
public static  voidregisterButtonShaperChangeListener(ButtonShaperChangeListener buttonShaperChangeListener)
     Registers a new listener on button shaper change.
public static  voidregisterGradientPainterChangeListener(GradientPainterChangeListener gradientPainterChangeListener)
     Registers a new listener on gradient painter change.
public static  voidregisterLocaleChangeListener(LocaleChangeListener localeListener)
     Registers a new listener on locale change.
public static  voidregisterSkinChangeListener(SkinChangeListener skinChangeListener)
     Registers a new listener on skin change.
public static  voidregisterTabCloseChangeListener(BaseTabCloseListener tabCloseListener)
     Registers the specified listener on tab-close events on all tabbed panes.
public static  voidregisterTabCloseChangeListener(JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)
     Registers the specified listener on tab-close events on the specified tabbed pane.
Parameters:
  tabbedPane - Tabbed pane.
public static  voidregisterThemeChangeListener(ThemeChangeListener themeChangeListener)
     Registers a new listener on theme change.
public static  voidregisterWatermarkChangeListener(WatermarkChangeListener watermarkChangeListener)
     Registers a new listener on watermark change.
public static  voidremoveMixedTheme(SubstanceMixTheme mixedTheme)
     Globally unregisters the specified mixed theme.
public static  voidremoveMixedThemeBy(SubstanceTheme mainTheme)
     Globally unregisters a collection of mixed themes such that the specified theme is the main theme.
public static synchronized  voidresetLabelBundle()
     Resets the current label bundle.
public static synchronized  voidsetBackgroundComposite(Class clazz, ControlBackgroundComposite composite)
     Specifies that a control of some class should use the specified background composite when it (the control) doesn't define the SubstanceLookAndFeel.BACKGROUND_COMPOSITE client property.
public static  booleansetCurrentBorderPainter(String borderPainterClassName)
     Sets new border painter.
Parameters:
  borderPainterClassName - Border painter class name (full qualified).
public static  booleansetCurrentBorderPainter(SubstanceBorderPainter currentBorderPainter)
     Sets new border painter.
Parameters:
  currentBorderPainter - Border painter object.
public static  booleansetCurrentButtonShaper(String buttonShaperClassName)
     Sets new button shaper.
Parameters:
  buttonShaperClassName - Button shaper class name (full qualified).
public static  booleansetCurrentButtonShaper(SubstanceButtonShaper currentButtonShaper)
     Sets new button shaper.
Parameters:
  currentButtonShaper - Button shaper object.
public static  booleansetCurrentDecorationPainter(SubstanceDecorationPainter newDecorationPainter)
    
public static  booleansetCurrentGradientPainter(String gradientPainterClassName)
     Sets new gradient painter.
Parameters:
  gradientPainterClassName - Gradient painter class name (full qualified).
public static  booleansetCurrentGradientPainter(SubstanceGradientPainter currentGradientPainter)
     Sets new gradient painter.
Parameters:
  currentGradientPainter - Gradient painter object.
public static  booleansetCurrentHighlightPainter(SubstanceHighlightPainter newHighlightPainter)
    
public static  booleansetCurrentTextPainter(SubstanceTextPainter newTextPainter)
    
public static  booleansetCurrentTheme(String themeClassName)
     Sets new theme.
public static  booleansetCurrentTheme(ThemeInfo themeInfo)
     Sets new theme.
public static  booleansetCurrentTheme(SubstanceTheme theme)
     Sets new theme.
public static  booleansetCurrentWatermark(String watermarkClassName)
     Sets new watermark.
Parameters:
  watermarkClassName - Watermark class name (full qualified).
public static  booleansetCurrentWatermark(SubstanceWatermark currentWatermark)
     Sets new watermark.
Parameters:
  currentWatermark - Watermark object.
public static  voidsetDecorationType(JComponent comp, DecorationAreaType type)
    
public static  voidsetFontPolicy(FontPolicy fontPolicy)
     Sets the FontPolicy to be used with Substance family.
public static  voidsetImageWatermarkKind(ImageWatermarkKind kind)
     Sets the global kind for image-based watermarks.
public static  voidsetImageWatermarkOpacity(float opacity)
     Sets the global opacity for image-based watermarks.
public static  voidsetLabelBundleClassLoader(ClassLoader labelBundleClassLoader)
     Sets the class loader for SubstanceLookAndFeel.LABEL_BUNDLE .
public static  booleansetSkin(SubstanceSkin skin)
     Sets the specified skin.
Parameters:
  skin - Skin to set.
public static  booleansetSkin(String skinClassName)
     Sets the specified skin.
Parameters:
  skinClassName - Skin to set.
public static  voidsetToUseConstantThemesOnDialogs(boolean toUseConstantThemesOnDialogs)
     Sets the new setting for the icons of the JOptionPanes created with predefined message types.
public static  voidshowMenuSearchPanels()
     Shows menu search panels on all open frames.
public static  voidstopThreads()
     Stops all Substance threads.
public static  booleantoBleedWatermark()
     Returns indication whether the watermark should "bleed" through list, table and tree renderers (where possible).
public static  booleantoEnableInvertedThemes()
     Returns indication whether inverted themes should be enabled.
public static  booleantoEnableNegatedThemes()
     Returns indication whether negated themes should be enabled.
public static  booleantoIgnoreAnimation(Class componentClazz)
     Checks whether animations should be ignored on instances of the specified class.
Parameters:
  componentClazz - Component class.
public static  booleantoShowExtraElements()
     Returns indication whether extra UI elements (such as menu items in system menu or menu search panel) should be shown.
public  voiduninitialize()
    
public static  voidunregisterBorderPainterChangeListener(BorderPainterChangeListener borderPainterChangeListener)
     Unregisters a listener on border painter change.
public static  voidunregisterButtonShaperChangeListener(ButtonShaperChangeListener buttonShaperChangeListener)
     Unregisters a listener on button shaper change.
public static  voidunregisterGradientPainterChangeListener(GradientPainterChangeListener gradientPainterChangeListener)
     Unregisters a listener on gradient painter change.
public static  voidunregisterLocaleChangeListener(LocaleChangeListener localeListener)
     Unregisters a listener on locale change.
public static  voidunregisterSkinChangeListener(SkinChangeListener skinChangeListener)
     Unregisters a listener on skin change.
public static  voidunregisterTabCloseChangeListener(BaseTabCloseListener tabCloseListener)
     Unregisters the specified listener on tab-close events on all tabbed panes.
public static  voidunregisterTabCloseChangeListener(JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)
     Unregisters the specified listener on tab-close events on the specified tabbed pane.
Parameters:
  tabbedPane - Tabbed pane.
public static  voidunregisterThemeChangeListener(ThemeChangeListener themeChangeListener)
     Unregisters a listener on theme change.
public static  voidunregisterWatermarkChangeListener(WatermarkChangeListener watermarkChangeListener)
     Unregisters a listener on watermark change.

Field Detail
BACKGROUND_COMPOSITE
final public static String BACKGROUND_COMPOSITE(Code)
Client property name for specifying the background composite for various translucency effects. This property can be set either as a client property on a specific control or as a global setting on UIManager . The value should be an instance of ControlBackgroundComposite . Available core implementations include AlphaControlBackgroundComposite , DefaultControlBackgroundComposite and DecayControlBackgroundComposite .

Note that setting this property on a container (such as JScrollPane ) will affect all its children (recursively) unless they set this property.

Example of setting a custom background composite on a scroll pane (will affect the painting of the scroll bars and all its children):

JPanel myPanel = new JPanel();
JScrollPane jsp = new JScrollPane(myPanel);
myPanel.putClientProperty(SubstanceLookAndFeel.BACKGROUND_COMPOSITE,
  new AlphaControlBackgroundComposite(0.4f, 0.7f));

Example of marking all application controls with the same background composite:

UIManager.put(SubstanceLookAndFeel.BACKGROUND_COMPOSITE,
  new AlphaControlBackgroundComposite(0.6f));

since:
   version 3.1



BORDER_ANIMATION_KIND
final public static FadeKind BORDER_ANIMATION_KIND(Code)
Fade kind for border animations. Enabled by default, use FadeConfigurationManager.disallowFades(FadeKind) to disable.



BORDER_PAINTER_PROPERTY
final public static String BORDER_PAINTER_PROPERTY(Code)
Property name for specifying border painter. This property is used both as a JVM flag and as a client property that can be set on a specific component.

For JVM flag, the value should be a fully-qualified name of the border painter class. This class must have a default (no-argument) constructor. For client property, the value should be either a fully-qualified class name as above or an instance of SubstanceBorderPainter .

Example of specifying a custom default border painter as a VM flag:

-Dsubstancelaf.borderPainter=org.jvnet.substance.border.ClassicBorderPainter

Example of using a painter class name as client property value:

JButton button = new JButton("text");
button.putClientProperty(SubstanceLookAndFeel.BORDER_PAINTER_PROPERTY,
  "org.jvnet.substance.border.ClassicBorderPainter");

since:
   version 4.0
See Also:   SubstanceLookAndFeel.getCurrentBorderPainter()
See Also:   SubstanceLookAndFeel.getCurrentBorderPainterName()
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(SubstanceBorderPainter)
See Also:   SubstanceLookAndFeel.registerBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterBorderPainterChangeListener(BorderPainterChangeListener)



BUTTON_NO_MIN_SIZE_PROPERTY
final public static String BUTTON_NO_MIN_SIZE_PROPERTY(Code)
Client property name for ignoring default (minimum) dimension for a single button. This property can be set either as a client property on a specific button or as a global setting on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE .

Note that SubstanceButtonShaper implementations are not required to respect this property. The current implementations of the default StandardButtonShaper and ClassicButtonShaper respect this property.

Example of marking a button to ignore minimum dimension settings:

JButton button = new JButton("text");
button.putClientProperty(SubstanceLookAndFeel.BUTTON_NO_MIN_SIZE_PROPERTY,
  Boolean.TRUE);

Example of marking all application buttons to ignore minimum dimension settings:

UIManager.put(SubstanceLookAndFeel.BUTTON_NO_MIN_SIZE_PROPERTY,
  Boolean.TRUE);

since:
   version 2.1



BUTTON_OPEN_SIDE_PROPERTY
final public static String BUTTON_OPEN_SIDE_PROPERTY(Code)
Client property name for specifying an open side for a single button. This property must be set as a client property on a specific button. The value can be:

Example of marking a button to have open north side:

JButton button = new JButton("text");
Set openSides = new HashSet();
openSides.put(Side.TOP);
button.putClientProperty(SubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY,
  openSides);

since:
   version 3.1
See Also:   SubstanceLookAndFeel.BUTTON_SIDE_PROPERTY



BUTTON_PAINT_NEVER_PROPERTY
final public static String BUTTON_PAINT_NEVER_PROPERTY(Code)
Client property name for specifying that a single button / all application buttons should never paint the background. This property can be set either as a client property on a specific button or as a global setting on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE . Note that unlike the SubstanceLookAndFeel.FLAT_PROPERTY , a button marked with this property will never show the background (will always be painted flat).

Example of marking a button to never paint background:

JButton button = new JButton("text");
button.putClientProperty(SubstanceLookAndFeel.BUTTON_PAINT_NEVER_PROPERTY,
  Boolean.TRUE);

Example of marking all application buttons to never paint background:

UIManager.put(SubstanceLookAndFeel.BUTTON_PAINT_NEVER_PROPERTY,
  Boolean.TRUE);

since:
   version 2.3
See Also:   SubstanceLookAndFeel.FLAT_PROPERTY



BUTTON_SHAPER_PROPERTY
final public static String BUTTON_SHAPER_PROPERTY(Code)
Property name for specifying button shaper. This property is used both as a JVM flag and as a client property that can be set on a specific button.

If this property is used as a JVM flag, the value should be a fully-qualified name of the button shaper class. This class must have a default (no-argument) constructor.

If this property is used as a client property, the value can be one of:

Example of specifying a custom default button shaper as a VM flag:

-Dsubstancelaf.buttonShaper=org.jvnet.substance.button.ClassicButtonShaper

Example of using a shaper class name as client property value:

JButton b = new JButton("text");
b.putClientProperty(SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY,
  "org.jvnet.substance.button.ClassicButtonShaper");

Example of using a SubstanceButtonShaper object as client property value:

JButton b = new JButton("text");
b.putClientProperty(SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY,
  new ClassicButtonShaper());

since:
   version 2.1
See Also:   SubstanceLookAndFeel.getCurrentButtonShaper()
See Also:   SubstanceLookAndFeel.getCurrentButtonShaperName()
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(String)
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(SubstanceButtonShaper)
See Also:   SubstanceLookAndFeel.registerButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.unregisterButtonShaperChangeListener(ButtonShaperChangeListener)



BUTTON_SIDE_PROPERTY
final public static String BUTTON_SIDE_PROPERTY(Code)
Client property name for specifying a straight side for a single button. This property must be set as a client property on a specific button. The value can be:

Note that not all SubstanceButtonShaper implementations are required to respect this property. The default StandardButtonShaper and ClassicButtonShaper respect this property.

Example of marking a button to have straight north side:

JButton button = new JButton("text");
button.putClientProperty(SubstanceLookAndFeel.BUTTON_SIDE_PROPERTY,
  SubstanceConstants.Side.RIGHT.name());

since:
   version 2.1
See Also:   SubstanceLookAndFeel.BUTTON_OPEN_SIDE_PROPERTY



COLORIZATION_FACTOR
final public static String COLORIZATION_FACTOR(Code)

Client property name for specifying that the colorization amount applied to the background and foreground of the current theme and the specific control. By default, when the application does not use any custom colors, all the controls are painted with the colors of the current theme / skin. The colors coming from the look-and-feel implement the marker UIResource interface which allows the UI delegates to differentiate between application-specific colors which are not changed, and the LAF-provide colors that are changed on LAF switch.

Up until version 4.2, the support for custom background and foreground colors in Substance was not very consistent. On some controls, such as buttons, the background color was ignored completely (in favour of the current theme), while on others it was used to color the entire bounds of the control (such as check box). This new client property installs the "smart colorization" mode which uses the colors of the current theme and the custom background and foreground colors (where installed by application) to colorize the relevant portions of the control. For example, on checkbox the custom background color will be used to colorize the check box itself, while the custom foreground color will be applied to the check box text and the check mark.

The value of this property specifies the actual colorization amount. Value of 0.0 results in no colorization at all. Values closer to 1.0 result in controls being colorized in almost full amount of the custom colors. Note that in order to maintain the gradients (fill, border, etc), even value of 1.0 does not result in full custom color being applied to the relevant visuals of the control.

This property can be specified globally on UIManager , applying on all controls, or on the specific component / container. In the later case, the value will be applied to the component / container itself and all its children that do not specify a custom value for this property.

The value should be an instance of Double in 0.0-1.0 range.

Example of marking a button to have custom background color and colorizing it with 50%:

JButton jb = new JButton("sample", myIcon);
jb.setBackground(Color.red);
jb.putClientProperty(SubstanceLookAndFeel.COLORIZATION_FACTOR,
  new Double(0.5));

since:
   version 4.2
See Also:   Component.setBackground(Color)
See Also:   Component.setForeground(Color)



COMBO_BOX_POPUP_FLYOUT_ORIENTATION
final public static String COMBO_BOX_POPUP_FLYOUT_ORIENTATION(Code)
Client property name for specifying combo popup flyout orientation. This property can be set on either a specific JComboBox or globally on UIManager . The value should be one of the Integer s below:

Note that the combo arrow changes in accordance with the combo popup flyout orientation. Example of setting a combobox with a custom flyout orientation:

JComboBox cb = new JComboBox(
  new Object[] { "Ester", "Jordi", "Jordina", "Jorge", "Sergi" });
cb.putClientProperty(SubstanceLookAndFeel.COMBO_BOX_POPUP_FLYOUT_ORIENTATION,
  SwingConstants.CENTER);

since:
   version 2.3
See Also:   SubstanceLookAndFeel.COMBO_POPUP_PROTOTYPE



COMBO_POPUP_PROTOTYPE
final public static String COMBO_POPUP_PROTOTYPE(Code)
Property name for specifying the combobox popup prototype display value which is used to compute the width of the popup at runtime. The property value should be one of:

This property can be set either on a specific JComboBox or globally on UIManager .

Here is an example of combo popup prototype set to a model element:

JComboBox comboProto1 = new JComboBox(new Object[] { "aa", "aaaaa",
  "aaaaaaaaaa", "this one is the one", "aaaaaaaaaaaaaaaaaaaaa" });
comboProto1.setPrototypeDisplayValue("aaaaa");
comboProto1.putClientProperty(SubstanceLookAndFeel.COMBO_POPUP_PROTOTYPE,
  "this one is the one");

Here is an example of combo popup prototype set to a dynamic callback. This callback always returns the last model element:

JComboBox comboProto3 = new JComboBox(new Object[] { "aa", "aaaaa",
  "this is not", "this one is not it",
  "this one is it that is for the popup" });
comboProto3.setPrototypeDisplayValue("aaaaa");
comboProto3.putClientProperty(SubstanceLookAndFeel.COMBO_POPUP_PROTOTYPE,
  new ComboPopupPrototypeCallback() {
    public Object getPopupPrototypeDisplayValue(JComboBox jc) {
      return jc.getModel().getElementAt(
        jc.getModel().getSize() - 1);
    }
  });

since:
   version 3.0
See Also:   SubstanceLookAndFeel.COMBO_BOX_POPUP_FLYOUT_ORIENTATION



CONFIG_FILE
final public static String CONFIG_FILE(Code)
VM property name for the configuration file. If this property is specified in the VM flags, all other global VM Substance-specific settings are ignored and are read instead from the (local) configuration file. The property value should point to a file in the regular Properties format. Example of specifying configuration file:

-Dsubstancelaf.configFile=C:/myConfigSubstance.properties


since:
   version 2.2



CORNER_RADIUS
final public static String CORNER_RADIUS(Code)
Client property name for specifying the corner radius for buttons. Currently, this property is respected only on toolbar buttons. This property can be set either as a client property on a specific toolbar button, a client property on a specific toolbar (will hold for all buttons in the toolbar) or as a global setting on UIManager . The value should be a Float instance.

Example of specifying a (toolbar) button to have corner radius of 5 pixels:

JButton button = new JButton("text");
button.putClientProperty(SubstanceLookAndFeel.CORNER_RADIUS,
  Float.valueOf(5.0f));

Example of specifying all buttons of a toolbar to have corner radius of 3 pixels:

JToolBar toolbar = new JToolBar("toolbar");
toolbar.putClientProperty(SubstanceLookAndFeel.CORNER_RADIUS,
  Float.valueOf(3.0f));

Example of specifying all toolbar buttons to have corner radius of 0 pixels:

UIManager.put(SubstanceLookAndFeel.CORNER_RADIUS, Float.valueOf(0.0f));
since:
   version 3.0



DEBUG_UI_MODE
final public static String DEBUG_UI_MODE(Code)
Property name for specifying the debug UI mode. Application running in debug UI mode will have additional UI controls for inspecting / changing the state of various controls. This property can be set as either VM flag (no value needed) or as a global setting on UIManager . In the latter case, the value should be either Boolean.TRUE or Boolean.FALSE .

Example of setting this property via VM flag:

-Dsubstancelaf.debugUiMode

Example of setting this property on UIManager :

UIManager.put(SubstanceLookAndFeel.DEBUG_UI_MODE, Boolean.TRUE);
since:
   version 3.1



ENABLE_INVERTED_THEMES
final public static String ENABLE_INVERTED_THEMES(Code)
Property name for enabling inverted themes. This property can be set as either VM flag (no value needed) or as a global setting on UIManager . In the latter case, the value should be either Boolean.TRUE or Boolean.FALSE . When this property is set, the SubstanceLookAndFeel.getAllThemes() method will return entries for all SubstanceTheme.ThemeKind.BRIGHT and SubstanceTheme.ThemeKind.COLD themes. All these entries will be marked with SubstanceTheme.ThemeKind.INVERTED kind.

Example of setting this property via VM flag:

-Dsubstancelaf.enableInvertedThemes

Example of setting this property on UIManager :

UIManager.put(SubstanceLookAndFeel.ENABLE_INVERTED_THEMES,
  Boolean.TRUE);

since:
   version 2.3
See Also:   SubstanceLookAndFeel.ENABLE_NEGATED_THEMES



ENABLE_NEGATED_THEMES
final public static String ENABLE_NEGATED_THEMES(Code)
Property name for enabling negated themes. This property can be set as either VM flag (no value needed) or as a global setting on UIManager . In the latter case, the value should be either Boolean.TRUE or Boolean.FALSE . When this property is set, the SubstanceLookAndFeel.getAllThemes() method will return entries for all SubstanceTheme.ThemeKind.BRIGHT and SubstanceTheme.ThemeKind.COLD themes. All these entries will be marked with SubstanceTheme.ThemeKind.NEGATED kind.

Example of setting this property via VM flag:

-Dsubstancelaf.enableNegatedThemes

Example of setting this property on UIManager :

UIManager.put(SubstanceLookAndFeel.ENABLE_NEGATED_THEMES,
  Boolean.TRUE);

since:
   version 3.1
See Also:   SubstanceLookAndFeel.ENABLE_INVERTED_THEMES



FLAT_PROPERTY
final public static String FLAT_PROPERTY(Code)
Property name for specifying that the component should be painted flat (no background / border) when it's inactive. This property should be specified on a specific component or its parent and must have either Boolean.TRUE or Boolean.FALSE value. For example, this is how to mark a button to appear flat:

JButton button = new JButton("text");
button.putClientProperty(SubstanceLookAndFeel.FLAT_PROPERTY,
  Boolean.TRUE);

since:
   version 3.0
See Also:   SubstanceLookAndFeel.BUTTON_PAINT_NEVER_PROPERTY




FOCUS_KIND
final public static String FOCUS_KIND(Code)
Client property name for specifying the kind of focus indication on buttons, check boxes and radio buttons. The value should be one of SubstanceConstants.FocusKind enum. This property can be set either as client property on some component or as global property on UIManager .

In order to compute the kind of focus indication for some component, the component's hierarchy is traversed bottom up. The first component that has this property set, defines the focus indication kind. Finally, if neither component not its ancestors define this property, the global setting on UIManager is checked. If there is no global setting, the default SubstanceConstants.FocusKind.ALL_INNER is used. Here is an example to illustrate the above:

  JPanel topPanel = new JPanel();
  topPanel.putClientProperty(SubstanceLookAndFeel.FOCUS_KIND, FocusKind.UNDERLINE);
  JPanel panel1 = new JPanel();
  JButton b1 = new JButton("button1");
  b1.putClientProperty(SubstanceLookAndFeel.FOCUS_KIND, FocusKind.TEXT);
  JButton b2 = new JButton("button2");
  JButton b3 = new JButton("button3");
  b3.putClientProperty(SubstanceLookAndFeel.FOCUS_KIND, FocusKind.ALL_INNER);
  panel1.add(b1);
  panel1.add(b2);
  topPanel.add(panel1);
  topPanel.add(b3);

In the code above:


since:
   2.2
See Also:   SubstanceConstants.FocusKind



GRADIENT_PAINTER_PROPERTY
final public static String GRADIENT_PAINTER_PROPERTY(Code)
Property name for specifying gradient painter. This property is used both as a JVM flag and as a client property that can be set on a specific button.

For the JVM flag, the value should be fully-qualified name of the gradient painter class. This class must have a default (no-argument) constructor. For the client property, the value can be either a fully-qualified class name as above or an instance of SubstanceGradientPainter .

Example of specifying a custom default gradient painter as a VM flag:

-Dsubstancelaf.gradientPainter=org.jvnet.substance.painter.SpecularGradientPainter

Example of using a painter class name as client property value:

JButton b = new JButton("text");
b.putClientProperty(SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY,
  "org.jvnet.substance.painter.SpecularGradientPainter");

Example of using a painter instance as client property value:

JButton b = new JButton("text");
b.putClientProperty(SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY,
  new SpecularGradientPainter());

since:
   version 2.1
See Also:   SubstanceLookAndFeel.getCurrentGradientPainter()
See Also:   SubstanceLookAndFeel.getCurrentGradientPainterName()
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(SubstanceGradientPainter)
See Also:   SubstanceLookAndFeel.registerGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterGradientPainterChangeListener(GradientPainterChangeListener)



GRIP_PAINTER
final public static String GRIP_PAINTER(Code)
Property name for specifying custom grip handles. This applies to scroll bars, split pane dividers and other relevant controls. The value should be an instance of GripPainter interface.

Example of marking a scroll pane to have custom grip handles on its scroll bars:

JPanel myPanel = new JPanel();
JScrollPane jsp = new JScrollPane(myPanel);
myPanel.putClientProperty(SubstanceLookAndFeel.GRIP_PAINTER,
  new DragBumpsGripPainter());

since:
   version 3.2



HEAP_STATUS_PANEL
final public static String HEAP_STATUS_PANEL(Code)
Property name for specifying that custom frame title panes should show the heap status panel. Can be used as a VM flag.

When this VM flag is set (no need to specify a value), the system menu on decorated title panes will have a check box menu item that controls the visibility of the heap status panel. The SubstanceLookAndFeel.permanentlyShowHeapStatusPanel(JRootPane) (can be called only when the VM flag is set) removes the above check box menu item and adds the heap status panel to the title pane (if it wasn't shown prior to calling that method). The SubstanceLookAndFeel.permanentlyHideHeapStatusPanel(JRootPane) (can be called only when the VM flag is set) removes the above check box menu item and removes the heap status panel to the title pane (if it was shown prior to calling that method).

-Dsubstancelaf.heapStatusPanel
since:
   version 2.1
See Also:   SubstanceLookAndFeel.permanentlyHideHeapStatusPanel(JRootPane)
See Also:   SubstanceLookAndFeel.permanentlyShowHeapStatusPanel(JRootPane)



MENU_GUTTER_FILL_KIND
final public static String MENU_GUTTER_FILL_KIND(Code)
Property name for specifying menu gutter fill kind. Menu gutter is the part of the menu where checkmarks and icons are painted. The value should be one of MenuGutterFillKind enum. This property can be set globally on the UIManager . The default value is MenuGutterFillKind.HARD .

Example of setting soft fill kind:

UIManager.put(SubstanceLookAndFeel.MENU_GUTTER_FILL_KIND, MenuGutterFillKind.SOFT);
since:
   version 3.2



NO_EXTRA_ELEMENTS
final public static String NO_EXTRA_ELEMENTS(Code)
Property name for specifying that no extra UI elements (such as menu items in system menu or menu search panel) should be shown. This property can be set as either VM flag (no value needed) or as a global setting on UIManager . In the latter case, the value should be either Boolean.TRUE or Boolean.FALSE . Partial list of UI elements that will not be present when this property is specified:

  • System menu items
  • Menu search panel
  • Lock icon on non-editable text components

Example of setting this property via VM flag:

-Dsubstancelaf.noExtraElements

Example of setting this property on UIManager :

UIManager.put(SubstanceLookAndFeel.NO_EXTRA_ELEMENTS, Boolean.TRUE); SwingUtilities.updateComponentTree(myFrame);
See Also:   SubstanceLookAndFeel.toShowExtraElements
since:
   version 2.1



OVERLAY_PROPERTY
final public static String OVERLAY_PROPERTY(Code)
Client property name for specifying that a single control / all application controls have overlay functionality. This property can be set either as a client property on a specific control or as a global setting on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE .

Example of marking a scroll pane to have overlays on the scroll bars:

JPanel myPanel = new JPanel();
JScrollPane jsp = new JScrollPane(myPanel);
myPanel.putClientProperty(SubstanceLookAndFeel.OVERLAY_PROPERTY,
  Boolean.TRUE);

Example of marking all application controls to have overlays:

UIManager.put(SubstanceLookAndFeel.OVERLAY_PROPERTY,
  Boolean.TRUE);

since:
   version 3.2



PAINT_ACTIVE_PROPERTY
final public static String PAINT_ACTIVE_PROPERTY(Code)
Client property name for specifying that a single control / all application controls should always be painted in active color (unless a control is disabled). This property can be set either as a client property on a specific control or as a global setting on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE .

Example of marking a button to be painted active:

JButton button = new JButton("text");
button.putClientProperty(SubstanceLookAndFeel.PAINT_ACTIVE_PROPERTY,
  Boolean.TRUE);

Example of marking all application controls to be painted active:

UIManager.put(SubstanceLookAndFeel.PAINT_ACTIVE_PROPERTY,
  Boolean.TRUE);

since:
   version 3.0



PASSWORD_ECHO_PER_CHAR
final public static String PASSWORD_ECHO_PER_CHAR(Code)
Client property name for specifying the number of echo characters for each password character. The value should be an instance of Integer , otherwise will be ignored. This property can be set either on a specific JPasswordField or globally on UIManager .

Example of having all password fields echo 3 characters per each typed user character:

UIManager.put(SubstanceLookAndFeel.PASSWORD_ECHO_PER_CHAR,
  new Integer(3));

Example of having a specific password field echo 2 characters per each typed user character:

JPasswordField jpf = new JPasswordField();
jpf.putClientProperty(SubstanceLookAndFeel.PASSWORD_ECHO_PER_CHAR,
  new Integer(2));

since:
   version 2.2



PLUGIN_XML
final public static String PLUGIN_XML(Code)
The name of plugin configuration XML resource name. This is used for the laf-plugin support layer of third-party components.



SCROLL_PANE_BUTTONS_POLICY
final public static String SCROLL_PANE_BUTTONS_POLICY(Code)
Client property name for specifying scroll pane button policy. This property can be set on either a specific JScrollPane or globally on UIManager . The value should be one of the SubstanceConstants.ScrollPaneButtonPolicyKind enum. Example of setting a scroll pane with a custom button policy:

JScrollPane jsp = new JScrollPane(new JPanel());
jsp.putClientProperty(SubstanceLookAndFeel.SCROLL_PANE_BUTTONS_POLICY,
  ScrollPaneButtonPolicyKind.MULTIPLE);

since:
   version 3.1




SUBSTANCE_FONT_POLICY_KEY
final protected static String SUBSTANCE_FONT_POLICY_KEY(Code)
Internal client property name for storing application-specific font policy.
since:
   version 3.3
See Also:   SubstanceLookAndFeel.setFontPolicy(FontPolicy)
See Also:   SubstanceLookAndFeel.getFontPolicy()



TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION
final public static String TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION(Code)
Client property name for specifying that only the close button of a marked-as-modified tab component should pulsate. This property can be specified on a single tab component, on a JTabbedPane itself (will hold for all tab components that don't define this property) or on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE . By default, the animation on modified tabs is on the entire tab rectangle. Note that this setting is only relevant for tabs marked with SubstanceLookAndFeel.WINDOW_MODIFIED property.

Example of setting that all tabs in the application will have modified animation on close button:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION,
  Boolean.TRUE);

A more complex example:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION,
  Boolean.TRUE);
JTabbedPane jtpMain = new JTabbedPane();
JTabbedPane jtpSecondary = new JTabbedPane();
jtpSecondary.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION,
  Boolean.FALSE);
JPanel panelSecondary = new JPanel();
jtpMain.addTab(jtpSecondary);
jtpMain.addTab(panelSecondary);
JPanel tab1 = new JPanel();
JPanel tab2 = new JPanel();
tab2.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION,
  Boolean.TRUE);
jtpSecondary.addTab(tab1);
jtpSecondary.addTab(tab2);

In the example above, the first first-level child (jtpSecondary) has the animation on the entire tab (since it overrides the global setting). The second first-level child tab (panelSecondary) has animation on the close button (from the global UIManager setting). The first second-level tab has the animation on the entire tab (setting inherited from the parent jtpSecondary tab that overrides the global setting). The second second-level tab has animation on the close button (since its setting overrides the parent setting).


since:
   version 2.2
See Also:   SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_PROPERTY
See Also:   SubstanceLookAndFeel.TABBED_PANE_CLOSE_CALLBACK



TABBED_PANE_CLOSE_BUTTONS_PROPERTY
final public static String TABBED_PANE_CLOSE_BUTTONS_PROPERTY(Code)
Client property name for specifying that a single tab / all tabs of a single tabbed pane / all tabs of all tabbed panes should have close buttons. This property can be specified on a single tab component, on a JTabbedPane itself (will hold for all tab components that don't define this property) or on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE . By default, the close buttons are not displayed.

Example of setting that all tabs in the application will have close buttons:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_PROPERTY,
  Boolean.TRUE);

A more complex example:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_PROPERTY,
  Boolean.TRUE);
JTabbedPane jtpMain = new JTabbedPane();
JTabbedPane jtpSecondary = new JTabbedPane();
jtpSecondary.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_PROPERTY,
  Boolean.FALSE);
JPanel panelSecondary = new JPanel();
jtpMain.addTab(jtpSecondary);
jtpMain.addTab(panelSecondary);
JPanel tab1 = new JPanel();
JPanel tab2 = new JPanel();
tab2.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_PROPERTY,
  Boolean.TRUE);
jtpSecondary.addTab(tab1);
jtpSecondary.addTab(tab2);

In the example above, the first first-level child (jtpSecondary) doesn't have the close button (since it overrides the global setting). The second first-level child tab (panelSecondary) has close button (from the global UIManager setting). The first second-level tab doesn't have the close button (setting inherited from the parent jtpSecondary tab that overrides the global setting). The second second-level tab has the close button (since its setting overrides the parent setting).


since:
   version 2.1
See Also:   SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION
See Also:   SubstanceLookAndFeel.TABBED_PANE_CLOSE_CALLBACK



TABBED_PANE_CLOSE_CALLBACK
final public static String TABBED_PANE_CLOSE_CALLBACK(Code)
Client property name for specifying the callback for deciding on the tab close type. This property can be specified on a single tab component, on a JTabbedPane itself (will hold for all tab components that don't define this property) or on UIManager . The value should be an instance of TabCloseCallback . Note that this setting is only relevant for tabs marked with SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_PROPERTY property.

Example of custom tab close callback set on a tabbed pane:

TabCloseCallback closeCallback = new TabCloseCallback() {
  public TabCloseKind onAreaClick(JTabbedPane tabbedPane,
      int tabIndex, MouseEvent mouseEvent) {
    if (mouseEvent.getButton() != MouseEvent.BUTTON3)
      return TabCloseKind.NONE;
    if (mouseEvent.isShiftDown()) {
      return TabCloseKind.ALL;
    }
    return TabCloseKind.THIS;
  }

  public TabCloseKind onCloseButtonClick(JTabbedPane tabbedPane,
      int tabIndex, MouseEvent mouseEvent) {
    if (mouseEvent.isAltDown()) {
      return TabCloseKind.ALL_BUT_THIS;
    }
    if (mouseEvent.isShiftDown()) {
      return TabCloseKind.ALL;
    }
    return TabCloseKind.THIS;
  }

  public String getAreaTooltip(JTabbedPane tabbedPane, int tabIndex) {
    return null;
  }

  public String getCloseButtonTooltip(JTabbedPane tabbedPane,
      int tabIndex) {
    StringBuffer result = new StringBuffer();
    result.append("<html><body>");
    result.append("Mouse click closes <b>"
        + tabbedPane.getTitleAt(tabIndex) + "</b> tab");
    result.append("<br><b>Alt</b>-Mouse click closes all tabs but <b>"
        + tabbedPane.getTitleAt(tabIndex) + "</b> tab");
    result.append("<br><b>Shift</b>-Mouse click closes all tabs");
    result.append("</body></html>");
    return result.toString();
  }
};
JTabbedPane jtp = new JTabbedPane();
jtp.putClientProperty(
    SubstanceLookAndFeel.TABBED_PANE_CLOSE_CALLBACK,
    closeCallback);

since:
   version 2.3



TABBED_PANE_CONTENT_BORDER_KIND
final public static String TABBED_PANE_CONTENT_BORDER_KIND(Code)
Client property name for specifying the content pane border kind. This property can be specified either on a single JTabbedPane or on UIManager . The value should be one of SubstanceConstants.TabContentPaneBorderKind enum. By default, the border kind is SubstanceConstants.TabContentPaneBorderKind.DOUBLE_FULL .

Example of setting that all tabbed panes in the application have single full border (default setting prior to version 4.1):

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_CONTENT_BORDER_KIND,
  TabContentPaneBorderKind.SINGLE_FULL);

Example of specifying that the specific tabbed pane has single full border (default setting prior to version 4.1):

JTabbedPane jtpMain = new JTabbedPane();
jtpMain.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_CONTENT_BORDER_KIND,
  TabContentPaneBorderKind.SINGLE_FULL);

since:
   version 4.1



TABBED_PANE_TEXT_ALIGNMENT_KIND
final public static String TABBED_PANE_TEXT_ALIGNMENT_KIND(Code)
Client property name for specifying the text alignment kind for on SwingConstants.LEFT and SwingConstants.RIGHT tab placements. This property can be specified either on a single JTabbedPane or on UIManager . The value should be one of SubstanceConstants.TabTextAlignmentKind enum. By default, the text alignment is SubstanceConstants.TabTextAlignmentKind.DEFAULT (centered).

Example of setting that all tabbed panes in the application will follow placement for the text alignment:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_TEXT_ALIGNMENT_KIND,
  TabTextAlignmentKind.FOLLOW_PLACEMENT);

Example of specifying that the specific tabbed pane will follow placement for the text alignment:

JTabbedPane jtpMain = new JTabbedPane();
jtpMain.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_TEXT_ALIGNMENT_KIND,
  TabTextAlignmentKind.FOLLOW_PLACEMENT);

since:
   version 2.3



TABBED_PANE_VERTICAL_ORIENTATION
final public static String TABBED_PANE_VERTICAL_ORIENTATION(Code)
Client property name for specifying that a single tabbed pane / all tabbed panes should have vertical layout (rotated tabs) on SwingConstants.LEFT and SwingConstants.RIGHT tab placements. This property can be specified either on a single JTabbedPane or on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE . By default, the tab orientation on all placements is horizontal.

Example of setting that all tabbed panes in the application will be vertically oriented:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION,
  Boolean.TRUE);

Example of specifying that the specific tabbed pane will be vertically oriented:

JTabbedPane jtpMain = new JTabbedPane();
jtpMain.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION,
  Boolean.TRUE);

since:
   version 2.2
See Also:   SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS



TABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS
final public static String TABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS(Code)
Client property name for specifying that when a single tabbed pane / all tabbed panes is layed-out vertically, the tab icons remain unrotated.This property can be specified on a single tab component, on a JTabbedPane itself (will hold for all tab components that don't define this property) or on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE . By default, the vertically oriented tabs will have the rotated icons. In case the icon internal layout has horizontal / vertical meaning, using this property with value Boolean.TRUE will preserve the icon orientation. Note that this setting is only relevant for tabs marked with SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION property.

Example of setting that all vertically-oriented tabs in the application will have unrotated icons:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS,
  Boolean.TRUE);

An example of tabbed pane with two different kinds of icon orientation:

UIManager.put(SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS,
  Boolean.TRUE);
JTabbedPane jtp = new JTabbedPane();
jtp.setTabPlacement(SwingConstants.LEFT);
JPanel tab1 = new JPanel();
JPanel tab2 = new JPanel();
tab2.putClientProperty(SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION_ROTATE_ICONS,
  Boolean.FALSE);
jtp.addTab(tab1);
jtp.addTab(tab2);

In the example above, the first tab (tab1) has the horizontally-oriented icon (the same as with SwingConstants.TOP or SwingConstants.BOTTOM ) , while the second tab (tab2) has the rotated icon (oriented along the tab text).


since:
   version 2.2
See Also:   SubstanceLookAndFeel.TABBED_PANE_VERTICAL_ORIENTATION



THEME_PROPERTY
final public static String THEME_PROPERTY(Code)
Property name for setting theme. This property is used both as a JVM flag and as a client property that can be set on a specific component.

If this property is used as a JVM flag, the value should be a fully-qualified name of the theme class. This class must have a default (no-argument) constructor. This means that you can not specify "generic" themes such as SubstanceMixTheme or SubstanceToneTheme .

If this property is used as a client property, the value can be one of:

Example of specifying a custom default theme as a VM flag:

-Dsubstancelaf.theme=org.jvnet.substance.theme.SubstanceBottleGreenTheme

Example of using a theme display name as client property value:

JCheckBox cb = new JCheckBox("text");
cb.putClientProperty(SubstanceLookAndFeel.THEME_PROPERTY, "Bottle Green");

Example of using a ThemeInfo object as client property value:

JCheckBox cb = new JCheckBox("text");
ThemeInfo ti = SubstanceLookAndFeel.getAllThemes().get("Bottle Green");
cb.putClientProperty(SubstanceLookAndFeel.THEME_PROPERTY, ti);

Example of using a SubstanceTheme object as client property value:

JCheckBox cb = new JCheckBox("text");
cb.putClientProperty(SubstanceLookAndFeel.THEME_PROPERTY,
  new SubstanceBottleGreenTheme());

since:
   version 2.0
See Also:   SubstanceLookAndFeel.getCurrentThemeName()
See Also:   SubstanceLookAndFeel.getTheme()
See Also:   SubstanceLookAndFeel.setCurrentTheme(String)
See Also:   SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.setCurrentTheme(ThemeInfo)
See Also:   SubstanceLookAndFeel.registerThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.unregisterThemeChangeListener(ThemeChangeListener)



TITLE_PAINTER_PROPERTY
final public static String TITLE_PAINTER_PROPERTY(Code)
Property name for specifying title painter. This property is used both as a JVM flag and as a client property that can be set on a specific root pane / internal frame.

For JVM flag, the value should be a fully-qualified name of the title painter class. This class must have a default (no-argument) constructor. For client property, the value should be either a fully-qualified class name as above or an instance of SubstanceTitlePainter .

Example of specifying a custom default title painter as a VM flag:

-Dsubstancelaf.titlePainter=org.jvnet.substance.title.ClassicTitlePainter

Example of using a painter class name as client property value:

JFrame fr = new JFrame("text");
fr.getRootPane().putClientProperty(SubstanceLookAndFeel.TITLE_PAINTER_PROPERTY,
  "org.jvnet.substance.title.ClassicTitlePainter");

since:
   version 3.0
See Also:   SubstanceLookAndFeel.getCurrentTitlePainter()
See Also:   SubstanceLookAndFeel.getCurrentTitlePainterName()
See Also:   SubstanceLookAndFeel.setCurrentTitlePainter(String)
See Also:   SubstanceLookAndFeel.setCurrentTitlePainter(SubstanceTitlePainter)
See Also:   SubstanceLookAndFeel.registerTitlePainterChangeListener(TitlePainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterTitlePainterChangeListener(TitlePainterChangeListener)



TRACE_FILE
final public static String TRACE_FILE(Code)
VM property name for specifying the trace file. The trace file will contain output of the memory analyser which can be used to pinpoint the memory leaks. The property value is used as a filename for tracing the memory allocations. Example for specifying the trace file name:

-Dsubstancelaf.traceFile=C:/temp/myApp.substance.log


See Also:   MemoryAnalyzer
since:
   version 2.0



TREE_DECORATIONS_ANIMATION_KIND
final public static FadeKind TREE_DECORATIONS_ANIMATION_KIND(Code)

Fade kind for tree decorations animation kind. Disabled by default, use FadeConfigurationManager.allowFades(FadeKind) to enable.

Tree decorations include collapse / expand icons and vertical / horizontal lines.


since:
   version 3.3



TREE_SMART_SCROLL_ANIMATION_KIND
final public static FadeKind TREE_SMART_SCROLL_ANIMATION_KIND(Code)
Fade kind for smart tree scroll. Disabled by default, use FadeConfigurationManager.allowFades(FadeKind) to enable.

Smart tree scroll is relevant for scroll panes containing a tree. When enabled, it automatically scrolls the tree horizontally when the viewport shows mainly empty area (especially relevant for multi-level trees with narrow viewports).


since:
   4.0



USE_THEMED_DEFAULT_ICONS
final public static String USE_THEMED_DEFAULT_ICONS(Code)

Client property name for specifying that icons on buttons and toggle buttons should match the color of the current theme when they are in default state. The button is in default state when it's not pressed, not selected, not armed and not rolled over. The value should be an instance of Boolean . By default, all buttons show regular (full-color original) icons. The value can be set on the specific button or globally on UIManager .

Example of marking a button to have theme-matching icon in default state:

JButton jb = new JButton("sample", myIcon);
jb.putClientProperty(SubstanceLookAndFeel.USE_THEMED_DEFAULT_ICONS,
  Boolean.TRUE);

since:
   version 3.3



WATERMARK_IGNORE
final public static String WATERMARK_IGNORE(Code)
Client property name for requesting that watermark should not be painted on the component and its descendants. This property can be set either as client property on some component or as global property on UIManager . The value should be either Boolean.TRUE or Boolean.FALSE .

In order to compute whether the current watermark should be painted on some component, the component's hierarchy is traversed bottom up. The first component that has this property set, defines the watermark visibility. Finally, if neither component not its ancestors define this property, the global setting on UIManager is checked. If there is no global setting, the watermark is not ignored (it is painted). Here is an example to illustrate the above:

JPanel topPanel = new JPanel();
topPanel.putClientProperty(SubstanceLookAndFeel.WATERMARK_IGNORE,
  Boolean.TRUE);
JPanel panel1 = new JPanel();
JPanel panel2 = new JPanel();
panel2.putClientProperty(SubstanceLookAndFeel.WATERMARK_IGNORE,
  Boolean.FALSE);
JTextField tf1 = new JTextField("field1");
tf1.putClientProperty(SubstanceLookAndFeel.WATERMARK_IGNORE, Boolean.TRUE);
JTextField tf2 = new JTextField("field2");
panel1.add(tf1);
panel1.add(tf2);
topPanel.add(panel1);
topPanel.add(panel2);

In the code above, if UIManager has no value for this property, the watermark will be painted only on panel2 and tf1. The panel1 and tf2 "inherit" the watermark-ignore setting from their topPanel ancestor.
since:
   version 2.2




WATERMARK_IMAGE_KIND
final public static String WATERMARK_IMAGE_KIND(Code)
VM property for specifying the image watermark kind. Should be the name of one of the values in SubstanceConstants.ImageWatermarkKind enum. Is used only as a JVM flag. The default value (if no VM flag is specified) is SubstanceConstants.ImageWatermarkKind.SCREEN_CENTER_SCALE . Example of specifying custom default image watermark kind:

-Dsubstancelaf.watermark.image.kind=APP_ANCHOR
since:
   version 2.3
See Also:   SubstanceLookAndFeel.getImageWatermarkKind()
See Also:   SubstanceLookAndFeel.getImageWatermarkOpacity()
See Also:   SubstanceLookAndFeel.setImageWatermarkKind(ImageWatermarkKind)
See Also:   SubstanceLookAndFeel.setImageWatermarkOpacity(float)
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_OPACITY
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_PROPERTY




WATERMARK_IMAGE_OPACITY
final public static String WATERMARK_IMAGE_OPACITY(Code)
VM property for specifying the image watermark opacity. Should be in 0.0-1.0 range. Is used only as a JVM flag. The default value (if no VM flag is specified) is 0.2. The default value is also taken if the VM flag value can not be parsed as a float number. If the VM flag value can be parsed as a float, but is outside of 0.0-1.0 range, an IllegalArgumentException will be thrown at the application startup. Example of setting custom default watermark image opacity: *

-Dsubstancelaf.watermark.image.opacity=0.6
since:
   version 2.3
See Also:   SubstanceLookAndFeel.getImageWatermarkKind()
See Also:   SubstanceLookAndFeel.getImageWatermarkOpacity()
See Also:   SubstanceLookAndFeel.setImageWatermarkKind(ImageWatermarkKind)
See Also:   SubstanceLookAndFeel.setImageWatermarkOpacity(float)
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_KIND
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_PROPERTY




WATERMARK_IMAGE_PROPERTY
final public static String WATERMARK_IMAGE_PROPERTY(Code)
Property name for setting SubstanceImageWatermark watermark image. This is only for JVM flag. The value should be a location of watermark image as either filename or http-prefixed URL.

Example of specifying a local image as watermark image:

-Dsubstancelaf.watermark.image=C:/images/myimage.jpg

Example of specifying a URL image as watermark image:

-Dsubstancelaf.watermark.image=http://images.com/myimage.jpg
since:
   version 2.0
See Also:   SubstanceLookAndFeel.getImageWatermarkKind()
See Also:   SubstanceLookAndFeel.getImageWatermarkOpacity()
See Also:   SubstanceLookAndFeel.setImageWatermarkKind(ImageWatermarkKind)
See Also:   SubstanceLookAndFeel.setImageWatermarkOpacity(float)
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_KIND
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_OPACITY



WATERMARK_PROPERTY
final public static String WATERMARK_PROPERTY(Code)
Property name for setting watermark. This is only for JVM flag. The value should be a fully-qualified name of the watermark class. This class must have a default (no-argument) constructor. This means that you can not specify "generic" watermark such as SubstanceNoiseWatermark .

Example of specifying a custom default watermark as a VM flag:

-Dsubstancelaf.watermark=org.jvnet.substance.watermark.SubstanceKatakanaWatermark
since:
   version 2.0
See Also:   SubstanceLookAndFeel.getCurrentWatermark()
See Also:   SubstanceLookAndFeel.getCurrentWatermarkName()
See Also:   SubstanceLookAndFeel.setCurrentWatermark(String)
See Also:   SubstanceLookAndFeel.setCurrentWatermark(SubstanceWatermark)
See Also:   SubstanceLookAndFeel.registerWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.unregisterWatermarkChangeListener(WatermarkChangeListener)



WATERMARK_TO_BLEED
final public static String WATERMARK_TO_BLEED(Code)
Property name for requesting that watermark should bleed through lists, trees and tables. This is both a JVM flag and a client property on UIManager (global setting).

When this property is used as a JVM flag, there is no need to specify any value:

-Dsubstancelaf.watermark.tobleed

When this property is set a client property on UIManager , the value should be one of Boolean.TRUE or Boolean.FALSE . For example,

  UIManager.put(SubstanceLookAndFeel.WATERMARK_TO_BLEED, Boolean.TRUE);
since:
   version 2.2



WINDOW_MODIFIED
final public static String WINDOW_MODIFIED(Code)
Client property name for specifying that contents of some frame, dialog, internal frame, desktop icon or tab have been modified and not saved. The property can be set on:

  • JInternalFrame - the close button of the specific internal frame will be animated (in case that the internal frame has decorated title pane). In addition, once such internal frame is iconified (to a JInternalFrame.JDesktopIcon ), the close button of the matching desktop icon is animated as well.
  • JRootPane - the close button of the title pane of the matching frame / dialog will be animated (in case that the frame / dialog have decorated title pane).
  • JComponent in a JTabbedPane . Based on the SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION property presence, either the entire tab or its close button area is animated. In this case, this property must be set on the tab component itself, not on one of its child components.

The animation cycles between red, orange and yellow themes. In most cases (all but tabs not marked with SubstanceLookAndFeel.TABBED_PANE_CLOSE_BUTTONS_MODIFIED_ANIMATION property), the animation will be visible only when the mouse hovers over the close button of the matching container (frame, dialog, internal frame, desktop icon, tab). The tooltip of the close button is changed as well to reflect that the container contents are marked as modified.

Here is a sample text editing application that illustrates the use of this property. Once the contents of the text pane are changed, the frame is marked as modified. The Save button marks the frame as not-modified. In the real application, the listener on this button will need to persist the changes as well.

public class Changer extends JFrame {
  public Changer() {
    super("Changer");

    this.setLayout(new BorderLayout());
    JTextPane textArea = new JTextPane();
    this.add(textArea, BorderLayout.CENTER);
    textArea.getDocument().addDocumentListener(new DocumentListener() {
      private void handleChange() {
        getRootPane().putClientProperty(
            SubstanceLookAndFeel.WINDOW_MODIFIED, Boolean.TRUE);
      }

      public void changedUpdate(DocumentEvent e) {
        handleChange();
      }

      public void insertUpdate(DocumentEvent e) {
        handleChange();
      }

      public void removeUpdate(DocumentEvent e) {
        handleChange();
      }
    });
    
    JPanel buttons = new JPanel(new FlowLayout(FlowLayout.RIGHT));
    JButton saveButton = new JButton("Save");
    saveButton.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        getRootPane().putClientProperty(
            SubstanceLookAndFeel.WINDOW_MODIFIED, Boolean.FALSE);
      }
    });
    
    buttons.add(saveButton);
    this.add(buttons, BorderLayout.SOUTH);
    
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  }

  public static void main(String ... args) {
    try {
      UIManager.setLookAndFeel(new SubstanceLookAndFeel());
    }
    catch (Exception exc) {}
    JFrame.setDefaultLookAndFeelDecorated(true);
    Changer ch = new Changer();
    ch.setPreferredSize(new Dimension(200, 200));
    ch.setSize(ch.getPreferredSize());
    ch.setLocationRelativeTo(null);
    ch.setVisible(true);
  }
}

since:
   version 2.1



backgroundComposites
protected static Map<Class<?>, ControlBackgroundComposite> backgroundComposites(Code)
Contains default background composites on per-class basis. This map is "consulted" if no SubstanceLookAndFeel.BACKGROUND_COMPOSITE property is set on the control.
See Also:   SubstanceLookAndFeel.BACKGROUND_COMPOSITE
See Also:   SubstanceLookAndFeel.setBackgroundComposite(Class,ControlBackgroundComposite)
See Also:   SubstanceLookAndFeel.getBackgroundComposite(Component)



borderPainterChangeListeners
protected static Set<BorderPainterChangeListener> borderPainterChangeListeners(Code)
List of all listeners on border painter changes.



borderPainterPlugins
protected static PluginManager borderPainterPlugins(Code)
Plugin manager for border painter plugins.



buttonShaperChangeListeners
protected static Set<ButtonShaperChangeListener> buttonShaperChangeListeners(Code)
List of all listeners on button shaper changes.



componentPlugins
protected static ComponentPluginManager componentPlugins(Code)
Plugin manager for component plugins.



currentKeyboardFocusManager
protected KeyboardFocusManager currentKeyboardFocusManager(Code)
The current keyboard focus manager - fix for defect 208.



focusOwnerChangeListener
protected PropertyChangeListener focusOwnerChangeListener(Code)
Change listener on keyboard focus manager - fix for defect 208.



gradientPainterChangeListeners
protected static Set<GradientPainterChangeListener> gradientPainterChangeListeners(Code)
List of all listeners on gradient painter changes.



ignoreAnimationsSet
protected static Set<String> ignoreAnimationsSet(Code)
Contains a list of all control class names that should ignore the animations.



isDebugUiMode
protected static boolean isDebugUiMode(Code)
Indicates whether the application will be run in debug UI mode
See Also:   SubstanceLookAndFeel.isDebugUiMode()
See Also:   SubstanceLookAndFeel.DEBUG_UI_MODE



localeChangeListeners
protected static Set<LocaleChangeListener> localeChangeListeners(Code)
List of all listeners on closing tabs.



mixedThemes
protected static Map<String, SubstanceMixTheme> mixedThemes(Code)
List of all globally registered mixed themes.



painterPlugins
protected static PluginManager painterPlugins(Code)
Plugin manager for gradient painter plugins.



paramReader
protected static ParamReader paramReader(Code)
The parameter reader.



shaperPlugins
protected static PluginManager shaperPlugins(Code)
Plugin manager for button shaper plugins.



skinChangeListeners
protected static Set<SkinChangeListener> skinChangeListeners(Code)
List of all listeners on skin changes.



skinPlugins
protected static PluginManager skinPlugins(Code)
Plugin manager for skin plugins.



themeChangeListeners
protected static Set<ThemeChangeListener> themeChangeListeners(Code)
List of all listeners on theme changes.



themePlugins
protected static PluginManager themePlugins(Code)
Plugin manager for theme plugins.



titlePainterPlugins
protected static PluginManager titlePainterPlugins(Code)
Plugin manager for title painter plugins.



toBleedWatermark
protected static boolean toBleedWatermark(Code)
Indicates whether the watermark should "bleed" through lists, tables and trees.
See Also:   SubstanceLookAndFeel.toBleedWatermark()
See Also:   SubstanceLookAndFeel.WATERMARK_TO_BLEED



toEnableInvertedThemes
protected static boolean toEnableInvertedThemes(Code)
Indicates whether inverted themes should be enabled.
See Also:   SubstanceLookAndFeel.toEnableInvertedThemes()
See Also:   SubstanceLookAndFeel.ENABLE_INVERTED_THEMES



toEnableNegatedThemes
protected static boolean toEnableNegatedThemes(Code)
Indicates whether inverted themes should be enabled.
See Also:   SubstanceLookAndFeel.toEnableNegatedThemes()
See Also:   SubstanceLookAndFeel.ENABLE_NEGATED_THEMES



toShowExtraElements
protected static boolean toShowExtraElements(Code)
Indicates whether extra UI elements (such as menu items in system menu or menu search panel) should be shown.
See Also:   SubstanceLookAndFeel.toShowExtraElements()
See Also:   SubstanceLookAndFeel.NO_EXTRA_ELEMENTS



toUseConstantThemesOnDialogs
protected static boolean toUseConstantThemesOnDialogs(Code)
Indicates whether option dialogs (error, question, warning, info) should use constant themes for icon coloring. Note that since version 4.0, the default setting is true (use constant theme). To use theme-consistent coloring, call SubstanceLookAndFeel.setToUseConstantThemesOnDialogs(boolean) and pass true.
See Also:   SubstanceLookAndFeel.isToUseConstantThemesOnDialogs()
See Also:   SubstanceLookAndFeel.setToUseConstantThemesOnDialogs(boolean)



watermarkChangeListeners
protected static Set<WatermarkChangeListener> watermarkChangeListeners(Code)
List of all listeners on watermark changes.



watermarkPlugins
protected static PluginManager watermarkPlugins(Code)
Plugin manager for watermark plugins.




Constructor Detail
SubstanceLookAndFeel
public SubstanceLookAndFeel()(Code)
Creates new instance of Substance look and feel.




Method Detail
addMixedTheme
public static void addMixedTheme(SubstanceMixTheme mixedTheme)(Code)
Globally registers a new mixed theme.
Parameters:
  mixedTheme - A mixed theme to register.
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.addMixedThemeBy(SubstanceTheme)
See Also:   SubstanceLookAndFeel.hasMixedThemes()
See Also:   SubstanceLookAndFeel.removeMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.removeMixedThemeBy(SubstanceTheme)



addMixedTheme
public static void addMixedTheme(SubstanceTheme... themes)(Code)
Globally registers a new mixed theme.
Parameters:
  themes - The base themes for the new mixed theme.
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.addMixedThemeBy(SubstanceTheme)
See Also:   SubstanceLookAndFeel.hasMixedThemes()
See Also:   SubstanceLookAndFeel.removeMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.removeMixedThemeBy(SubstanceTheme)



addMixedThemeBy
public static void addMixedThemeBy(SubstanceTheme mainTheme)(Code)
Globally registers a collection of mixed themes such as:
  • The specified theme is the main theme for a new mixed theme.
  • The secondary theme is of the same kind.

Parameters:
  mainTheme - The main theme for the new mixed themes.
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.hasMixedThemes()
See Also:   SubstanceLookAndFeel.removeMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.removeMixedThemeBy(SubstanceTheme)



getActiveColorScheme
public static ColorScheme getActiveColorScheme()(Code)
Returns the current color scheme for components in active visual state. Current color scheme for components in active visual state.
See Also:   SubstanceLookAndFeel.getDefaultColorScheme()
See Also:   SubstanceLookAndFeel.getDisabledColorScheme()



getAllBorderPainters
public static Map<String, BorderPainterInfo> getAllBorderPainters()(Code)
Returns all available border painters. All available border painters. Key - border painter name, value -border painter information.
since:
   version 4.0



getAllButtonShapers
public static Map<String, ButtonShaperInfo> getAllButtonShapers()(Code)
Returns all available button shapers. All available button shapers. Key - button shaper name, value -button shaper information.



getAllGradientPainters
public static Map<String, GradientPainterInfo> getAllGradientPainters()(Code)
Returns all available gradient painters. All available gradient painters. Key - gradient painter name,value - gradient painter information.



getAllSkins
public static Map<String, SkinInfo> getAllSkins()(Code)
Returns all available skins. All available skins. Key - skin display name, value - skininformation.



getAllTabCloseListeners
public static Set<BaseTabCloseListener> getAllTabCloseListeners()(Code)
Returns the set of all listeners registered on tab-close events on all tabbed panes. Set of all listeners registered on tab-close events on alltabbed panes.



getAllTabCloseListeners
public static Set<BaseTabCloseListener> getAllTabCloseListeners(JTabbedPane tabbedPane)(Code)
Returns all listeners registered on tab closing of the specified tabbed pane.
Parameters:
  tabbedPane - A tabbed pane. If null, all globallyregistered tab close listeners are returned. All listeners registered on tab closing of the specified tabbedpane.



getAllThemes
public static Map<String, ThemeInfo> getAllThemes()(Code)
Returns all available themes. All available color themes. Key - theme name, value - themeinformation.



getAllWatermarks
public static Map<String, WatermarkInfo> getAllWatermarks()(Code)
Returns all available watermarks. All available watermarks. Key - watermark name, value - watermarkinformation.



getBackgroundComposite
public static synchronized ControlBackgroundComposite getBackgroundComposite(Component component)(Code)
Returns the default background composite for the specified component.
Parameters:
  component - Component. The default background composite for the specified component.



getCurrentBorderPainter
public static SubstanceBorderPainter getCurrentBorderPainter()(Code)
Returns the current Border painter. The current Border painter.
since:
   version 4.0
See Also:   SubstanceLookAndFeel.getCurrentBorderPainterName()
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(SubstanceBorderPainter)
See Also:   SubstanceLookAndFeel.registerBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.BORDER_PAINTER_PROPERTY



getCurrentBorderPainterName
public static String getCurrentBorderPainterName()(Code)
Returns the current border painter name. Current border painter name.
since:
   version 4.0
See Also:   SubstanceLookAndFeel.getCurrentBorderPainter()
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(SubstanceBorderPainter)
See Also:   SubstanceLookAndFeel.registerBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.BORDER_PAINTER_PROPERTY



getCurrentButtonShaper
public static SubstanceButtonShaper getCurrentButtonShaper()(Code)
Returns the current button shaper. The current button shaper.
See Also:   SubstanceLookAndFeel.getCurrentButtonShaperName()
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(String)
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(SubstanceButtonShaper)
See Also:   SubstanceLookAndFeel.registerButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.unregisterButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY



getCurrentButtonShaperName
public static String getCurrentButtonShaperName()(Code)
Returns the current button shaper name. Current button shaper name.
See Also:   SubstanceLookAndFeel.getCurrentButtonShaperName()
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(String)
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(SubstanceButtonShaper)
See Also:   SubstanceLookAndFeel.registerButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.unregisterButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY



getCurrentDecorationPainter
public static SubstanceDecorationPainter getCurrentDecorationPainter()(Code)



getCurrentGradientPainter
public static SubstanceGradientPainter getCurrentGradientPainter()(Code)
Returns the current gradient painter. The current gradient painter.
See Also:   SubstanceLookAndFeel.getCurrentGradientPainterName()
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(SubstanceGradientPainter)
See Also:   SubstanceLookAndFeel.registerGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY



getCurrentGradientPainterName
public static String getCurrentGradientPainterName()(Code)
Returns the current gradient painter name. Current gradient painter name.
See Also:   SubstanceLookAndFeel.getCurrentGradientPainter()
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(SubstanceGradientPainter)
See Also:   SubstanceLookAndFeel.registerGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY



getCurrentHighlightPainter
public static SubstanceHighlightPainter getCurrentHighlightPainter()(Code)



getCurrentTextPainter
public static SubstanceTextPainter getCurrentTextPainter()(Code)



getCurrentThemeName
public static String getCurrentThemeName()(Code)
Returns the current color theme name. Current color theme name.
See Also:   SubstanceLookAndFeel.getTheme()
See Also:   SubstanceLookAndFeel.setCurrentTheme(String)
See Also:   SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.setCurrentTheme(ThemeInfo)
See Also:   SubstanceLookAndFeel.registerThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.unregisterThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.THEME_PROPERTY



getCurrentWatermark
public static SubstanceWatermark getCurrentWatermark()(Code)
Returns the current watermark. The current watermark.
See Also:   SubstanceLookAndFeel.getCurrentWatermarkName()
See Also:   SubstanceLookAndFeel.setCurrentWatermark(String)
See Also:   SubstanceLookAndFeel.setCurrentWatermark(SubstanceWatermark)
See Also:   SubstanceLookAndFeel.registerWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.unregisterWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.WATERMARK_PROPERTY



getCurrentWatermarkName
public static String getCurrentWatermarkName()(Code)
Returns the current watermark name. Current watermark name.
See Also:   SubstanceLookAndFeel.getCurrentWatermark()
See Also:   SubstanceLookAndFeel.setCurrentWatermark(String)
See Also:   SubstanceLookAndFeel.setCurrentWatermark(SubstanceWatermark)
See Also:   SubstanceLookAndFeel.registerWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.unregisterWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.WATERMARK_PROPERTY



getDefaultColorScheme
public static ColorScheme getDefaultColorScheme()(Code)
Returns the current color scheme for components in default visual state. Current color scheme for components in default visual state.
See Also:   SubstanceLookAndFeel.getActiveColorScheme()
See Also:   SubstanceLookAndFeel.getDisabledColorScheme()



getDefaults
public UIDefaults getDefaults()(Code)



getDescription
public String getDescription()(Code)



getDisabledColorScheme
public static ColorScheme getDisabledColorScheme()(Code)
Returns the current color scheme for components in disabled visual state. Current color scheme for components in disabled visual state.
See Also:   SubstanceLookAndFeel.getActiveColorScheme()
See Also:   SubstanceLookAndFeel.getDefaultColorScheme()



getFontPolicy
public static FontPolicy getFontPolicy()(Code)
Looks up and retrieves the FontPolicy used by the Substance family. If a FontPolicy has been set, 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 Substance font policy will be returned. the FontPolicy set for this Look&feel - if any, theFontPolicy specified in the system properties orUIDefaults - if any, or the default Substance fontpolicy.
See Also:   SubstanceLookAndFeel.setFontPolicy
See Also:   FontPolicies
See Also:   FontPolicies.customSettingsPolicy(FontPolicy)



getID
public String getID()(Code)



getImageWatermarkKind
public static ImageWatermarkKind getImageWatermarkKind()(Code)
Returns the global kind for image-based watermarks. The global kind for image-based watermarks.
See Also:   SubstanceLookAndFeel.getImageWatermarkOpacity()
See Also:   SubstanceLookAndFeel.setImageWatermarkKind(ImageWatermarkKind)
See Also:   SubstanceLookAndFeel.setImageWatermarkOpacity(float)
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_KIND
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_OPACITY
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_PROPERTY



getImageWatermarkOpacity
public static float getImageWatermarkOpacity()(Code)
Returns the global opacity for image-based watermarks. The global opacity for image-based watermarks. The value is in0.0-1.0 range.
See Also:   SubstanceLookAndFeel.getImageWatermarkKind()
See Also:   SubstanceLookAndFeel.setImageWatermarkKind(ImageWatermarkKind)
See Also:   SubstanceLookAndFeel.setImageWatermarkOpacity(float)
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_KIND
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_OPACITY
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_PROPERTY



getLabelBundle
public static synchronized ResourceBundle getLabelBundle()(Code)
Retrieves the current label bundle. The current label bundle.
See Also:   SubstanceLookAndFeel.resetLabelBundle()



getLabelBundle
public static synchronized ResourceBundle getLabelBundle(Locale locale)(Code)
Retrieves the label bundle for the specified locale.
Parameters:
  locale - Locale. The label bundle for the specified locale.



getLocaleListeners
public static Set<LocaleChangeListener> getLocaleListeners()(Code)
Returns all listeners registered on locale change. All listeners registered on locale change.



getName
public String getName()(Code)



getParamReader
public static ParamReader getParamReader()(Code)
Returns the parameter reader. Parameter reader.



getPlugins
public static Set getPlugins()(Code)
Returns all available plugins. Each entry is LafPlugin . All available plugins.



getSupportsWindowDecorations
public boolean getSupportsWindowDecorations()(Code)



getTheme
public static SubstanceTheme getTheme()(Code)
Returns the current theme. The current theme.
See Also:   SubstanceLookAndFeel.getCurrentThemeName()
See Also:   SubstanceLookAndFeel.setCurrentTheme(String)
See Also:   SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.setCurrentTheme(ThemeInfo)
See Also:   SubstanceLookAndFeel.registerThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.unregisterThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.THEME_PROPERTY



getTitlePaneComponent
public static JComponent getTitlePaneComponent(Window window)(Code)
Returns the title pane of the specified top-level window.
Parameters:
  window - Top-level window. If the parameter is either JFrame or JDialog andhas custom decorations, the result is the title pane,null otherwise.
since:
   version 3.1



hasMixedThemes
public static boolean hasMixedThemes()(Code)
Checks whether there are any mixed themes registered globally. true if there is at least one mixedtheme registered globally, false otherwise.
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.addMixedThemeBy(SubstanceTheme)
See Also:   SubstanceLookAndFeel.removeMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.removeMixedThemeBy(SubstanceTheme)



hideMenuSearchPanels
public static void hideMenuSearchPanels()(Code)
Hides menu search panels on all open frames.
See Also:   SubstanceLookAndFeel.showMenuSearchPanels()



ignoreAnimationsOnClass
public static void ignoreAnimationsOnClass(Class componentClazz)(Code)
Requests that animations be ignored on all instances of the specified class.
Parameters:
  componentClazz - Component class.



ignoreAnimationsOnClass
public static void ignoreAnimationsOnClass(String componentClazzName)(Code)
Requests that animations be ignored on all instances of the specified class.
Parameters:
  componentClazzName - Component class name.



initClassDefaults
protected void initClassDefaults(UIDefaults table)(Code)



initComponentDefaults
protected void initComponentDefaults(UIDefaults table)(Code)



initialize
public void initialize()(Code)



isDebugUiMode
public static boolean isDebugUiMode()(Code)
Returns indication whether the application is in debug UI mode. true if the application is in debug UI mode,false otherwise.
since:
   version 3.1



isNativeLookAndFeel
public boolean isNativeLookAndFeel()(Code)



isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()(Code)



isToUseConstantThemesOnDialogs
public static boolean isToUseConstantThemesOnDialogs()(Code)
Checks whether the JOptionPanes created with predefined message types should use constant themes for the icons. true if the JOptionPanes createdwith predefined message types should use constant themes for theicons, false otherwise.
See Also:   SubstanceLookAndFeel.setToUseConstantThemesOnDialogs(boolean)



permanentlyHideHeapStatusPanel
public static void permanentlyHideHeapStatusPanel(JRootPane pane)(Code)
Makes the heap status panels disappear permanently on the specified title pane and removes the corresponding check box menu items from the system menu.
Parameters:
  pane - The root pane.
throws:
  IllegalArgumentException - if the heap status panel functionality is not available (wasnot enabled).
See Also:   SubstanceLookAndFeel.permanentlyShowHeapStatusPanel(JRootPane)
See Also:   SubstanceLookAndFeel.HEAP_STATUS_PANEL



permanentlyShowHeapStatusPanel
public static void permanentlyShowHeapStatusPanel(JRootPane pane)(Code)
Makes the heap status panels appear permanently on the specified title pane and removes the corresponding check box menu items from the system menu. Note that heap status panel can be shown only on custom decorated frames / dialogs. Use JFrame.setDefaultLookAndFeelDecorated(boolean) with true or -Dsubstancelaf.useDecorations VM flag to run your app in custom decoration mode.
Parameters:
  pane - The root pane.
throws:
  IllegalArgumentException - if the heap status panel functionality is not available (wasnot enabled).
See Also:   SubstanceLookAndFeel.permanentlyHideHeapStatusPanel(JRootPane)
See Also:   SubstanceLookAndFeel.HEAP_STATUS_PANEL



registerBorderPainterChangeListener
public static void registerBorderPainterChangeListener(BorderPainterChangeListener borderPainterChangeListener)(Code)
Registers a new listener on border painter change.
Parameters:
  borderPainterChangeListener - New listener on border painter change.
See Also:   SubstanceLookAndFeel.getCurrentBorderPainter()
See Also:   SubstanceLookAndFeel.getCurrentBorderPainterName()
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(SubstanceBorderPainter)
See Also:   SubstanceLookAndFeel.unregisterBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.BORDER_PAINTER_PROPERTY



registerButtonShaperChangeListener
public static void registerButtonShaperChangeListener(ButtonShaperChangeListener buttonShaperChangeListener)(Code)
Registers a new listener on button shaper change.
Parameters:
  buttonShaperChangeListener - New listener on button shaper change.
See Also:   SubstanceLookAndFeel.getCurrentButtonShaper()
See Also:   SubstanceLookAndFeel.getCurrentButtonShaperName()
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(String)
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(SubstanceButtonShaper)
See Also:   SubstanceLookAndFeel.unregisterButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY



registerGradientPainterChangeListener
public static void registerGradientPainterChangeListener(GradientPainterChangeListener gradientPainterChangeListener)(Code)
Registers a new listener on gradient painter change.
Parameters:
  gradientPainterChangeListener - New listener on gradient painter change.
See Also:   SubstanceLookAndFeel.getCurrentGradientPainter()
See Also:   SubstanceLookAndFeel.getCurrentGradientPainterName()
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(SubstanceGradientPainter)
See Also:   SubstanceLookAndFeel.unregisterGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY



registerLocaleChangeListener
public static void registerLocaleChangeListener(LocaleChangeListener localeListener)(Code)
Registers a new listener on locale change.
Parameters:
  localeListener - New listener on locale change.



registerSkinChangeListener
public static void registerSkinChangeListener(SkinChangeListener skinChangeListener)(Code)
Registers a new listener on skin change.
Parameters:
  skinChangeListener - New listener on skin change.
See Also:   SubstanceLookAndFeel.setSkin(String)
See Also:   SubstanceLookAndFeel.setSkin(SubstanceSkin)
See Also:   SubstanceLookAndFeel.unregisterSkinChangeListener(SkinChangeListener)



registerTabCloseChangeListener
public static void registerTabCloseChangeListener(BaseTabCloseListener tabCloseListener)(Code)
Registers the specified listener on tab-close events on all tabbed panes.
Parameters:
  tabCloseListener - Listener to register.
See Also:   SubstanceLookAndFeel.registerTabCloseChangeListener(JTabbedPane,BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.unregisterTabCloseChangeListener(BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.unregisterTabCloseChangeListener(JTabbedPane,BaseTabCloseListener)



registerTabCloseChangeListener
public static void registerTabCloseChangeListener(JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)(Code)
Registers the specified listener on tab-close events on the specified tabbed pane.
Parameters:
  tabbedPane - Tabbed pane. If null, the tab close listeneris registered globally (for all tabbed panes).
Parameters:
  tabCloseListener - Listener to register.
See Also:   SubstanceLookAndFeel.registerTabCloseChangeListener(BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.unregisterTabCloseChangeListener(BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.unregisterTabCloseChangeListener(JTabbedPane,BaseTabCloseListener)



registerThemeChangeListener
public static void registerThemeChangeListener(ThemeChangeListener themeChangeListener)(Code)
Registers a new listener on theme change.
Parameters:
  themeChangeListener - New listener on theme change.
See Also:   SubstanceLookAndFeel.getCurrentThemeName()
See Also:   SubstanceLookAndFeel.getTheme()
See Also:   SubstanceLookAndFeel.setCurrentTheme(String)
See Also:   SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.setCurrentTheme(ThemeInfo)
See Also:   SubstanceLookAndFeel.unregisterThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.THEME_PROPERTY



registerWatermarkChangeListener
public static void registerWatermarkChangeListener(WatermarkChangeListener watermarkChangeListener)(Code)
Registers a new listener on watermark change.
Parameters:
  watermarkChangeListener - New listener on watermark change.
See Also:   SubstanceLookAndFeel.getCurrentWatermark()
See Also:   SubstanceLookAndFeel.getCurrentWatermarkName()
See Also:   SubstanceLookAndFeel.setCurrentWatermark(String)
See Also:   SubstanceLookAndFeel.setCurrentWatermark(SubstanceWatermark)
See Also:   SubstanceLookAndFeel.unregisterWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.WATERMARK_PROPERTY



removeMixedTheme
public static void removeMixedTheme(SubstanceMixTheme mixedTheme)(Code)
Globally unregisters the specified mixed theme.
Parameters:
  mixedTheme - The mixed theme to unregister.
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.addMixedThemeBy(SubstanceTheme)
See Also:   SubstanceLookAndFeel.hasMixedThemes()
See Also:   SubstanceLookAndFeel.removeMixedThemeBy(SubstanceTheme)



removeMixedThemeBy
public static void removeMixedThemeBy(SubstanceTheme mainTheme)(Code)
Globally unregisters a collection of mixed themes such that the specified theme is the main theme.
Parameters:
  mainTheme - The main theme for the mixed themes to beunregistered.
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceMixTheme)
See Also:   SubstanceLookAndFeel.addMixedTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.addMixedThemeBy(SubstanceTheme)
See Also:   SubstanceLookAndFeel.hasMixedThemes()
See Also:   SubstanceLookAndFeel.removeMixedTheme(SubstanceMixTheme)



resetLabelBundle
public static synchronized void resetLabelBundle()(Code)
Resets the current label bundle. Useful when the application changes Locale at runtime.
See Also:   SubstanceLookAndFeel.getLabelBundle()



setBackgroundComposite
public static synchronized void setBackgroundComposite(Class clazz, ControlBackgroundComposite composite)(Code)
Specifies that a control of some class should use the specified background composite when it (the control) doesn't define the SubstanceLookAndFeel.BACKGROUND_COMPOSITE client property.
Parameters:
  clazz - Component class.
Parameters:
  composite - Default background composite for controls of the specifiedclass.



setCurrentBorderPainter
public static boolean setCurrentBorderPainter(String borderPainterClassName)(Code)
Sets new border painter.
Parameters:
  borderPainterClassName - Border painter class name (full qualified). The status of the border painter change.
since:
   version 4.0
See Also:   SubstanceLookAndFeel.getCurrentBorderPainter()
See Also:   SubstanceLookAndFeel.getCurrentBorderPainterName()
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(SubstanceBorderPainter)
See Also:   SubstanceLookAndFeel.registerBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.BORDER_PAINTER_PROPERTY



setCurrentBorderPainter
public static boolean setCurrentBorderPainter(SubstanceBorderPainter currentBorderPainter)(Code)
Sets new border painter.
Parameters:
  currentBorderPainter - Border painter object. The status of the border painter change.
since:
   version 4.0
See Also:   SubstanceLookAndFeel.getCurrentBorderPainter()
See Also:   SubstanceLookAndFeel.getCurrentBorderPainterName()
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(String)
See Also:   SubstanceLookAndFeel.registerBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.BORDER_PAINTER_PROPERTY



setCurrentButtonShaper
public static boolean setCurrentButtonShaper(String buttonShaperClassName)(Code)
Sets new button shaper.
Parameters:
  buttonShaperClassName - Button shaper class name (full qualified). The status of the button shaper change.
See Also:   SubstanceLookAndFeel.getCurrentButtonShaper()
See Also:   SubstanceLookAndFeel.getCurrentButtonShaperName()
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(SubstanceButtonShaper)
See Also:   SubstanceLookAndFeel.registerButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.unregisterButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY



setCurrentButtonShaper
public static boolean setCurrentButtonShaper(SubstanceButtonShaper currentButtonShaper)(Code)
Sets new button shaper.
Parameters:
  currentButtonShaper - Button shaper object. The status of the button shaper change.
See Also:   SubstanceLookAndFeel.getCurrentButtonShaper()
See Also:   SubstanceLookAndFeel.getCurrentButtonShaperName()
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(String)
See Also:   SubstanceLookAndFeel.registerButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.unregisterButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY



setCurrentDecorationPainter
public static boolean setCurrentDecorationPainter(SubstanceDecorationPainter newDecorationPainter)(Code)



setCurrentGradientPainter
public static boolean setCurrentGradientPainter(String gradientPainterClassName)(Code)
Sets new gradient painter.
Parameters:
  gradientPainterClassName - Gradient painter class name (full qualified). The status of the gradient painter change.
See Also:   SubstanceLookAndFeel.getCurrentGradientPainter()
See Also:   SubstanceLookAndFeel.getCurrentGradientPainterName()
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(SubstanceGradientPainter)
See Also:   SubstanceLookAndFeel.registerGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY



setCurrentGradientPainter
public static boolean setCurrentGradientPainter(SubstanceGradientPainter currentGradientPainter)(Code)
Sets new gradient painter.
Parameters:
  currentGradientPainter - Gradient painter object. The status of the gradient painter change.
See Also:   SubstanceLookAndFeel.getCurrentGradientPainter()
See Also:   SubstanceLookAndFeel.getCurrentGradientPainterName()
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(String)
See Also:   SubstanceLookAndFeel.registerGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.unregisterGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY



setCurrentHighlightPainter
public static boolean setCurrentHighlightPainter(SubstanceHighlightPainter newHighlightPainter)(Code)



setCurrentTextPainter
public static boolean setCurrentTextPainter(SubstanceTextPainter newTextPainter)(Code)



setCurrentTheme
public static boolean setCurrentTheme(String themeClassName)(Code)
Sets new theme. In order for the theme to be correctly set, you need to call SwingUtilities.updateComponentTreeUI(java.awt.Component) on all open frames (call Frame.getFrames to get a list of all open frames).
Parameters:
  themeClassName - Theme class name (full qualified). The status of the theme change.
See Also:   SubstanceLookAndFeel.getCurrentThemeName()
See Also:   SubstanceLookAndFeel.getTheme()
See Also:   SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.setCurrentTheme(ThemeInfo)
See Also:   SubstanceLookAndFeel.registerThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.unregisterThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.THEME_PROPERTY



setCurrentTheme
public static boolean setCurrentTheme(ThemeInfo themeInfo)(Code)
Sets new theme. In order for the theme to be correctly set, you need to call SwingUtilities.updateComponentTreeUI(java.awt.Component) on all open frames (call Frame.getFrames to get a list of all open frames).
Parameters:
  themeInfo - Theme information. The status of the theme change.
See Also:   SubstanceLookAndFeel.getCurrentThemeName()
See Also:   SubstanceLookAndFeel.getTheme()
See Also:   SubstanceLookAndFeel.setCurrentTheme(String)
See Also:   SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.registerThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.unregisterThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.THEME_PROPERTY



setCurrentTheme
public static boolean setCurrentTheme(SubstanceTheme theme)(Code)
Sets new theme. In order for the theme to be correctly set, you need to call SwingUtilities.updateComponentTreeUI(java.awt.Component) on all open frames (call Frame.getFrames to get a list of all open frames).
Parameters:
  theme - Theme object. The status of the theme change.
See Also:   SubstanceLookAndFeel.getCurrentThemeName()
See Also:   SubstanceLookAndFeel.getTheme()
See Also:   SubstanceLookAndFeel.setCurrentTheme(String)
See Also:   SubstanceLookAndFeel.setCurrentTheme(ThemeInfo)
See Also:   SubstanceLookAndFeel.registerThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.unregisterThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.THEME_PROPERTY



setCurrentWatermark
public static boolean setCurrentWatermark(String watermarkClassName)(Code)
Sets new watermark.
Parameters:
  watermarkClassName - Watermark class name (full qualified). The status of the watermark change.
See Also:   SubstanceLookAndFeel.getCurrentWatermark()
See Also:   SubstanceLookAndFeel.getCurrentWatermarkName()
See Also:   SubstanceLookAndFeel.setCurrentWatermark(SubstanceWatermark)
See Also:   SubstanceLookAndFeel.registerWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.unregisterWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.WATERMARK_PROPERTY



setCurrentWatermark
public static boolean setCurrentWatermark(SubstanceWatermark currentWatermark)(Code)
Sets new watermark.
Parameters:
  currentWatermark - Watermark object. The status of the watermark change.
See Also:   SubstanceLookAndFeel.getCurrentWatermark()
See Also:   SubstanceLookAndFeel.getCurrentWatermarkName()
See Also:   SubstanceLookAndFeel.setCurrentWatermark(String)
See Also:   SubstanceLookAndFeel.registerWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.unregisterWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.WATERMARK_PROPERTY



setDecorationType
public static void setDecorationType(JComponent comp, DecorationAreaType type)(Code)



setFontPolicy
public static void setFontPolicy(FontPolicy fontPolicy)(Code)
Sets the FontPolicy to be used with Substance family. If the specified policy is null, the default will be reset. Note that after calling this method you need to call UIManager.setLookAndFeel(LookAndFeel) with Substance and SwingUtilities.updateComponentTreeUI(Component) to have the new font policy applied to your windows.
Parameters:
  fontPolicy - The FontPolicy to be used with Substance family, ornull to reset to the default
See Also:   SubstanceLookAndFeel.getFontPolicy()
See Also:   SubstanceLookAndFeel.SUBSTANCE_FONT_POLICY_KEY



setImageWatermarkKind
public static void setImageWatermarkKind(ImageWatermarkKind kind)(Code)
Sets the global kind for image-based watermarks.
Parameters:
  kind - New value for the global kind for image-based watermarks.
See Also:   SubstanceLookAndFeel.getImageWatermarkKind()
See Also:   SubstanceLookAndFeel.getImageWatermarkOpacity()
See Also:   SubstanceLookAndFeel.setImageWatermarkOpacity(float)
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_KIND
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_OPACITY
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_PROPERTY



setImageWatermarkOpacity
public static void setImageWatermarkOpacity(float opacity)(Code)
Sets the global opacity for image-based watermarks.
Parameters:
  opacity - New value for the global opacity for image-based watermarks.Should be in 0.0-1.0 range.
throws:
  IllegalArgumentException - If the value is not in 0.0-1.0 range.
See Also:   SubstanceLookAndFeel.getImageWatermarkKind()
See Also:   SubstanceLookAndFeel.getImageWatermarkOpacity()
See Also:   SubstanceLookAndFeel.setImageWatermarkKind(ImageWatermarkKind)
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_KIND
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_OPACITY
See Also:   SubstanceLookAndFeel.WATERMARK_IMAGE_PROPERTY



setLabelBundleClassLoader
public static void setLabelBundleClassLoader(ClassLoader labelBundleClassLoader)(Code)
Sets the class loader for SubstanceLookAndFeel.LABEL_BUNDLE .
Parameters:
  labelBundleClassLoader - Class loader for SubstanceLookAndFeel.LABEL_BUNDLE.
since:
   version 3.1



setSkin
public static boolean setSkin(SubstanceSkin skin)(Code)
Sets the specified skin.
Parameters:
  skin - Skin to set. true if the specified skin has been setsuccessfully, false otherwise.
since:
   version 3.1
See Also:   SubstanceLookAndFeel.setSkin(SubstanceSkin)
See Also:   SubstanceLookAndFeel.registerSkinChangeListener(SkinChangeListener)
See Also:   SubstanceLookAndFeel.unregisterSkinChangeListener(SkinChangeListener)



setSkin
public static boolean setSkin(String skinClassName)(Code)
Sets the specified skin.
Parameters:
  skinClassName - Skin to set. true if the specified skin has been setsuccessfully, false otherwise.
since:
   version 3.1
See Also:   SubstanceLookAndFeel.setSkin(SubstanceSkin)
See Also:   SubstanceLookAndFeel.registerSkinChangeListener(SkinChangeListener)
See Also:   SubstanceLookAndFeel.unregisterSkinChangeListener(SkinChangeListener)



setToUseConstantThemesOnDialogs
public static void setToUseConstantThemesOnDialogs(boolean toUseConstantThemesOnDialogs)(Code)
Sets the new setting for the icons of the JOptionPanes created with predefined message types.
Parameters:
  toUseConstantThemesOnDialogs - if true, the JOptionPanescreated with predefined message types should use constantthemes for the icons.
See Also:   SubstanceLookAndFeel.isToUseConstantThemesOnDialogs()



showMenuSearchPanels
public static void showMenuSearchPanels()(Code)
Shows menu search panels on all open frames. For each panel, the menu search panel will be shown only if the corresponding settings allow it.
See Also:   SubstanceLookAndFeel.hideMenuSearchPanels()



stopThreads
public static void stopThreads()(Code)
Stops all Substance threads. Use with extreme caution - improper use may result in UI artifacts and runtime exceptions. In general, this method is for internal use only.



toBleedWatermark
public static boolean toBleedWatermark()(Code)
Returns indication whether the watermark should "bleed" through list, table and tree renderers (where possible). true if the watermark should "bleed" through list,table and tree renderers (where possible), falseotherwise.



toEnableInvertedThemes
public static boolean toEnableInvertedThemes()(Code)
Returns indication whether inverted themes should be enabled. true if inverted themes should be enabled,false otherwise.



toEnableNegatedThemes
public static boolean toEnableNegatedThemes()(Code)
Returns indication whether negated themes should be enabled. true if negated themes should be enabled,false otherwise.



toIgnoreAnimation
public static boolean toIgnoreAnimation(Class componentClazz)(Code)
Checks whether animations should be ignored on instances of the specified class.
Parameters:
  componentClazz - Component class. true if animations should be ignored on instancesof the specified class, false otherwise.



toShowExtraElements
public static boolean toShowExtraElements()(Code)
Returns indication whether extra UI elements (such as menu items in system menu or menu search panel) should be shown. true if extra UI elements (such as menu items insystem menu or menu search panel) should be shown,false otherwise.



uninitialize
public void uninitialize()(Code)



unregisterBorderPainterChangeListener
public static void unregisterBorderPainterChangeListener(BorderPainterChangeListener borderPainterChangeListener)(Code)
Unregisters a listener on border painter change.
Parameters:
  borderPainterChangeListener - The listener to unregister.
See Also:   SubstanceLookAndFeel.getCurrentBorderPainter()
See Also:   SubstanceLookAndFeel.getCurrentBorderPainterName()
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentBorderPainter(SubstanceBorderPainter)
See Also:   SubstanceLookAndFeel.registerBorderPainterChangeListener(BorderPainterChangeListener)
See Also:   SubstanceLookAndFeel.BORDER_PAINTER_PROPERTY



unregisterButtonShaperChangeListener
public static void unregisterButtonShaperChangeListener(ButtonShaperChangeListener buttonShaperChangeListener)(Code)
Unregisters a listener on button shaper change.
Parameters:
  buttonShaperChangeListener - The listener to unregister.
See Also:   SubstanceLookAndFeel.getCurrentButtonShaper()
See Also:   SubstanceLookAndFeel.getCurrentButtonShaperName()
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(String)
See Also:   SubstanceLookAndFeel.setCurrentButtonShaper(SubstanceButtonShaper)
See Also:   SubstanceLookAndFeel.registerButtonShaperChangeListener(ButtonShaperChangeListener)
See Also:   SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY



unregisterGradientPainterChangeListener
public static void unregisterGradientPainterChangeListener(GradientPainterChangeListener gradientPainterChangeListener)(Code)
Unregisters a listener on gradient painter change.
Parameters:
  gradientPainterChangeListener - The listener to unregister.
See Also:   SubstanceLookAndFeel.getCurrentGradientPainter()
See Also:   SubstanceLookAndFeel.getCurrentGradientPainterName()
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(String)
See Also:   SubstanceLookAndFeel.setCurrentGradientPainter(SubstanceGradientPainter)
See Also:   SubstanceLookAndFeel.registerGradientPainterChangeListener(GradientPainterChangeListener)
See Also:   SubstanceLookAndFeel.GRADIENT_PAINTER_PROPERTY



unregisterLocaleChangeListener
public static void unregisterLocaleChangeListener(LocaleChangeListener localeListener)(Code)
Unregisters a listener on locale change.
Parameters:
  localeListener - The listener to unregister.



unregisterSkinChangeListener
public static void unregisterSkinChangeListener(SkinChangeListener skinChangeListener)(Code)
Unregisters a listener on skin change.
Parameters:
  skinChangeListener - The listener to unregister.
See Also:   SubstanceLookAndFeel.setSkin(String)
See Also:   SubstanceLookAndFeel.setSkin(SubstanceSkin)
See Also:   SubstanceLookAndFeel.registerSkinChangeListener(SkinChangeListener)



unregisterTabCloseChangeListener
public static void unregisterTabCloseChangeListener(BaseTabCloseListener tabCloseListener)(Code)
Unregisters the specified listener on tab-close events on all tabbed panes.
Parameters:
  tabCloseListener - Listener to unregister.
See Also:   SubstanceLookAndFeel.registerTabCloseChangeListener(BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.registerTabCloseChangeListener(JTabbedPane,BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.unregisterTabCloseChangeListener(JTabbedPane,BaseTabCloseListener)



unregisterTabCloseChangeListener
public static void unregisterTabCloseChangeListener(JTabbedPane tabbedPane, BaseTabCloseListener tabCloseListener)(Code)
Unregisters the specified listener on tab-close events on the specified tabbed pane.
Parameters:
  tabbedPane - Tabbed pane. If null, the tab close listeneris unregistered globally (for all tabbed panes).
Parameters:
  tabCloseListener - Listener to unregister.
See Also:   SubstanceLookAndFeel.registerTabCloseChangeListener(BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.registerTabCloseChangeListener(JTabbedPane,BaseTabCloseListener)
See Also:   SubstanceLookAndFeel.unregisterTabCloseChangeListener(BaseTabCloseListener)



unregisterThemeChangeListener
public static void unregisterThemeChangeListener(ThemeChangeListener themeChangeListener)(Code)
Unregisters a listener on theme change.
Parameters:
  themeChangeListener - The listener to unregister.
See Also:   SubstanceLookAndFeel.getCurrentThemeName()
See Also:   SubstanceLookAndFeel.getTheme()
See Also:   SubstanceLookAndFeel.setCurrentTheme(String)
See Also:   SubstanceLookAndFeel.setCurrentTheme(SubstanceTheme)
See Also:   SubstanceLookAndFeel.setCurrentTheme(ThemeInfo)
See Also:   SubstanceLookAndFeel.registerThemeChangeListener(ThemeChangeListener)
See Also:   SubstanceLookAndFeel.THEME_PROPERTY



unregisterWatermarkChangeListener
public static void unregisterWatermarkChangeListener(WatermarkChangeListener watermarkChangeListener)(Code)
Unregisters a listener on watermark change.
Parameters:
  watermarkChangeListener - The listener to unregister.
See Also:   SubstanceLookAndFeel.getCurrentWatermark()
See Also:   SubstanceLookAndFeel.getCurrentWatermarkName()
See Also:   SubstanceLookAndFeel.setCurrentWatermark(String)
See Also:   SubstanceLookAndFeel.setCurrentWatermark(SubstanceWatermark)
See Also:   SubstanceLookAndFeel.registerWatermarkChangeListener(WatermarkChangeListener)
See Also:   SubstanceLookAndFeel.WATERMARK_PROPERTY



Methods inherited from javax.swing.plaf.basic.BasicLookAndFeel
protected Action createAudioAction(Object key)(Code)(Java Doc)
protected ActionMap getAudioActionMap()(Code)(Java Doc)
public UIDefaults getDefaults()(Code)(Java Doc)
protected void initClassDefaults(UIDefaults table)(Code)(Java Doc)
protected void initComponentDefaults(UIDefaults table)(Code)(Java Doc)
protected void initSystemColorDefaults(UIDefaults table)(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
protected void loadSystemColors(UIDefaults table, String[] systemColors, boolean useNative)(Code)(Java Doc)
protected void playSound(Action audioAction)(Code)(Java Doc)
public void uninitialize()(Code)(Java Doc)

Methods inherited from javax.swing.LookAndFeel
public UIDefaults getDefaults()(Code)(Java Doc)
abstract public String getDescription()(Code)(Java Doc)
public static Object getDesktopPropertyValue(String systemPropertyName, Object fallbackValue)(Code)(Java Doc)
public Icon getDisabledIcon(JComponent component, Icon icon)(Code)(Java Doc)
public Icon getDisabledSelectedIcon(JComponent component, Icon icon)(Code)(Java Doc)
abstract public String getID()(Code)(Java Doc)
public LayoutStyle getLayoutStyle()(Code)(Java Doc)
abstract public String getName()(Code)(Java Doc)
public boolean getSupportsWindowDecorations()(Code)(Java Doc)
public void initialize()(Code)(Java Doc)
public static void installBorder(JComponent c, String defaultBorderName)(Code)(Java Doc)
public static void installColors(JComponent c, String defaultBgName, String defaultFgName)(Code)(Java Doc)
public static void installColorsAndFont(JComponent c, String defaultBgName, String defaultFgName, String defaultFontName)(Code)(Java Doc)
public static void installProperty(JComponent c, String propertyName, Object propertyValue)(Code)(Java Doc)
abstract public boolean isNativeLookAndFeel()(Code)(Java Doc)
abstract public boolean isSupportedLookAndFeel()(Code)(Java Doc)
public static void loadKeyBindings(InputMap retMap, Object[] keys)(Code)(Java Doc)
public static ComponentInputMap makeComponentInputMap(JComponent c, Object[] keys)(Code)(Java Doc)
public static Object makeIcon(Class baseClass, String gifFile)(Code)(Java Doc)
public static InputMap makeInputMap(Object[] keys)(Code)(Java Doc)
public static JTextComponent.KeyBinding[] makeKeyBindings(Object[] keyBindingList)(Code)(Java Doc)
public void provideErrorFeedback(Component component)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void uninitialize()(Code)(Java Doc)
public static void uninstallBorder(JComponent c)(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.