org.jplot2d.element
Interface LineAnnotation
-
- All Superinterfaces:
- Annotation, Element, MovableComponent, PComponent
- All Known Subinterfaces:
- HLineAnnotation, HLineAnnotationEx, VLineAnnotation, VLineAnnotationEx
- All Known Implementing Classes:
- HLineAnnotationImpl, VLineAnnotationImpl
public interface LineAnnotation extends Annotation
A line annotation to highlight a value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.awt.BasicStrokegetStroke()Returns theBasicStroketo be used to draw the annotation line.doublegetValue()Returns the value of this annotationvoidsetStroke(java.awt.BasicStroke stroke)Sets theBasicStroketo be used to draw the annotation line.voidsetValue(double value)Sets the value of this annotation-
Methods inherited from interface org.jplot2d.element.Annotation
getParent, isMovable, setMovable
-
Methods inherited from interface org.jplot2d.element.MovableComponent
setLocation, setLocation
-
Methods inherited from interface org.jplot2d.element.PComponent
getBounds, getColor, getEffectiveFont, getFontName, getFontScale, getFontSize, getFontStyle, getLocation, getPaperTransform, getSelectableBounds, getSize, getZOrder, isCacheable, isSelectable, isVisible, setCacheable, setColor, setFont, setFontName, setFontScale, setFontSize, setFontStyle, setSelectable, setVisible, setZOrder
-
Methods inherited from interface org.jplot2d.element.Element
getEnvironment, getId
-
-
-
-
Method Detail
-
getValue
double getValue()
Returns the value of this annotation- Returns:
- the value of this annotation
-
setValue
void setValue(double value)
Sets the value of this annotation- Parameters:
value- the value of this annotation
-
getStroke
java.awt.BasicStroke getStroke()
Returns theBasicStroketo be used to draw the annotation line.- Returns:
- the
BasicStroke
-
setStroke
void setStroke(java.awt.BasicStroke stroke)
Sets theBasicStroketo be used to draw the annotation line.- Parameters:
stroke- theBasicStroketo be used to draw the annotation line
-
-
DMelt 3.0 © DataMelt by jWork.ORG