Package org.pushingpixels.substance.api
Class SubstanceCortex
- java.lang.Object
-
- org.pushingpixels.substance.api.SubstanceCortex
-
public class SubstanceCortex extends java.lang.ObjectThis class is the only officially-supported entry point into configuring the behavior of Substance-powered UIs and for querying the state of such UIs. All APIs in this class should be called when Substance is the currently set look-and-feel unless explicitly stated otherwise. The API surface of this class is broken into a number of scopes, with every scope applying at the specific granularity level of control:SubstanceCortex.GlobalScope- configuring and querying the global state of the application.SubstanceCortex.WindowScope- configuring and querying state at the level of the applicationWindows.SubstanceCortex.RootPaneScope- configuring and querying state at the level of the applicationJRootPanes.SubstanceCortex.ComponentScope- configuring and querying state at the level of the applicationComponents.SubstanceCortex.ComponentOrParentScope- configuring and querying state at the level of individual applicationComponents or all immediate child components of a container.SubstanceCortex.ComponentOrParentChainScope- configuring and querying state at the level of individual applicationComponents or all nested child components of a container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubstanceCortex.ComponentOrParentChainScopeAPIs in this scope apply to individual applicationComponents or all nested child components of a container.static classSubstanceCortex.ComponentOrParentScopeAPIs in this scope apply to individual applicationComponents or all immediate child components of a container.static classSubstanceCortex.ComponentScopeAPIs in this scope apply to individual applicationComponents.static classSubstanceCortex.GlobalScopeAPIs in this scope apply to the global state of the application.static classSubstanceCortex.RootPaneScopeAPIs in this scope apply to individual applicationJRootPanes.static classSubstanceCortex.WindowScopeAPIs in this scope apply to individual applicationWindows.
-