org.jplot2d.element.impl
Class ElementImpl
- java.lang.Object
-
- org.jplot2d.element.impl.ElementImpl
-
- Direct Known Subclasses:
- AxisRangeLockGroupImpl, AxisTickManagerImpl, AxisTitleImpl, AxisTransformImpl, ComponentImpl, ImageBandTransformImpl, ImageMappingImpl, LegendItemImpl, PlotMarginImpl, RGBImageMappingImpl
public abstract class ElementImpl extends java.lang.Object implements ElementEx
-
-
Constructor Summary
Constructors Constructor and Description ElementImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcopyFrom(ElementEx src)Copies all properties from given src to this element.ElementExcopyStructure(java.util.Map<ElementEx,ElementEx> orig2copyMap)Create a structural copy of this element and put them into orig2copyMap.EnvironmentgetEnvironment()java.lang.StringgetFullId()Returns the full id of this component.ElementExgetParent()Gets the parent of this component.voidnotify(Notice msg)Element call this method to notify message to its parent.voidsetParent(ElementEx parent)Sets the parent of this componentjava.lang.StringtoString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jplot2d.element.impl.ElementEx
getInvokeStepFormParent
-
-
-
-
Method Detail
-
getEnvironment
public final Environment getEnvironment()
- Specified by:
getEnvironmentin interfaceElement
-
getParent
public ElementEx getParent()
Description copied from interface:ElementGets the parent of this component.
-
setParent
public void setParent(ElementEx parent)
Description copied from interface:ElementExSets the parent of this component
-
getFullId
public java.lang.String getFullId()
Description copied from interface:ElementExReturns the full id of this component. The full id is composed of series of ids concatenated with dots. The 1st id is the id of this element, the 2nd id is the id of the parent of this element, etc, until the root plot.
-
notify
public void notify(Notice msg)
Description copied from interface:ElementExElement call this method to notify message to its parent.
-
copyStructure
public ElementEx copyStructure(java.util.Map<ElementEx,ElementEx> orig2copyMap)
Description copied from interface:ElementExCreate a structural copy of this element and put them into orig2copyMap. All properties are not copied. The parent of the copy are not set by this method.- Specified by:
copyStructurein interfaceElementEx- Parameters:
orig2copyMap- original element to copy map- Returns:
- the structural copy of this element
-
copyFrom
public void copyFrom(ElementEx src)
Description copied from interface:ElementExCopies all properties from given src to this element. Notice properties of sub-elements are not copied over.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG