i would done so:


tree.setView(new TreeView<BaseObject>() {
@Override
public void onLoading(TreeNode<BaseObject> node) {
onIconStyleChange(node,...