org.jplot2d.element
Interface RectangleAnnotation
-
- All Superinterfaces:
- Annotation, Element, MovableComponent, PComponent
- All Known Subinterfaces:
- RectangleAnnotationEx
- All Known Implementing Classes:
- RectangleAnnotationImpl
public interface RectangleAnnotation extends Annotation
A rectangle annotation to highlight an area defined by horizontal and vertical ranges.
-
-
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.RangegetXValueRange()Returns the x value range of this annotationRangegetYValueRange()Returns the y value range of this annotationvoidsetFillPaint(java.awt.Paint stroke)Sets thePaintto be used to fill the annotation strip.voidsetXValueRange(Range range)Sets the x value range of this annotationvoidsetYValueRange(Range range)Sets the y 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
-
getXValueRange
Range getXValueRange()
Returns the x value range of this annotation- Returns:
- the x value range of this annotation
-
setXValueRange
void setXValueRange(Range range)
Sets the x value range of this annotation- Parameters:
range- the x value range of this annotation
-
getYValueRange
Range getYValueRange()
Returns the y value range of this annotation- Returns:
- the y value range of this annotation
-
setYValueRange
void setYValueRange(Range range)
Sets the y value range of this annotation- Parameters:
range- the y 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