Hello Mike,

It depends what you would like to do and how do you define wdget. For
example I combine TextInput and PushButton in order to create a
ClearableTextInput. I extend BoxPane and in constructor I add input
and button and setup event listeners. Such composite I call widget.

-- 
Vriendelijke groeten,
Anton Yakimov

On Tue, May 10, 2011 at 5:56 PM, noobmike <[email protected]> wrote:
> Thanks for the reply!
>
> But what do you mean by extend Pivot widgets directly?
> I use all of those things you listed, and understand how they work.
> Ive finished a good portion of the tutorials on the apache pivot site,
> but how do I get those to be a desktop IIA or widget?
>
> Thanks Clint!
>
> Mike.
>
>
> Clint Gilbert wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> For the most part, I've just extended Pivot widgets directly - Label,
>> ImageView, StakPane, BoxPane, etc.  That's not terribly clean - I'd
>> prefer composition over inheritance here - but it's easy and it works.
>>
>> Note that I'm not concerned with writing new skins, or using BXML, so my
>> approach may not be suitable for everyone.
>>
>> On 05/10/2011 10:34 AM, noobmike wrote:
>>> Hey Guys,
>>>
>>> I know this maybe a very primitive question, but can someone give me an
>>> idea
>>> or point me to a source on how to create a simple widget using Apache
>>> pivot.
>>> Is this even possible? I know pivot is all about IIA, I assume those are
>>> very similar to widgets.
>>>
>>> Thanks!
>>>
>>> Mike.
>>>
>>> --
>>> View this message in context:
>>> http://apache-pivot-users.399431.n3.nabble.com/widgets-tp2923280p2923280.html
>>> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.10 (GNU/Linux)
>>
>> iEYEARECAAYFAk3JUJsACgkQ0GFaTS4nYxssGgCeLmEUJN0II+6VqR9GXQ6JuNf0
>> hdsAoKrjr3+GRW+x3HIchXuXHBDc/7RI
>> =wMd7
>> -----END PGP SIGNATURE-----
>>
>
>
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/widgets-tp2923280p2923354.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>

Reply via email to