public abstract class ChartModifierCore extends com.scichart.core.utility.touch.ReceiveMotionEventsBase implements IChartModifierCore
Modifier and Type | Field and Description |
---|---|
protected com.scichart.core.AttachableServiceContainer |
services |
Modifier | Constructor and Description |
---|---|
protected |
ChartModifierCore()
Creates new instance of
ChartModifierCore class |
Modifier and Type | Method and Description |
---|---|
void |
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
|
void |
attachTo(com.scichart.core.IServiceContainer services) |
protected static boolean |
checkPointerCounter(android.view.MotionEvent e,
int pointerCount)
Checks whether specified
MotionEvent satisfies pointer count requirement |
void |
detach() |
java.lang.String |
getEventsGroupTag()
Gets a string ID used for propagating motion events from the master chart.
|
boolean |
getIsEnabled()
Get whether the modifier is enabled for interaction
|
boolean |
getReceiveHandledEvents() |
com.scichart.core.IServiceContainer |
getServices() |
boolean |
isAttached() |
void |
onGenericMotion(com.scichart.core.utility.touch.ModifierTouchEventArgs args) |
protected void |
onIsEnabledChanged(boolean isEnabled)
Called when isEnabled value has changed
|
void |
onRenderableSeriesCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<? extends IRenderableSeriesCore> args)
Called when RenderableSeries changes
|
void |
onRenderableSeriesDrasticallyChanged()
Called when RenderableSeries collection drastically changed
|
void |
onSelectedSeriesCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<? extends IRenderableSeriesCore> args)
Called when SelectedSeries collection changes
|
void |
onTouch(com.scichart.core.utility.touch.ModifierTouchEventArgs args) |
void |
setEventsGroupTag(java.lang.String eventsGroupTag)
Sets a string ID used for propagating motion events from the master chart.
|
void |
setIsEnabled(boolean isEnabled)
Sets whether the modifier is enabled for interaction
|
void |
setReceiveHandledEvents(boolean receiveHandledEvents)
Sets a value indicating whether motion events should be propagated to the target.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModifierSurface
protected ChartModifierCore()
ChartModifierCore
classpublic final com.scichart.core.IServiceContainer getServices()
getServices
in interface com.scichart.core.IServiceProvider
public final boolean getReceiveHandledEvents()
getReceiveHandledEvents
in interface com.scichart.core.utility.touch.IReceiveMotionEvents
public final void setReceiveHandledEvents(boolean receiveHandledEvents)
receiveHandledEvents
- The new receiveHandledEvents. True if motion events should be propagated to the target.public java.lang.String getEventsGroupTag()
getEventsGroupTag
in interface IChartModifierCore
public void setEventsGroupTag(java.lang.String eventsGroupTag)
eventsGroupTag
- New tag of the event group.public final boolean getIsEnabled()
getIsEnabled
in interface IChartModifierCore
getIsEnabled
in interface com.scichart.core.utility.touch.IReceiveMotionEvents
public final void setIsEnabled(boolean isEnabled)
setIsEnabled
in interface IChartModifierCore
isEnabled
- The new isEnabled valueprotected void onIsEnabledChanged(boolean isEnabled)
isEnabled
- The new isEnabled valuepublic 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 void applyThemeProvider(IThemeProvider themeProvider)
applyThemeProvider
in interface IThemeable
themeProvider
- The IThemeProvider
instance which provides new theme for current instancepublic void onTouch(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
onTouch
in interface com.scichart.core.utility.touch.IReceiveMotionEvents
public void onGenericMotion(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
onGenericMotion
in interface com.scichart.core.utility.touch.IReceiveMotionEvents
public void onRenderableSeriesDrasticallyChanged()
onRenderableSeriesDrasticallyChanged
in interface IRenderableSeriesChangeListener
public void onRenderableSeriesCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<? extends IRenderableSeriesCore> args)
onRenderableSeriesCollectionChanged
in interface IRenderableSeriesChangeListener
args
- The collection changed event argspublic void onSelectedSeriesCollectionChanged(com.scichart.core.observable.CollectionChangedEventArgs<? extends IRenderableSeriesCore> args)
onSelectedSeriesCollectionChanged
in interface IRenderableSeriesChangeListener
args
- The collection changed event argsprotected static boolean checkPointerCounter(android.view.MotionEvent e, int pointerCount)
MotionEvent
satisfies pointer count requiremente
- The MotionEvent
to checkpointerCount
- The target pointer counter