Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Change Even/Odd Row Configuration
Change Even/Odd Row Configuration [message #1219830] Fri, 06 December 2013 07:44 Go to next message
Ali Malik is currently offline Ali MalikFriend
Messages: 27
Registered: August 2013
Junior Member
Hi,

Currently, the Row Style Configuration allows us to change the oddRowBgColor and evenRowBgColor.

I was wondering if there is an option to set evenRowImage, and oddRowImage instead.

If not, how could I go about it?

Tony
Re: Change Even/Odd Row Configuration [message #1219833 is a reply to message #1219830] Fri, 06 December 2013 08:26 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1407
Registered: July 2012
Senior Member
That depends on what you are trying to achieve.

Technically you are able to set an Image to the style configuration. But that is only interpreted by the ImagePainter IIRC.

So you will need to register different painters to render the image. If it should be rendered as foreground image, you will need the ImagePainter. If you want to render different background images, you will need to register different BackgroundImagePainters for odd/even row labels.
Previous Topic:Change Icon in Text editor control decoration
Next Topic:Gerrit enabled for NatTable
Goto Forum:
  


Current Time: Thu Nov 27 11:12:43 GMT 2014

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

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