|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Plot
Top level plot interface. All plots can be annotated with Marker
s.
Method Summary | |
---|---|
void |
addMarker(Marker marker,
int index)
Add a Marker . |
void |
addMarkers(Marker marker)
Add a Marker to each point on a plot. |
void |
addShapeMarker(Shape shape,
Color color,
int size,
int index)
Add a shape marker to a point. |
void |
addShapeMarkers(Shape shape,
Color color,
int size)
Add a shape marker to each point on a plot. |
void |
addTextMarker(String text,
Color color,
int size,
int index)
Add a text marker to a point. |
void |
setColor(Color color)
Set the color for this plot. |
void |
setLegend(String legend)
Set the legend. |
Method Detail |
---|
void setLegend(String legend)
legend
- plot legend. Cannot be null.void setColor(Color color)
color
- color. Cannot be nullvoid addShapeMarker(Shape shape, Color color, int size, int index)
shape
- Arrows, Diamonds, etc. Cannot be null.color
- Color of the shape maker. Cannot be null.size
- The size of the shape marker. Must be > 0.index
- The index of the point decorated with a shape marker. Must be >=
0.void addTextMarker(String text, Color color, int size, int index)
text
- Text marker. Cannot be null.color
- Color of text marker. Cannot be null.size
- The size of the text marker. Must be > 0.index
- The index at which the text marker should be added. Must be >=
0.void addShapeMarkers(Shape shape, Color color, int size)
shape
- Arrows, Diamonds, etc. Cannot be null.color
- Color of the shape maker. Cannot be null.size
- The size of the shape marker. Must be > 0.void addMarker(Marker marker, int index)
Marker
.
marker
- The text or shape marker. Cannot be null.index
- The index at which the text marker should be added. Must be >=
0.void addMarkers(Marker marker)
Marker
to each point on a plot.
marker
- The text or shape marker. Cannot be null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |