T
- The modifier to which this behavior will be attached.public class RolloverBehavior<T extends RolloverModifier> extends VerticalSliceBehaviorBase<T>
RolloverModifier
and inheritors.VerticalSliceBehaviorBase.Slice
slices
CURSOR_XY_OFFSET
lastUpdatePoint, modifier, modifierType, parentSurface, services
Constructor and Description |
---|
RolloverBehavior(java.lang.Class<T> modifierType)
Creates a new instance of
RolloverBehavior class |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(com.scichart.core.IServiceContainer services) |
void |
clear()
Clears
ModifierBehavior.lastUpdatePoint x and y to NaN values. |
void |
detach() |
void |
onBeginUpdate(android.graphics.PointF point,
boolean isMaster)
Called when associated
IChartModifier instance handle touch down event. |
void |
onEndUpdate(android.graphics.PointF point,
boolean isMaster)
Called when associated
IChartModifier instance handle touch up event. |
void |
onUpdate(android.graphics.PointF point,
boolean isMaster)
Called when associated
IChartModifier instance handle touch move event. |
applyThemeProvider, isHitPointValid, onObservableSeriesDrasticallyChanged
func, getObservableSeries, getSourceMode, getUseInterpolation, isSeriesValid, setObservableSeries, setSourceMode, setUseInterpolation
attachTo, getIsEnabled, isAttached, isLastPointValid, onIsEnabledChanged, resetLastUpdatePoint, setIsEnabled
public RolloverBehavior(java.lang.Class<T> modifierType)
RolloverBehavior
classmodifierType
- The type of the associated IChartModifier
public void attachTo(@NonNull com.scichart.core.IServiceContainer services)
VerticalSliceBehaviorBase
attachTo
in interface com.scichart.core.framework.IAttachable
attachTo
in class VerticalSliceBehaviorBase<T extends RolloverModifier>
public void detach()
detach
in interface com.scichart.core.framework.IAttachable
detach
in class VerticalSliceBehaviorBase<T extends RolloverModifier>
public void onBeginUpdate(android.graphics.PointF point, boolean isMaster)
IChartModifier
instance handle touch down event.onBeginUpdate
in class VerticalSliceBehaviorBase<T extends RolloverModifier>
point
- The current touch point.isMaster
- Indicates whether this behavior is called on the master chart.public void onUpdate(android.graphics.PointF point, boolean isMaster)
IChartModifier
instance handle touch move event.onUpdate
in class VerticalSliceBehaviorBase<T extends RolloverModifier>
point
- The current touch point.isMaster
- Indicates whether this behavior is called on the master chart.public void onEndUpdate(android.graphics.PointF point, boolean isMaster)
VerticalSliceBehaviorBase
IChartModifier
instance handle touch up event.onEndUpdate
in class VerticalSliceBehaviorBase<T extends RolloverModifier>
point
- The current touch point.isMaster
- Indicates whether this behavior is called on the master chart.public void clear()
VerticalSliceBehaviorBase
ModifierBehavior.lastUpdatePoint
x and y to NaN values.clear
in class VerticalSliceBehaviorBase<T extends RolloverModifier>