public abstract class LayoutManagerBase extends java.lang.Object implements ILayoutManager
Modifier and Type | Field and Description |
---|---|
protected ISciChartSurface |
parentSurface |
protected com.scichart.core.IServiceContainer |
services |
Constructor and Description |
---|
LayoutManagerBase() |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
detach() |
boolean |
isAttached() |
protected void |
layoutChartCenter(int left,
int top,
int right,
int bottom)
Layout center parts of charts such as
IRenderableSeriesArea , IAnnotationSurface and IChartModifierSurface |
protected void |
notifyOnAxisAlignmentChanged(IAxis axis,
AxisAlignment oldValue,
AxisAlignment newValue)
Notify all annotations which are attached to
axis about changing of axis alignment |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attachAxis, detachAxis, onAxisPlacementChanged, onLayoutChart
protected com.scichart.core.IServiceContainer services
protected ISciChartSurface parentSurface
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable
public void attachTo(com.scichart.core.IServiceContainer services)
attachTo
in interface com.scichart.core.framework.IAttachable
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
protected final void notifyOnAxisAlignmentChanged(IAxis axis, AxisAlignment oldValue, AxisAlignment newValue)
axis
about changing of axis alignmentaxis
- axis which has been changedoldValue
- old axis alignmentnewValue
- new axis alignmentprotected final void layoutChartCenter(int left, int top, int right, int bottom)
IRenderableSeriesArea
, IAnnotationSurface
and IChartModifierSurface
left
- left position of area relative to parent SciChartSurface
top
- top position of area relative to parent SciChartSurface
right
- right position of area relative to parent SciChartSurface
bottom
- bottom position of area relative to parent SciChartSurface