jebl.gui.trees.treeviewer.decorators
Class AttributeBranchDecorator
java.lang.Object
jebl.gui.trees.treeviewer.decorators.AttributeBranchDecorator
- All Implemented Interfaces:
- BranchDecorator
public class AttributeBranchDecorator
- extends Object
- implements BranchDecorator
- Author:
- Andrew Rambaut
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attributeName
protected final String attributeName
paintMap
protected Map<Object,Paint> paintMap
AttributeBranchDecorator
public AttributeBranchDecorator(String attributeName,
Map<Object,Paint> paintMap)
getBranchPaint
public Paint getBranchPaint(Tree tree,
Node node)
- Specified by:
getBranchPaint
in interface BranchDecorator
getPaint
protected Paint getPaint(Object value)