T
- The type of parent renderable seriespublic class PieSeriesInfo<T extends IPieRenderableSeries> extends java.lang.Object implements IPieHitTestInfoUpdatable
PieHitTestInfo
valuesModifier and Type | Field and Description |
---|---|
boolean |
isHit
The value indicating whether the HitTest operation was a hit or not
|
T |
renderableSeries
The parent renderable series
|
int |
segmentColor
The color of the renderable series associated with this series info
|
int |
segmentIndex
The SegmentIndex at the hit-test site
|
java.lang.String |
segmentTitle
The name of the
IPieSegment associated with this series info |
java.lang.Comparable<?> |
segmentValue
The value of the
IPieSegment associated with this series info |
android.graphics.PointF |
xyCoordinate
A point snapped to the X-Y value of the series.
|
Constructor and Description |
---|
PieSeriesInfo(T renderableSeries)
Creates a new instance of
PieSeriesInfo class |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
IPieRenderableSeries |
getRenderableSeries()
Gets the parent renderable series
|
boolean |
isVisible()
Gets the value indicating whehter the parent renderable series is visible or not
|
void |
update()
Updates this series info with the latest values from renderable series
|
void |
update(PieHitTestInfo hitTestInfo)
Updates this instance with information provided by
pieHitTestInfo instance |
public final T extends IPieRenderableSeries renderableSeries
public final android.graphics.PointF xyCoordinate
public int segmentColor
public java.lang.String segmentTitle
IPieSegment
associated with this series infopublic java.lang.Comparable<?> segmentValue
IPieSegment
associated with this series infopublic int segmentIndex
public boolean isHit
public PieSeriesInfo(T renderableSeries)
PieSeriesInfo
classrenderableSeries
- The parent renderable seriespublic final boolean isVisible()
public void update()
public void update(PieHitTestInfo hitTestInfo)
pieHitTestInfo
instanceupdate
in interface IPieHitTestInfoUpdatable
hitTestInfo
- The results of hit testpublic final IPieRenderableSeries getRenderableSeries()
getRenderableSeries
in interface IPieHitTestInfoUpdatable
public void clear()
clear
in interface com.scichart.core.framework.ICleanable