[ https://issues.apache.org/jira/browse/FLEX-17225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean updated FLEX-17225: --------------------------------- Labels: easyfix (was: ) > make UIComponentGlobals.layoutManager a public property > ------------------------------------------------------- > > Key: FLEX-17225 > URL: https://issues.apache.org/jira/browse/FLEX-17225 > Project: Apache Flex > Issue Type: Improvement > Components: Layout - General > Affects Versions: Adobe Flex SDK 3.2 (Release) > Environment: Language Found: English > Reporter: Adobe JIRA > Labels: easyfix > > There is a declaration in UIComponentGlobals: > mx_internal static var layoutManager:ILayoutManager; > Doing a search through the 3.2.0 SDK will find about 30 different classes > that need access to this variable. For example, PopUpButton needs to call > UIComponentGlobals.layoutManager.validateNow() when it displays its dropdown > menu. Same with ComboBox. List calls it and AdvancedDataGrid calls it. > This makes it a hindrance for developers who are trying to create similar > components or descend from the above and override behaviors. We are told in > general not to use mx_internal because it's unsupported and very subject to > change without consideration for what it will break. It's also not > documented so it's very hard to find without looking through the source code. > But this seems like something that should be a public part of the API since > it forms a very important part of the framework for being able to make usable > components. > In short - this is an undocumented (since it's mx_internal) and unsupported > piece of the API but as far as I can tell there is no documented and > supported way of accessing it, yet you are required to access it if you are > going to make components similar to some of the very basic components in Flex. > Please mark it as public instead. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira