jebl.gui.trees.treeviewer_dev.painters
Class LabelPainter<T>
java.lang.Object
jebl.gui.trees.treeviewer_dev.painters.AbstractPainter<T>
jebl.gui.trees.treeviewer_dev.painters.LabelPainter<T>
- All Implemented Interfaces:
- Painter<T>
- Direct Known Subclasses:
- BasicLabelPainter, ScaleBarPainter
public abstract class LabelPainter<T>
- extends AbstractPainter<T>
- Author:
- Andrew Rambaut
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LabelPainter
protected LabelPainter()
getAttributes
public abstract String[] getAttributes()
setupAttributes
public abstract void setupAttributes(Tree tree)
setDisplayAttribute
public abstract void setDisplayAttribute(String displayAttribute)
getForeground
public Paint getForeground()
getBackground
public Paint getBackground()
getBorderPaint
public Paint getBorderPaint()
getBorderStroke
public Stroke getBorderStroke()
getFont
public Font getFont()
getNumberFormat
public NumberFormat getNumberFormat()
isVisible
public boolean isVisible()
- Description copied from interface:
Painter
- If this is false then the painter should not be displayed.
- Returns:
- is visible?
setBackground
public void setBackground(Paint background)
setBorder
public void setBorder(Paint borderPaint,
Stroke borderStroke)
setFont
public void setFont(Font font)
setForeground
public void setForeground(Paint foreground)
setNumberFormat
public void setNumberFormat(NumberFormat numberFormat)
setVisible
public void setVisible(boolean visible)