public abstract class PieChartMasterSlaveTouchModifierBase extends PieChartTouchModifierBase
Constructor and Description |
---|
PieChartMasterSlaveTouchModifierBase() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
clearAll()
When overridden in a derived class, this method should clear all markers and tooltips from the
SciPieChartSurface.chartModifierSurface . |
protected abstract void |
handleMasterTouchDownEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Master
ChartModifierBase MotionEvent.ACTION_DOWN |
protected abstract void |
handleMasterTouchMoveEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Master
ChartModifierBase MotionEvent.ACTION_MOVE |
protected abstract void |
handleMasterTouchUpEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Master
ChartModifierBase MotionEvent.ACTION_UP |
protected abstract void |
handleSlaveTouchDownEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Slave
ChartModifierBase MotionEvent.ACTION_DOWN |
protected abstract void |
handleSlaveTouchMoveEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Slave
ChartModifierBase MotionEvent.ACTION_MOVE |
protected abstract void |
handleSlaveTouchUpEvent(android.graphics.PointF point)
When overridden in a derived class, called to handle the Slave
ChartModifierBase MotionEvent.ACTION_UP |
protected boolean |
isEnabledAt(android.graphics.PointF point,
boolean isMaster)
When overridden in derived classes, indicates whether touch point is valid for current modifier.
|
protected boolean |
onTouchDown(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
Called when
MotionEvent.ACTION_DOWN event occurs |
protected boolean |
onTouchMove(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
Called when
MotionEvent.ACTION_MOVE event occurs |
protected boolean |
onTouchUp(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
Called when
MotionEvent.ACTION_UP event occurs |
protected void |
updateCurrentPoint(android.graphics.PointF currentPoint,
com.scichart.core.utility.touch.ModifierTouchEventArgs args)
Updates the passed in current point when one of the following methods was called:
MasterSlaveTouchModifierBase.onTouchDown(ModifierTouchEventArgs) ,
MasterSlaveTouchModifierBase.onTouchMove(ModifierTouchEventArgs) ,
MasterSlaveTouchModifierBase.onTouchUp(ModifierTouchEventArgs) . |
onTouch, onTouchCancel
applyThemeProvider, attachTo, detach, getContext, getEventsGroupTag, getIsEnabled, getModifierSurface, getParentSurface, getPointRelativeTo, getReceiveHandledEvents, getRenderableSeries, getServices, isAttached, onGenericMotion, onIsEnabledChanged, onParentPieSurfaceResized, onPieRenderableSeriesCollectionChanged, onPieRenderableSeriesDrasticallyChanged, onPieRenderSurfaceRendered, onSegmentCollectionDrasticallyChanged, onSegmentsCollectionChanged, onSelectedPieSeriesCollectionChanged, onSelectedSegmentsCollectionChanged, setIsEnabled, setReceiveHandledEvents
public PieChartMasterSlaveTouchModifierBase()
protected boolean onTouchDown(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
MotionEvent.ACTION_DOWN
event occursonTouchDown
in class PieChartTouchModifierBase
args
- The touch event args for this eventprotected boolean onTouchUp(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
MotionEvent.ACTION_UP
event occursonTouchUp
in class PieChartTouchModifierBase
args
- The touch event args for this eventprotected boolean onTouchMove(com.scichart.core.utility.touch.ModifierTouchEventArgs args)
MotionEvent.ACTION_MOVE
event occursonTouchMove
in class PieChartTouchModifierBase
args
- The touch event args for this eventprotected boolean isEnabledAt(android.graphics.PointF point, boolean isMaster)
point
- The touch point to check.isMaster
- Indicates whether this check is performed on the master SciPieChartSurface
instance.protected abstract void clearAll()
SciPieChartSurface.chartModifierSurface
.protected void updateCurrentPoint(android.graphics.PointF currentPoint, com.scichart.core.utility.touch.ModifierTouchEventArgs args)
MasterSlaveTouchModifierBase.onTouchDown(ModifierTouchEventArgs)
,
MasterSlaveTouchModifierBase.onTouchMove(ModifierTouchEventArgs)
,
MasterSlaveTouchModifierBase.onTouchUp(ModifierTouchEventArgs)
.currentPoint
- The point which will be updated.args
- The ModifierTouchEventArgs
which is used to update the passed in currentPoint.protected abstract void handleSlaveTouchMoveEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_MOVE
point
- The current touch pointprotected abstract void handleMasterTouchMoveEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_MOVE
point
- The current touch pointprotected abstract void handleSlaveTouchUpEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_UP
point
- The current touch pointprotected abstract void handleMasterTouchUpEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_UP
point
- The current touch pointprotected abstract void handleSlaveTouchDownEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_DOWN
point
- The current touch pointprotected abstract void handleMasterTouchDownEvent(android.graphics.PointF point)
ChartModifierBase
MotionEvent.ACTION_DOWN
point
- The current touch point