public interface StyleManager
NestedStyleContainer
for more information.Modifier and Type | Method and Description |
---|---|
void |
activated(Style style)
Notify a nested style that it has been activated.
|
Style |
cloneStyleById(java.lang.String styleId)
Clones a style for a specified ID.
|
javax.swing.JComponent |
createStyleComponent(Style style)
Create a style component.
|
void |
deactivated(Style style)
Notify a nested style that it has been deactivated.
|
Style |
getStyleById(java.lang.String styleId)
Get the style for a specified ID.
|
void |
willActivate(Style style)
Notify a nested style that it will be activated.
|
Style getStyleById(java.lang.String styleId)
FormPanelContainer
, its form panel is not initialized.
Instead of calling Style.createComponent()
, you have to call createStyleComponent(Style)
in order
to handle the creation of a form panel.styleId
- the ID of the styleStyle cloneStyleById(java.lang.String styleId)
styleId
- the ID of the stylejavax.swing.JComponent createStyleComponent(Style style)
FormPanelContainer
, a new form panel will be set on the style
before Style.createComponent()
is called.style
- the stylevoid willActivate(Style style)
Style.willActivate()
. This will call FormComponent.formWillActivate()
on all form components
if the nested style is a FormPanelContainer
.style
- the nested stylevoid activated(Style style)
Style.activated()
. This will call FormComponent.formActivated()
on all form components
if the nested style is a FormPanelContainer
.style
- the nested stylevoid deactivated(Style style)
Style.deactivated()
. This will call FormComponent.formDeactivated()
on all form components
if the nested style is a FormPanelContainer
.style
- the nested style