org.knime.base.node.viz.plotter.basic
Class BasicText
java.lang.Object
org.knime.base.node.viz.plotter.basic.BasicDrawingElement
org.knime.base.node.viz.plotter.basic.BasicText
public class BasicText
- extends BasicDrawingElement
Represents a textline, the startpoint has to be set with the
#addDomainValue(DataCellPoint)
.
- Author:
- Fabian Dill, University of Konstanz
Method Summary |
void |
paint(Graphics2D g2)
Paints the text starting at the only set point. |
Methods inherited from class org.knime.base.node.viz.plotter.basic.BasicDrawingElement |
addDomainValue, addPoint, getColor, getDomainValues, getPoints, getStroke, setColor, setDomainValues, setDomainValues, setPoints, setPoints, setStroke |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicText
public BasicText(String text)
- Parameters:
text
- the text to be displayed.
paint
public void paint(Graphics2D g2)
- Paints the text starting at the only set point.
- Specified by:
paint
in class BasicDrawingElement
- Parameters:
g2
- the graphics object- See Also:
BasicDrawingElement.paint(
java.awt.Graphics2D)
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.