Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Gallery Item Text Color
Gallery Item Text Color [message #33463] Fri, 27 April 2007 11:16 Go to next message
Eclipse UserFriend
Originally posted by: swetha.yahoo.co.in

Hi,


How can I set the text color of the Gallery Item...

Thanks,
Swetha
Re: Gallery Item Text Color [message #33497 is a reply to message #33463] Fri, 27 April 2007 11:59 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Hi,

try ItemRenderer.setForegroundColor();

--
Nicolas

Swetha a écrit :
> Hi,
>
>
> How can I set the text color of the Gallery Item...
>
> Thanks,
> Swetha
>
>
>
>
Re: Gallery Item Text Color [message #33530 is a reply to message #33497] Fri, 27 April 2007 12:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: swetha.yahoo.co.in

Hi,

It will set the color to all the items in a Gallery..

I want the color to be specified for a particular item,

Is it possible to do this..

Thanks,
Swetha

'
Re: Gallery Item Text Color [message #33697 is a reply to message #33530] Fri, 27 April 2007 16:04 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Hi,

Currently, you have to extend the DefaultItemRenderer or create your own
to do that. Another solution is to add a paintlistener with your drawing
code in it.

--
Nicolas


Swetha a écrit :
> Hi,
>
> It will set the color to all the items in a Gallery..
>
> I want the color to be specified for a particular item,
>
> Is it possible to do this..
>
> Thanks,
> Swetha
>
> '
>
Re: Gallery Item Text Color [message #581339 is a reply to message #33463] Fri, 27 April 2007 11:59 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Hi,

try ItemRenderer.setForegroundColor();

--
Nicolas

Swetha a écrit :
> Hi,
>
>
> How can I set the text color of the Gallery Item...
>
> Thanks,
> Swetha
>
>
>
>
Re: Gallery Item Text Color [message #581359 is a reply to message #33497] Fri, 27 April 2007 12:26 Go to previous message
Swetha is currently offline SwethaFriend
Messages: 68
Registered: July 2009
Member
Hi,

It will set the color to all the items in a Gallery..

I want the color to be specified for a particular item,

Is it possible to do this..

Thanks,
Swetha

'
Re: Gallery Item Text Color [message #581434 is a reply to message #33530] Fri, 27 April 2007 16:04 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
Hi,

Currently, you have to extend the DefaultItemRenderer or create your own
to do that. Another solution is to add a paintlistener with your drawing
code in it.

--
Nicolas


Swetha a écrit :
> Hi,
>
> It will set the color to all the items in a Gallery..
>
> I want the color to be specified for a particular item,
>
> Is it possible to do this..
>
> Thanks,
> Swetha
>
> '
>
Previous Topic:Gallery Item Text Color
Next Topic:CDateTime uses a lot of Windows handles
Goto Forum:
  


Current Time: Fri Mar 29 11:19:22 GMT 2024

Powered by FUDForum. Page generated in 0.02678 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top