|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.viz.plotter.basic.BasicDrawingElement
org.knime.base.node.viz.plotter.basic.BasicLine
public class BasicLine
Represents a line by a list of points which are connected to one line. Hence, the ordering of the points in the list is important.
| Constructor Summary | |
|---|---|
BasicLine()
|
|
| Method Summary | |
|---|---|
void |
paint(Graphics2D g)
Paints the line by connecting all points. |
void |
setPoints(List<Point> points)
Sets the mapped points. |
void |
setPoints(Point... points)
Sets the mapped points. |
void |
setStroke(Stroke stroke)
|
| Methods inherited from class org.knime.base.node.viz.plotter.basic.BasicDrawingElement |
|---|
addDomainValue, addPoint, getColor, getDomainValues, getPoints, getStroke, setColor, setDomainValues, setDomainValues |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicLine()
| Method Detail |
|---|
public void paint(Graphics2D g)
paint in class BasicDrawingElementg - the graphics object#paint(java.awt.Graphics2D)public void setPoints(List<Point> points)
BasicPlotter only.
setPoints in class BasicDrawingElementpoints - the mapped points making up this drawing elementpublic void setPoints(Point... points)
BasicPlotter only.
setPoints in class BasicDrawingElementpoints - mapped pointspublic void setStroke(Stroke stroke)
setStroke in class BasicDrawingElementstroke - the stroke of this element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||