Yeah, same with ActionStep. A simple subclass, and a bit of studying of the superclass, and you'll be in business.
Many of the controls are view/controller based. Controls (subclasses of
NSControl) receive user user input events, and pass it off to cells (NSCell
instances) which handle drawing and behaviour (and some other things). There is
some overlap between concerns, but all in all it's a very powerful system once
you've gotten the hang of it. I love Cocoa!
If you want a button to look or act differently for example, you just subclass
NSButtonCell, and use the NSButton.setCell() method to apply it to a button
instance.
Scott
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of iiley
Sent: Thu 3/9/2006 10:46 AM
To: Open Source Flash Mailing List
Cc:
Subject: Re: [osflash] Hunting for GUI components... any ideas?
>I think there should be a strict separation between functionality and the
look of a component.
Yes, of course, that what is MVC, right? :)
>I think he means extreme changes in how a component looks. More than just
colors and lines. >Maybe something like, moving the scrollbar from the right
of a list to the left is a better example >of an extreme overhaul.
Ah, thanks for the explain. yes, they can, and for the scrollbar from the
right of a list to the left example, it is possible and easy done in AsWing
too.
2006/3/9, Ralf Bokelberg <[EMAIL PROTECTED]>:
>
> Yes exactly. I think there should be a strict separation between
> functionality and the look of a component. In the best case i should be able
> to completely control a component just by code. This would gives us all the
> freedom we need to create a view.
> For me this is a typical flash thing, vs or swing programmers probably
> aren't used to think about skinning in this extreme way.
>
> Cheers,
> Ralf.
>
>
> On 3/9/06, Scott Hyndman <[EMAIL PROTECTED]> wrote:
> >
> > I think he means extreme changes in how a component looks. More than
> > just colors and lines. Maybe something like, moving the scrollbar from the
> > right of a list to the left is a better example of an extreme overhaul.
> >
> > Scott
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] on behalf of iiley
> > Sent: Wed 3/8/2006 8:39 PM
> > To: Open Source Flash Mailing List
> > Cc:
> > Subject: Re: [osflash] Hunting for GUI components... any ideas?
> > Hi Scott,
> >
> > Sorry of my english, i'm not clear now, does that mean: for example a
> > button
> > with an icon and a text, can it changed the icon and text's location(e.g
> > :
> > icon left, text right -> icon right, text left)? if it means that, it
> > can
> > do.
> >
> >
> > 2006/3/8, Scott Hyndman < [EMAIL PROTECTED]>:
> > >
> > > Iiley,
> > >
> > > I think Ralf means, can the internal layout of the component be
> > changed.
> > > If I wanted to have stepper buttons on the left side of the stepper
> > instead
> > > of the right, is it doable. What if I wanted the step up button on the
> > > right, and step up on the left? Can it do that?
> > >
> > > Scott
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] on behalf of iiley
> > > Sent: Wed 3/8/2006 6:30 AM
> > > To: Open Source Flash Mailing List
> > > Cc:
> > > Subject: Re: [osflash] Hunting for GUI components... any ideas?
> >
> > >
> > > I think, this kind of overview makes up a good new page for the
> > osflash
> > > site.
> > > Sounds a good idea, then people can choose the suitable UI sets for
> > their
> > > app easily:))
> > >
> > > like to add another question: Can the layout of the components be
> > changed?
> > > I only can answer for AsWing too.:), it is yes, they can, there are
> > > LayoutManager in AsWing, generally the components are layout
> > automaticlly
> > > by
> > > their container's layout manager(yes same as Java Swing). Also you can
> >
> > > implement your own LayoutManager or set the location for each
> > component
> > > manually(EmptyLayout needed).
> > > And another feature about position, a component can be removed from a
> > > container to another with all properties saved(flash internal, it is
> > > removed
> > > from a MovieClip to another).
> > >
> > > 2006/3/8, Ralf Bokelberg <[EMAIL PROTECTED]>:
> > > >
> > > > I think, this kind of overview makes up a good new page for the
> > osflash
> > > > site. I'd like to add another question: Can the layout of the
> > components
> > > be
> > > > changed? Just recently i tried to skin the F7 stepper component, and
> > it
> > > > turned out, that the position of the buttons cannot be changed.
> > After
> > > trying
> > > > to fiddle with MovieClip registration points for an hour or so, i
> > ended
> > > up
> > > > writing my own stepper.
> > > >
> > > > Cheers,
> > > > Ralf.
> > > >
> > > > On 3/8/06, Regina Dowling < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I'm currently looking for an easily skinnable AS2.0 component
> > > framework.
> > > > > I have found many options, some of them open source, some of them
> > > > > commercial,
> > > > > but so far I haven't found the optimal solution for us.
> > > > >
> > > > > We don't need an alternative for the whole set of v2 components,
> > but
> > > the
> > > > > following ("homegrown" and less than ideal) components are
> > currently
> > > > > used:
> > > > >
> > > > > - CheckBox
> > > > > - RadioButton
> > > > > - ScrollBar
> > > > > - ComboBox
> > > > > - TextInput
> > > > > - Button
> > > > > - ToolTip
> > > > >
> > > > > Also, some sort of Alert/Dialog/Window plus WindowManagement would
> > be
> > > > > really nice to have. :-)
> > > > >
> > > > > I need to be able to use at least two embedded client-specific
> > fonts
> > > for
> > > > >
> > > > > the components (which seems to be a major pain), and it would
> > > definitely
> > > > > be a plus if I could use different skins for the same component
> > type
> > > in
> > > > > the
> > > > > same movieclip (e.g. I have a scroller and a combo box, but the
> > text
> > > > > scroller
> > > > > needs to look different from the scroller in the combo box).
> > > > >
> > > > > I downloaded the trial of the mCom-components and, although basic
> > > > > skinning
> > > > > seems to be quite straightforward, I gave up on the combo box
> > because
> > > I
> > > > > couldn't get to the skin of the list inside of it (the
> > documentation
> > > > > didn't
> > > > > help much in that regard, either).
> > > > > The mCom set doesn't include any windows and window management
> > either,
> > > > > so
> > > > > I'd need a different solution for that anyway.
> > > > >
> > > > > The AsWing-set seems more like a complete application framework,
> > so
> > > I'm
> > > > > not sure if it's not a lot more than we actually need.
> > > > > Also, although it's supposed to provide "pluggable look & feel" I
> > > > > couldn't
> > > > > find the documentation that pointed me in the right direction
> > > regarding
> > > > > skinning... Any help would be greatly appreciated.
> > > > >
> > > > > Has anybody worked with any of the following component sets and
> > can
> > > > > say something about their skinning abilites and/or point me to
> > example
> > > > > applications that use these components?
> > > > >
> > > > > - EnFlash
> > > > > http://www.asual.com/enflash/
> > > > > - SMX components
> > > > > http://www.sourcesecure.co.uk/trac/bbc/smx/
> > > > > (well, there are the BBC projects... any more examples?)
> > > > > - BitComponents
> > > > > http://www.flashloaded.com/flashcomponents/bitcomponentset/
> > > > > - UI0
> > > > > http://posttool.com/as2components/
> > > > > - XP3
> > > > > http://www.epresenterplus.com/components.shtml
> > > > >
> > > > > Thank you in advance,
> > > > >
> > > > > Regina
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > osflash mailing list
> > > > > [email protected]
> > > > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > osflash mailing list
> > > > [email protected]
> > > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > iiley
> > > AsWing http://www.aswing.org
> > > Blog http://spaces.msn.com/members/iiley/
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > osflash mailing list
> > > [email protected]
> > > http://osflash.org/mailman/listinfo/osflash_osflash.org
> > >
> > >
> > >
> >
> >
> > --
> > iiley
> > AsWing http://www.aswing.org
> > Blog http://spaces.msn.com/members/iiley/
> >
> >
> >
> >
> > _______________________________________________
> > osflash mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
> >
> >
> >
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
--
iiley
AsWing http://www.aswing.org
Blog http://spaces.msn.com/members/iiley/
<<winmail.dat>>
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
