public abstract class RenderableSeriesCore extends java.lang.Object implements IRenderableSeriesCore
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.framework.InvalidatableElementCallback |
invalidateElementCallback |
protected com.scichart.core.framework.SmartPropertyBoolean |
isSelectedProperty |
protected com.scichart.core.framework.SmartPropertyBoolean |
isVisibleProperty |
protected com.scichart.core.framework.SmartPropertyFloat |
opacityProperty |
protected com.scichart.core.AttachableServiceContainer |
services |
Modifier | Constructor and Description |
---|---|
protected |
RenderableSeriesCore() |
Modifier and Type | Method and Description |
---|---|
void |
addIsSelectedChangeListener(RenderableSeriesChangeListener listener)
Add the listener which should be invoked if this series becomes selected/unselected
|
void |
addIsVisibleChangeListener(RenderableSeriesChangeListener listener)
Add the listener which should be invoked if this series becomes visible/invisible
|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
decrementSuspend() |
void |
detach() |
boolean |
getIsSelected()
Gets whether this series is selected
|
boolean |
getIsSuspended() |
boolean |
getIsVisible()
Gets whether this series is visible when drawn
|
float |
getOpacity()
Gets the opacity factor applied to
IRenderableSeriesCore the when it is rendered on chart. |
IStyle |
getSelectedSeriesStyle()
Gets the
IStyle which is applied when series is selected |
com.scichart.core.IServiceContainer |
getServices() |
java.util.concurrent.atomic.AtomicInteger |
getUpdateSuspenderCount() |
boolean |
isAttached() |
void |
removeIsSelectedChangeListener(RenderableSeriesChangeListener listener)
Removes the listener which should invoke if this series become selected/unselected
|
void |
removeIsVisibleChangeListener(RenderableSeriesChangeListener listener)
Removes the listener which should invoke if this series become visible/invisible
|
void |
resumeUpdates(com.scichart.core.framework.IUpdateSuspender suspender) |
void |
setIsSelected(boolean isSelected)
Sets whether this series is selected
|
void |
setIsVisible(boolean isVisible)
Sets whether this series is visible when drawn
|
void |
setOpacity(float opacity)
Sets the opacity factor applied to
IRenderableSeriesCore the when it is rendered on chart. |
void |
setSelectedSeriesStyle(IStyle selectedSeriesStyle)
Sets the
IStyle which is applied when series is selected |
com.scichart.core.framework.IUpdateSuspender |
suspendUpdates() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isValidForDrawing, isValidForUpdate
protected final com.scichart.core.framework.InvalidatableElementCallback invalidateElementCallback
protected final com.scichart.core.framework.SmartPropertyFloat opacityProperty
protected final com.scichart.core.framework.SmartPropertyBoolean isVisibleProperty
protected final com.scichart.core.framework.SmartPropertyBoolean isSelectedProperty
protected final com.scichart.core.AttachableServiceContainer services
public final float getOpacity()
IRenderableSeriesCore
IRenderableSeriesCore
the when it is rendered on chart.
Default opacity is 1.0. Expected values are between 0.0 and 1.0.getOpacity
in interface IRenderableSeriesCore
public final void setOpacity(float opacity)
IRenderableSeriesCore
IRenderableSeriesCore
the when it is rendered on chart.
Default opacity is 1.0. Expected values are between 0.0 and 1.0.setOpacity
in interface IRenderableSeriesCore
opacity
- The new opacity factor.public final boolean getIsVisible()
getIsVisible
in interface IRenderableSeriesCore
public final void setIsVisible(boolean isVisible)
setIsVisible
in interface IRenderableSeriesCore
isVisible
- New isVisible valuepublic final boolean getIsSelected()
getIsSelected
in interface IRenderableSeriesCore
public final void setIsSelected(boolean isSelected)
setIsSelected
in interface IRenderableSeriesCore
isSelected
- New isSelected valuepublic final void setSelectedSeriesStyle(IStyle selectedSeriesStyle)
IStyle
which is applied when series is selectedsetSelectedSeriesStyle
in interface IRenderableSeriesCore
selectedSeriesStyle
- The new series selected stylepublic final IStyle getSelectedSeriesStyle()
IStyle
which is applied when series is selectedgetSelectedSeriesStyle
in interface IRenderableSeriesCore
public final boolean getIsSuspended()
getIsSuspended
in interface com.scichart.core.framework.ISuspendable
public final com.scichart.core.framework.IUpdateSuspender suspendUpdates()
suspendUpdates
in interface com.scichart.core.framework.ISuspendable
public void resumeUpdates(com.scichart.core.framework.IUpdateSuspender suspender)
resumeUpdates
in interface com.scichart.core.framework.ISuspendable
public void decrementSuspend()
decrementSuspend
in interface com.scichart.core.framework.ISuspendable
public final java.util.concurrent.atomic.AtomicInteger getUpdateSuspenderCount()
getUpdateSuspenderCount
in interface com.scichart.core.framework.ISuspendable
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
public final boolean isAttached()
isAttached
in interface com.scichart.core.framework.IAttachable
public final com.scichart.core.IServiceContainer getServices()
getServices
in interface com.scichart.core.IServiceProvider
public final void addIsVisibleChangeListener(RenderableSeriesChangeListener listener)
addIsVisibleChangeListener
in interface IRenderableSeriesCore
listener
- The listener to addpublic final void removeIsVisibleChangeListener(RenderableSeriesChangeListener listener)
removeIsVisibleChangeListener
in interface IRenderableSeriesCore
listener
- The listener to removepublic final void addIsSelectedChangeListener(RenderableSeriesChangeListener listener)
addIsSelectedChangeListener
in interface IRenderableSeriesCore
listener
- The listener to addpublic final void removeIsSelectedChangeListener(RenderableSeriesChangeListener listener)
removeIsSelectedChangeListener
in interface IRenderableSeriesCore
listener
- The listener to remove