flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Determining which MXML elements are containers
Date Tue, 14 Oct 2014 21:29:25 GMT

On 10/14/14, 1:42 PM, "jude" <flexcapacitor@gmail.com> wrote:

>FYI There may not be an official way yet. In which case this would be a
>good discussion point. For example, there is not an official way to know
>a class is a skin class.

Again, Gordon or Darrell (or better yet Ryan Frishberg if he’s still
lurking) might have a better answer, but I do not believe there is any
contract for a skin other than it must expose required the skin parts of
the host component.  There is no interface to check, I think it has to be
an IVisualElement, but so does just about any UI thing in Spark.

Not sure how hard it is to get skin part metadata and public properties in
the various IDEs, but I think that’s what you’d have to do to see if a
skin is truly an allowed value, and searching for all matches could be
expensive if you are trying to offer valid values.


View raw message