[TreeMap] Asign predefined colors to squares

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

[TreeMap] Asign predefined colors to squares

Postby Oleg11 » Wed Mar 04, 2015 10:16 am

Hello,

I'm looking for a simple way to assign predefined colors to given values of the column I choose to render the background color.
For instance, I have a column "status" which can be "ready", "open", "closed" and I would like to set the background color of "ready" to green, "open" to blue and "closed" to red.
I'm trying to implement the MutableColorMap interface but it looks like a tough work and I'm pretty sure it is not the most straightforward way of doing it.

Could someone provide some hints here ?

Thank you so much.
Oleg11
 
Posts: 10
Joined: Wed Jan 28, 2015 7:25 am

Re: [TreeMap] Asign predefined colors to squares

Postby JIDE Support » Wed Mar 04, 2015 10:31 am

TreeMap product was discontinued a couple of years ago. Please go to http://www.treemap.com/ to license from them. They were the actual developer of the JIDE TreeMap so the APIs are almost the same except package name differences.
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 36107
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 1 guest