[
https://issues.apache.org/jira/browse/PIVOT-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Greg Brown updated PIVOT-736:
-----------------------------
Fix Version/s: (was: 2.0.1)
Visibility isn't a style, so it can't be specified via a named style. Also,
named styles are not dynamically updated - they are only applied at component
creation time. So you wouldn't be able to do this with a style anyway.
One way to handle this would be to set a name property on each "help box". Then
you could iterate over the set of named components and set their "visible" flag
as needed.
> Visible Property for ComponentSkin
> ----------------------------------
>
> Key: PIVOT-736
> URL: https://issues.apache.org/jira/browse/PIVOT-736
> Project: Pivot
> Issue Type: New Feature
> Components: wtk, wtk-terra
> Affects Versions: 2.0
> Reporter: Daniel Kuschny
> Priority: Minor
>
> It would be great if you could set the global visibility for components using
> a specific styleName.
> An example usage would be for help boxes. If I apply the styleName "helpBox"
> to all BoxPanes which display some HelpText.
> Now I create a ToggleButton/Checkbox "Show/Hide HelpBoxes" setting the global
> visibility property of this StyleName. Now all BoxPanes using this StyleName
> get shown or hidden.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira