jebl.gui.trees.treeviewer_dev.painters
Class NodePainter
java.lang.Object
jebl.gui.trees.treeviewer_dev.painters.AbstractPainter<Node>
jebl.gui.trees.treeviewer_dev.painters.NodePainter
- All Implemented Interfaces:
- Painter<Node>
- Direct Known Subclasses:
- NodeBarPainter, NodeShapePainter
public abstract class NodePainter
- extends AbstractPainter<Node>
- Author:
- Andrew Rambaut
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodePainter
protected NodePainter()
getStroke
public Stroke getStroke()
getForeground
public Paint getForeground()
getBackground
public Paint getBackground()
getBorderPaint
public Paint getBorderPaint()
getBorderStroke
public Stroke getBorderStroke()
isVisible
public boolean isVisible()
- Description copied from interface:
Painter
- If this is false then the painter should not be displayed.
- Returns:
- is visible?
setStroke
public void setStroke(Stroke stroke)
setBackground
public void setBackground(Paint background)
setBorder
public void setBorder(Paint borderPaint,
Stroke borderStroke)
setForeground
public void setForeground(Paint foreground)
setVisible
public void setVisible(boolean visible)