org.jplot2d.element.impl
Class AnnotationImpl
- java.lang.Object
-
- org.jplot2d.element.impl.ElementImpl
-
- org.jplot2d.element.impl.ComponentImpl
-
- org.jplot2d.element.impl.AnnotationImpl
-
- All Implemented Interfaces:
- Annotation, Element, AnnotationEx, ComponentEx, ElementEx, MovableComponent, PComponent
- Direct Known Subclasses:
- HLineAnnotationImpl, HStripAnnotationImpl, PointAnnotationImpl, RectangleAnnotationImpl, VLineAnnotationImpl, VStripAnnotationImpl
public abstract class AnnotationImpl extends ComponentImpl implements AnnotationEx
-
-
Constructor Summary
Constructors Constructor and Description AnnotationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description InvokeStepgetInvokeStepFormParent()Return the invoke step to get this object from its parent.LayerExgetParent()Gets the parent of this component.voidsetLocation(java.awt.geom.Point2D p)Moves this component to a new location.voidthisEffectiveColorChanged()Called when setColor() or parentEffectiveColorChanged() change the effective color of this component.voidthisEffectiveFontChanged()Called when setFontXxx() or parentEffectiveFontChanged() change the effective font of this component.-
Methods inherited from class org.jplot2d.element.impl.ComponentImpl
addPropertyChangeListener, canContribute, copyFrom, copyStructure, getBounds, getColor, getEffectiveColor, getEffectiveFont, getEffectiveFontName, getEffectiveFontSize, getEffectiveFontStyle, getFontName, getFontScale, getFontSize, getFontStyle, getMooringMap, getPaperTransform, getSelectableBounds, getZOrder, isCacheable, isMovable, isRedrawNeeded, isSelectable, isVisible, parentEffectiveColorChanged, parentEffectiveFontChanged, removePropertyChangeListener, setCacheable, setColor, setFont, setFontName, setFontScale, setFontSize, setFontStyle, setMovable, setRedrawNeeded, setSelectable, setVisible, setZOrder
-
Methods inherited from class org.jplot2d.element.impl.ElementImpl
getEnvironment, getFullId, notify, setParent, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jplot2d.element.Annotation
isMovable, setMovable
-
Methods inherited from interface org.jplot2d.element.MovableComponent
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.impl.ComponentEx
canContribute, copyStructure, draw, getEffectiveColor, getEffectiveFontName, getEffectiveFontSize, getEffectiveFontStyle, getMooringMap, isMovable, isRedrawNeeded, parentEffectiveColorChanged, parentEffectiveFontChanged, setMovable, setRedrawNeeded
-
-
-
-
Method Detail
-
getInvokeStepFormParent
public InvokeStep getInvokeStepFormParent()
Description copied from interface:ElementExReturn the invoke step to get this object from its parent.- Specified by:
getInvokeStepFormParentin interfaceElementEx- Returns:
- the invoke step
-
getParent
public LayerEx getParent()
Description copied from interface:ElementGets the parent of this component.- Specified by:
getParentin interfaceAnnotation- Specified by:
getParentin interfaceElement- Specified by:
getParentin interfaceAnnotationEx- Specified by:
getParentin interfaceComponentEx- Specified by:
getParentin interfaceElementEx- Specified by:
getParentin interfacePComponent- Overrides:
getParentin classComponentImpl- Returns:
- the parent of this component
-
thisEffectiveColorChanged
public void thisEffectiveColorChanged()
Description copied from interface:ComponentExCalled when setColor() or parentEffectiveColorChanged() change the effective color of this component.- Specified by:
thisEffectiveColorChangedin interfaceComponentEx
-
thisEffectiveFontChanged
public void thisEffectiveFontChanged()
Description copied from interface:ComponentExCalled when setFontXxx() or parentEffectiveFontChanged() change the effective font of this component.- Specified by:
thisEffectiveFontChangedin interfaceComponentEx
-
setLocation
public final void setLocation(java.awt.geom.Point2D p)
Description copied from interface:MovableComponentMoves this component to a new location. The location is specified by point in the parent's paper coordinate space.- Specified by:
setLocationin interfaceMovableComponent- Parameters:
p- the base point given in the paper coordinate space
-
-
DMelt 3.0 © DataMelt by jWork.ORG