org.jplot2d.element
Interface PointAnnotation
-
- All Superinterfaces:
- Annotation, Element, MovableComponent, PComponent
- All Known Subinterfaces:
- CoordinateAnnotation, CoordinateAnnotationEx, PointAnnotationEx, SymbolAnnotation, SymbolAnnotationEx
- All Known Implementing Classes:
- CoordinateAnnotationImpl, PointAnnotationImpl, SymbolAnnotationImpl
public interface PointAnnotation extends Annotation
A annotation which can highlight a point.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.awt.geom.Point2DgetValuePoint()returns the x,y values location in layer's world coordinate system.voidsetValuePoint(double x, double y)Sets the x,y values location in layer's world coordinate systemvoidsetValuePoint(java.awt.geom.Point2D point)Sets the x,y values location in layer's world coordinate system-
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
-
getValuePoint
java.awt.geom.Point2D getValuePoint()
returns the x,y values location in layer's world coordinate system.- Returns:
- the x,y values location
-
setValuePoint
void setValuePoint(java.awt.geom.Point2D point)
Sets the x,y values location in layer's world coordinate system- Parameters:
point- the x,y values location
-
setValuePoint
void setValuePoint(double x, double y)Sets the x,y values location in layer's world coordinate system- Parameters:
x- the x-values of the new locationy- the y-values of the new location
-
-
DMelt 3.0 © DataMelt by jWork.ORG