org.jplot2d.element.impl
Interface LayerEx
-
- All Superinterfaces:
- ComponentEx, ContainerEx, Element, ElementEx, Layer, PComponent
- All Known Implementing Classes:
- LayerImpl
public interface LayerEx extends Layer, ContainerEx
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description AnnotationEx[]getAnnotations()Returns all the annotations in this layer.GraphEx[]getGraphs()Returns all graph of this layer.PlotExgetParent()Gets the parent of this component.java.lang.StringgetShortId()Returns the short id of this layer.AxisTransformExgetXAxisTransform()Returns the X axis to this layer attaching.AxisTransformExgetYAxisTransform()Returns the Y axis to this layer attaching.intindexOf(AnnotationEx annotation)intindexOf(GraphEx graph)voidlinkXAxisTransform(AxisTransformEx axt)voidlinkYAxisTransform(AxisTransformEx axt)voidtransformChanged()Called byAxisTransformExto notify that x/y transform is changed.-
Methods inherited from interface org.jplot2d.element.Layer
addAnnotation, addGraph, getAnnotation, getGraph, removeAnnotation, removeGraph, setAxesTransform, setXAxisTransform, setYAxisTransform
-
Methods inherited from interface org.jplot2d.element.impl.ContainerEx
getComponents
-
Methods inherited from interface org.jplot2d.element.impl.ComponentEx
canContribute, copyStructure, draw, getEffectiveColor, getEffectiveFontName, getEffectiveFontSize, getEffectiveFontStyle, getMooringMap, isMovable, isRedrawNeeded, parentEffectiveColorChanged, parentEffectiveFontChanged, setMovable, setRedrawNeeded, thisEffectiveColorChanged, thisEffectiveFontChanged
-
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.impl.ElementEx
copyFrom, getFullId, getInvokeStepFormParent, notify, setParent
-
Methods inherited from interface org.jplot2d.element.Element
getEnvironment, getId
-
-
-
-
Method Detail
-
getParent
PlotEx getParent()
Description copied from interface:PComponentGets the parent of this component.- Specified by:
getParentin interfaceComponentEx- Specified by:
getParentin interfaceElement- Specified by:
getParentin interfaceElementEx- Specified by:
getParentin interfaceLayer- Specified by:
getParentin interfacePComponent- Returns:
- the parent of this component
-
getShortId
java.lang.String getShortId()
Returns the short id of this layer. The short 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 but not include the root plot.- Returns:
- the short id of this layer.
-
getXAxisTransform
AxisTransformEx getXAxisTransform()
Description copied from interface:LayerReturns the X axis to this layer attaching.- Specified by:
getXAxisTransformin interfaceLayer- Returns:
-
getYAxisTransform
AxisTransformEx getYAxisTransform()
Description copied from interface:LayerReturns the Y axis to this layer attaching.- Specified by:
getYAxisTransformin interfaceLayer- Returns:
-
getGraphs
GraphEx[] getGraphs()
Description copied from interface:LayerReturns all graph of this layer.
-
indexOf
int indexOf(GraphEx graph)
-
getAnnotations
AnnotationEx[] getAnnotations()
Description copied from interface:LayerReturns all the annotations in this layer.- Specified by:
getAnnotationsin interfaceLayer- Returns:
- all annotations in an array
-
indexOf
int indexOf(AnnotationEx annotation)
-
transformChanged
void transformChanged()
Called byAxisTransformExto notify that x/y transform is changed.
-
linkXAxisTransform
void linkXAxisTransform(AxisTransformEx axt)
-
linkYAxisTransform
void linkYAxisTransform(AxisTransformEx axt)
-
-
DMelt 3.0 © DataMelt by jWork.ORG