Hi,
I have a set of classes A, B, C, D. All are mxml components/files

These classes have common properties. They can be of series One or
Two.

A, B, C, D can be of type One and Two.

Right now I have one base class CommonOneTwo that has all common
properties.

Class One and Two extend from CommonOneTwo. All these are mxml files.

A, B, C, and D also implement a coomon interface that is exposed to
the calling class/client.

In( A, B, C, D) I create a class One or Two based on a method call and
add it as a child to A/B/C/D as these are mxml files.

If A, B, C, D dont need to have some properties I tried to remove/add
those properties(like checkbox, hbox) in the One or Two Classes.

I thought this is the best way of implementing, but someone else was
of opinion that decorator pattern is an option.

I am a bit confused how can I use decorator pattern here. Will that
pattern suit to my current requirements?

Can you explain how can it be implemented.

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to