incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Flex 5 UIComponent - Behavior Pattern
Date Tue, 24 Jan 2012 18:17:08 GMT



On 1/24/12 10:09 AM, "Haykel BEN JEMIA" <haykelbj@gmail.com> wrote:

> Just looking at the interfaces UIComponent implements I can see some
> candidates for implementation as behaviors (besides the ones suggested by
> Tink):
> 
> public class UIComponent extends FlexSprite
>     implements IAutomationObject, IChildList, IConstraintClient,
>     IDeferredInstantiationUIComponent, IFlexDisplayObject, IFlexModule,
>     IInvalidating, ILayoutManagerClient, IPropertyChangeNotifier,
>     IRepeaterClient, IStateClient, IAdvancedStyleClient,
> IToolTipManagerClient,
>     IUIComponent, IValidatorListener, IVisualElement
> 
> 
>    - Automation: required only for testing and in special cases
>    - Deferred instantiation: not sure about this, but perhaps this could be
>    attached by containers that support deferred instantiation of children
>    - Repeater client: I personally never use repeaters
> 
My prototype chopped UIComponent into over 20 pieces.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message