What do you mean by "fixed for the component"?
Fixed here means that it's always the same, and i can't for example
changing it via a configuration option (for example set as a style or
other attribute in a wtkx file).
Actually, you can specify a renderer in WTKX:
<TreeView>
<nodeRenderer>
<custom:MyTreeViewNodeRenderer/>
</nodeRenderer>
</TreeView>
Real use case:
for a my web application some time ago I had some logic to calculate
the row color (of any row of an HTML table body), where, depending on
the type of the data contained in the Model for the row (for example
normal data, or row of totals) i used a different css style (for
example background color for the row, and bold text in some cases). In
some cases this could be useful to have (and not only for TreeTables,
like seen before).
Renderers will definitely allow you to customize the background color
based on the node data. You just can't customize it based on the
node's index/path, because that information isn't passed to the
renderer. That's why the "zebra" style would need to be added to the
tree view skin, not the renderer.