Sep 25, 2009 1:11 AM
Why would you override commitProperties() and updateDisplayList()?
-
Like (0)
Can anyone give quick and simple answer?
Thanks!
When you are updating layout or dealing with component properties at runtime at that time to reduce the processing overhead you can override below methods.
commitProperties()method -
To coordinate the modifications of multiple properties so that the modifications occur synchronously.
updateDisplayList() method -
To set the size and position of the elements of the component for display.
Best Regards,
Yogesh
Thank you very much for your answer! However not everything that clear for me.
Do you mean if I want to customize the properties of UI Component, it is a way faster runtime processing if I override commitProperties(), updateDisplayList() rather than doing it with my own functions? Are there situations when there is no alternative way to overriding commitProperties()?
North America
Europe, Middle East and Africa
Asia Pacific
Copyright © 2011 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).