T
- U
- V
- W
- X
- public interface GJAnnotationInterface<T,U,V,W,X>
Modifier and Type | Method and Description |
---|---|
GJMarker |
getExtra()
Gets the extra data.
|
W |
getFill() |
X |
getFont() |
W |
getLineColor() |
V |
getLineStroke() |
GJMarker |
getMarker() |
java.lang.String |
getName() |
U |
getParentGraph() |
T |
getPath() |
java.lang.String |
getText() |
W |
getTextColor() |
double |
getXData() |
double |
getYData() |
void |
paintAnnotation(java.awt.Graphics2D g2,
java.awt.geom.AffineTransform af)
Paints the annotation to the specified Graphics2D object.
|
void |
remove()
Removes the annotation
|
void |
remove(java.lang.String s)
Removes annotation(s) named by the string
|
void |
setExtra(GJMarker o)
Sets an extra data object used internally by some annotations.
|
void |
setFill(W Fill) |
void |
setFont(X Font) |
void |
setLineColor(W LineColor) |
void |
setLineStroke(V LineStroke) |
void |
setMarker(GJMarker Marker) |
void |
setName(java.lang.String Name) |
void |
setParentGraph(U plot) |
void |
setPath(T annotation) |
void |
setText(java.lang.String Text) |
void |
setTextColor(W TextColor) |
void |
setXData(double X) |
void |
setYData(double Y) |
T getPath()
void setPath(T annotation)
annotation
- GJMarker getMarker()
void setMarker(GJMarker Marker)
Marker
- the Marker to setU getParentGraph()
void setParentGraph(U plot)
plot
- the plot to setV getLineStroke()
void setLineStroke(V LineStroke)
LineStroke
- the LineStroke to setW getLineColor()
void setLineColor(W LineColor)
LineColor
- the LineColor to setW getFill()
void setFill(W Fill)
Fill
- the Fill to setX getFont()
void setFont(X Font)
Font
- the Font to setdouble getXData()
void setXData(double X)
X
- the X to setdouble getYData()
void setYData(double Y)
Y
- the Y to setjava.lang.String getText()
void setText(java.lang.String Text)
Text
- the Text to setW getTextColor()
void setTextColor(W TextColor)
TextColor
- the TextColor to setjava.lang.String getName()
void setName(java.lang.String Name)
Name
- the Name to setvoid setExtra(GJMarker o)
o
- GJMarker getExtra()
void remove()
void remove(java.lang.String s)
s
- the name of the annotation(s) to removevoid paintAnnotation(java.awt.Graphics2D g2, java.awt.geom.AffineTransform af)
g2
- Graphics2D instanceaf
- AffineTransform