org.jplot2d.element.impl
Class GraphImpl
- java.lang.Object
-
- org.jplot2d.element.impl.ElementImpl
-
- org.jplot2d.element.impl.ComponentImpl
-
- org.jplot2d.element.impl.GraphImpl
-
- All Implemented Interfaces:
- Element, Graph, ComponentEx, ElementEx, GraphEx, PComponent
- Direct Known Subclasses:
- ImageGraphImpl, RGBImageGraphImpl, XYGraphImpl
public abstract class GraphImpl extends ComponentImpl implements GraphEx
-
-
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.java.awt.geom.Point2DgetLocation()Returns the location of this component.LayerExgetParent()Gets the parent of this component.java.awt.geom.Dimension2DgetSize()Returns the paper size of this component.voidsetLocation(double locX, double locY)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.impl.ComponentEx
canContribute, copyStructure, draw, getEffectiveColor, getEffectiveFontName, getEffectiveFontSize, getEffectiveFontStyle, getMooringMap, isMovable, isRedrawNeeded, parentEffectiveColorChanged, parentEffectiveFontChanged, setMovable, setRedrawNeeded, thisEffectiveColorChanged
-
Methods inherited from interface org.jplot2d.element.PComponent
getBounds, getColor, getEffectiveFont, getFontName, getFontScale, getFontSize, getFontStyle, getPaperTransform, getSelectableBounds, getZOrder, isCacheable, isSelectable, isVisible, setCacheable, setColor, setFont, setFontName, setFontScale, setFontSize, setFontStyle, setSelectable, setVisible, setZOrder
-
Methods inherited from interface org.jplot2d.element.impl.ElementEx
copyFrom, getFullId, notify, setParent
-
Methods inherited from interface org.jplot2d.element.Element
getEnvironment, getId
-
-
-
-
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 interfaceElement- Specified by:
getParentin interfaceGraph- Specified by:
getParentin interfaceComponentEx- Specified by:
getParentin interfaceElementEx- Specified by:
getParentin interfaceGraphEx- Specified by:
getParentin interfacePComponent- Overrides:
getParentin classComponentImpl- Returns:
- the parent of this component
-
getLocation
public java.awt.geom.Point2D getLocation()
Description copied from interface:PComponentReturns the location of this component.- Specified by:
getLocationin interfacePComponent- Returns:
- the base point in its parent's paper coordinate space
-
setLocation
public void setLocation(double locX, double locY)
-
getSize
public java.awt.geom.Dimension2D getSize()
Description copied from interface:PComponentReturns the paper size of this component.- Specified by:
getSizein interfacePComponent- Returns:
-
thisEffectiveFontChanged
public void thisEffectiveFontChanged()
Description copied from interface:ComponentExCalled when setFontXxx() or parentEffectiveFontChanged() change the effective font of this component.- Specified by:
thisEffectiveFontChangedin interfaceComponentEx
-
-
DMelt 3.0 © DataMelt by jWork.ORG