org.jplot2d.element
Interface StripAnnotation
-
- All Superinterfaces:
- Annotation, Element, MovableComponent, PComponent
- All Known Subinterfaces:
- HStripAnnotation, HStripAnnotationEx, VStripAnnotation, VStripAnnotationEx
- All Known Implementing Classes:
- HStripAnnotationImpl, VStripAnnotationImpl
public interface StripAnnotation extends Annotation
A strip annotation to highlight a range.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.awt.PaintgetFillPaint()Returns thePaintto be used to fill the annotation strip.RangegetValueRange()Returns the value range of this annotationvoidsetFillPaint(java.awt.Paint stroke)Sets thePaintto be used to fill the annotation strip.voidsetValueRange(Range range)Sets the value range 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
-
getValueRange
Range getValueRange()
Returns the value range of this annotation- Returns:
- the value range of this annotation
-
setValueRange
void setValueRange(Range range)
Sets the value range of this annotation- Parameters:
range- the value range of this annotation
-
getFillPaint
java.awt.Paint getFillPaint()
Returns thePaintto be used to fill the annotation strip.- Returns:
- the
Paint
-
setFillPaint
void setFillPaint(java.awt.Paint stroke)
Sets thePaintto be used to fill the annotation strip. The default paint is semi-transparent grey.- Parameters:
stroke- thePaintto be used to fill the annotation strip
-
-
DMelt 3.0 © DataMelt by jWork.ORG