org.jplot2d.element
Interface CoordinateAnnotation
-
- All Superinterfaces:
- Annotation, Element, MovableComponent, PComponent, PointAnnotation, SymbolAnnotation, TextComponent
- All Known Subinterfaces:
- CoordinateAnnotationEx
- All Known Implementing Classes:
- CoordinateAnnotationImpl
public interface CoordinateAnnotation extends SymbolAnnotation
A annotation with a symbol and a text string to show the coordinates. The text will automatically update whenever the annotation changes to a new location.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetText()Returns the text string.voidsetText(java.lang.String text)The text cannot be set.-
Methods inherited from interface org.jplot2d.element.SymbolAnnotation
getAngle, getSymbolScale, getSymbolShape, getSymbolSize, getTextOffsetFactorX, getTextOffsetFactorY, setAngle, setSymbolScale, setSymbolShape, setSymbolSize, setTextOffsetFactorX, setTextOffsetFactorY
-
Methods inherited from interface org.jplot2d.element.PointAnnotation
getValuePoint, setValuePoint, setValuePoint
-
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
-
Methods inherited from interface org.jplot2d.element.TextComponent
getHAlign, getVAlign, setHAlign, setVAlign
-
-
-
-
Method Detail
-
getText
java.lang.String getText()
Description copied from interface:TextComponentReturns the text string.- Specified by:
getTextin interfaceTextComponent- Returns:
- a String
-
setText
void setText(java.lang.String text)
The text cannot be set. Setting a text will throw an UnsupportedOperationException.- Specified by:
setTextin interfaceTextComponent
-
-
DMelt 3.0 © DataMelt by jWork.ORG