info.bioinfweb.treegraph.graphics.positionpaint.labelicons
Class UnknownIcon
java.lang.Object
info.bioinfweb.treegraph.graphics.positionpaint.labelicons.UnknownIcon
- All Implemented Interfaces:
- LabelIcon
public class UnknownIcon
- extends Object
- implements LabelIcon
This icon shall be displayed if an unknown icon ID was specified (e.g. in a document created with a newer
version of TreeGraph 2).
- Since:
- 2.0.25
- Author:
- Ben Stöver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEXT
public static final String TEXT
- See Also:
- Constant Field Values
UnknownIcon
public UnknownIcon()
paint
public void paint(Graphics2D g,
float x,
float y,
IconLabelFormats formats,
float pixelsPerMillimeter)
- Displays a questionmark.
- Specified by:
paint
in interface LabelIcon
- See Also:
info.bioinfweb.treegraph.graphics.positionpaint.labelicons.LabelIcon#paint(java.awt.Graphics2D, float, float, info.bioinfweb.treegraph.document.format.LabelFormats, float)
id
public String id()
- Returns
null
.
- Specified by:
id
in interface LabelIcon
- See Also:
LabelIcon.id()