Skip to main content



      Home
Home » Eclipse Projects » NatTable » Use multi cell painters on a single cell(Multiple Cell painter)
Use multi cell painters on a single cell [message #1426172] Thu, 18 September 2014 06:49 Go to next message
Eclipse UserFriend
Hi , I am new to Nat table and need help , I wanted to know whether it is possible to apply two cell painters to to the same cell label , I have already applied BeveledBorderDecorator and on the same cell I wanted to add an image but it looks like it only takes the latest mentioned cell painter , Is that the case or i Have a way out
Re: Use multi cell painters on a single cell [message #1426251 is a reply to message #1426172] Thu, 18 September 2014 09:18 Go to previous messageGo to next message
Eclipse UserFriend
The cell painters are all wrappers, so you should create an ImagePainter and wrap it with a BeveledBorderDecorator. This way you can stack your painters.

https://www.eclipse.org/nattable/documentation.php?page=styling

[Updated on: Thu, 18 September 2014 09:20] by Moderator

Re: Use multi cell painters on a single cell [message #1426705 is a reply to message #1426251] Fri, 19 September 2014 01:18 Go to previous message
Eclipse UserFriend
Thank you very much , will try it out
Previous Topic:How to obtain the cellValue in IMouseAction
Next Topic:getCellByPosition() returning a null datavalue
Goto Forum:
  


Current Time: Wed Jul 30 10:22:40 EDT 2025

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

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

Back to the top