|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A curve is defined by a sequence of points in device-independent
coordinates. The points can be decorated by symbols and/or
connected by lines.Hints
are used to determine additional
properties of the symbol. This is especially important for
charts with bars.
In accordance with the Factory Method Pattern
the symbols are created by a SymbolFactory
.
Method Summary | |
Hint |
addPoint(GraphPoint point,
Hint hintFromPreviousCurve)
Appends a new point to the curve. |
GraphicalElement |
getLegendSymbol()
Returns a symbol which can be used to create the legend for the curve. |
GraphicalElement |
getView()
Returns the graphical representation of a curve. |
void |
removeAllPoints()
Removes all points from the curve. |
Method Detail |
public GraphicalElement getView()
public GraphicalElement getLegendSymbol()
public Hint addPoint(GraphPoint point, Hint hintFromPreviousCurve)
point
- Position in device-independent coordinates.hintFromPreviousCurve
- Hint which may be used to calculate
the corresponding GraphicalElement
.
public void removeAllPoints()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |