public interface DesktopTheme
Modifier and Type | Method and Description |
---|---|
void |
applyStyle(java.lang.Object component,
java.lang.String styleName)
Apply style to CUBA, swing or AWT component.
|
void |
applyStyle(java.lang.Object component,
java.lang.String styleName,
java.util.Set<java.lang.String> state)
Apply style to CUBA, swing or AWT component.
|
java.lang.String |
getName() |
DesktopResources |
getResources()
Return resources associated with theme.
|
void |
init()
Invoke this method before any UI components initialization.
|
java.lang.String getName()
void init()
void applyStyle(java.lang.Object component, java.lang.String styleName)
component
- componentstyleName
- space-separated list of styles to applyvoid applyStyle(java.lang.Object component, java.lang.String styleName, java.util.Set<java.lang.String> state)
component
- componentstyleName
- space-separated list of styles to applystate
- set of strings describing internal swing component stateDesktopResources getResources()