But for a more complex strategy (like coloring depending on some rules, like the level of the node in the tree, or the amount value: red in negative, green or default if positive, etc) i should be able to set in the style property the name of the class (developed in house) that implement this logic.
You can use a renderer for this.
