On 3/14/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
> Lets say we have Component and SubComponent(composite inside Component,
> queued in Component.allChildrensList).
>
> 1) SubComponent uses getStyle("sizerThickness")
>
> How do I get this to where you call Component.setStyle("sizerThickness") and
> through inheriting this style, SubComponent can use it's
> getStyle("sizerThickenss") when the Component gets it's setStyle() called?
[snip]
If the style is an inheriting style, the `styleChanged` method of all
descendants will get called. That's where you can call
`invalidateDisplayList` (which will lead to a call to
`updateDisplayList` by the framework).
Manish
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/