pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Castillo <mabcasti...@gmail.com>
Subject Re: How to programatically add a label to an Accordion Panel?
Date Wed, 26 Jan 2011 14:55:08 GMT
Thank you Chris for your reply. I have another question, how can you destroy
all the panels within an Accordion component?

Regards

On Wed, Jan 26, 2011 at 2:05 AM, Chris Bartlett <cbartlett.x@gmail.com>wrote:

> Marco,
>
> Use the static setHeaderData(Component, Object) method of Accordion.
> http://pivot.apache.org/2.0/docs/api/org/apache/pivot/wtk/Accordion.html
>
> The first parameter would be the content of the panel, and the second would
> be the header data for that panel.
>
> Chris
>
>
> On 26 January 2011 11:22, Marco Castillo <mabcastillo@gmail.com> wrote:
>
>> Dear List:
>> I'm adding programatically panels to an Accordion. How can I set the Panel
>> title programatically? Using bxml, I use an Accordion.headerData attribute
>> to define the header text.
>> Thanks in advance for any help.
>>
>> Regards
>>
>> Marco
>>
>
>

Mime
View raw message