Class ChartModifierCore
Defines a base class for ChartModifier API used throughout SciChart
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class ChartModifierCore extends ReceiveMotionEventsBase implements IChartModifierCore
Constructors
ChartModifierCore()
Creates new instance of ChartModifierCore class
Declaration
protected ChartModifierCore()
Fields
services
Declaration
protected final AttachableServiceContainer services
Field Value
| Type | Description |
|---|---|
| AttachableServiceContainer |
Methods
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IThemeProvider | themeProvider |
attachTo(IServiceContainer services)
Declaration
public void attachTo(IServiceContainer services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceContainer | services |
checkPointerCounter(MotionEvent e, int pointerCount)
Checks whether specified MotionEvent satisfies pointer count requirement
Declaration
protected static boolean checkPointerCounter(MotionEvent e, int pointerCount)
Parameters
| Type | Name | Description |
|---|---|---|
| android.view.MotionEvent | e | The MotionEvent to check |
| int | pointerCount | The target pointer counter |
Returns
| Type | Description |
|---|---|
| boolean | True if event satisfies pointer count constraint |
detach()
Declaration
public void detach()
getEventsGroupTag()
Gets a string ID used for propagating motion events from the master chart.
Declaration
public String getEventsGroupTag()
Returns
| Type | Description |
|---|---|
| String |
getIsEnabled()
Get whether the modifier is enabled for interaction
Declaration
public final boolean getIsEnabled()
Returns
| Type | Description |
|---|---|
| boolean |
getReceiveHandledEvents()
Declaration
public final boolean getReceiveHandledEvents()
Returns
| Type | Description |
|---|---|
| boolean |
getServices()
Declaration
public final IServiceContainer getServices()
Returns
| Type | Description |
|---|---|
| IServiceContainer |
isAttached()
Declaration
public final boolean isAttached()
Returns
| Type | Description |
|---|---|
| boolean |
onGenericMotion(ModifierTouchEventArgs args)
Declaration
public void onGenericMotion(ModifierTouchEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| ModifierTouchEventArgs | args |
onIsEnabledChanged(boolean isEnabled)
Called when isEnabled value has changed
Declaration
protected void onIsEnabledChanged(boolean isEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | isEnabled | The new isEnabled value |
onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Called when RenderableSeries changes
Declaration
public void onRenderableSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionChangedEventArgs<? extends com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore> | args |
onRenderableSeriesDrasticallyChanged()
Called when RenderableSeries collection drastically changed
Declaration
public void onRenderableSeriesDrasticallyChanged()
onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Called when SelectedSeries collection changes
Declaration
public void onSelectedSeriesCollectionChanged(CollectionChangedEventArgs<? extends renderableSeries.IRenderableSeriesCore> args)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionChangedEventArgs<? extends com.scichart.charting.visuals.renderableSeries.IRenderableSeriesCore> | args |
onTouch(ModifierTouchEventArgs args)
Declaration
public void onTouch(ModifierTouchEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| ModifierTouchEventArgs | args |
setEventsGroupTag(String eventsGroupTag)
Sets a string ID used for propagating motion events from the master chart.
Declaration
public void setEventsGroupTag(String eventsGroupTag)
Parameters
| Type | Name | Description |
|---|---|---|
| String | eventsGroupTag | New tag of the event group. |
setIsEnabled(boolean isEnabled)
Sets whether the modifier is enabled for interaction
Declaration
public final void setIsEnabled(boolean isEnabled)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | isEnabled |
setReceiveHandledEvents(boolean receiveHandledEvents)
Sets a value indicating whether motion events should be propagated to the target.
Declaration
public final void setReceiveHandledEvents(boolean receiveHandledEvents)
Parameters
| Type | Name | Description |
|---|---|---|
| boolean | receiveHandledEvents | The new receiveHandledEvents. True if motion events should be propagated to the target. |