Class PieSegment
Namespace:
Assembly: .dll
Syntax
public class PieSegment implements renderableSeries.IPieSegment
Constructors
PieSegment()
Declaration
Fields
fillStyleProperty
Declaration
protected final SmartProperty<BrushStyle> fillStyleProperty
Field Value
isSelectedProperty
Declaration
protected final SmartPropertyBoolean isSelectedProperty
Field Value
pieSegmentPropertyChangeListener
Declaration
protected final renderableSeries.PieSegment.PieSegmentPropertyChangeListener pieSegmentPropertyChangeListener
Field Value
strokeStyleProperty
Declaration
protected final SmartProperty<PenStyle> strokeStyleProperty
Field Value
titleProperty
Declaration
protected final SmartProperty<String> titleProperty
Field Value
titleStyleProperty
Declaration
protected final SmartProperty<FontStyle> titleStyleProperty
Field Value
valueProperty
Declaration
protected final SmartPropertyDouble valueProperty
Field Value
Methods
addChangeListener(renderableSeries.PieSegmentChangeListener listener)
Add the listener which should be invoked if this segment changes
Declaration
public final void addChangeListener(renderableSeries.PieSegmentChangeListener listener)
Parameters
addIsSelectedChangeListener(renderableSeries.PieSegmentChangeListener listener)
Add the listener which should be invoked if this segment becomes selected/unselected
Declaration
public final void addIsSelectedChangeListener(renderableSeries.PieSegmentChangeListener listener)
Parameters
applyThemeProvider(IThemeProvider themeProvider)
Applies specified theme to current instance
Declaration
public void applyThemeProvider(IThemeProvider themeProvider)
Parameters
decrementSuspend()
Declaration
public void decrementSuspend()
getFillStyle()
Gets the fill style of this segment.
Declaration
public final BrushStyle getFillStyle()
Returns
getIsSelected()
Gets whether this segment is selected.
Declaration
public final boolean getIsSelected()
Returns
getIsSuspended()
Declaration
public final boolean getIsSuspended()
Returns
getSelectedSegmentStyle()
Gets the IStyle which is applied when segment is selected
Declaration
public final renderableSeries.IStyle getSelectedSegmentStyle()
Returns
getStrokeStyle()
Gets the stroke style of this segment.
Declaration
public final PenStyle getStrokeStyle()
Returns
getTitle()
Gets the title of this segment.
Declaration
public final String getTitle()
Returns
getTitleStyle()
Gets the font style of the title of this segment.
Declaration
public final FontStyle getTitleStyle()
Returns
getUpdateSuspenderCount()
Declaration
public final AtomicInteger getUpdateSuspenderCount()
Returns
getValue()
Gets the value of this segment.
Declaration
public final double getValue()
Returns
removeChangeListener(renderableSeries.PieSegmentChangeListener listener)
Removes the listener which should invoke if this segment changes
Declaration
public final void removeChangeListener(renderableSeries.PieSegmentChangeListener listener)
Parameters
removeIsSelectedChangeListener(renderableSeries.PieSegmentChangeListener listener)
Removes the listener which should invoke if this segment become selected/unselected
Declaration
public final void removeIsSelectedChangeListener(renderableSeries.PieSegmentChangeListener listener)
Parameters
resumeUpdates(IUpdateSuspender suspender)
Declaration
public void resumeUpdates(IUpdateSuspender suspender)
Parameters
setFillStyle(BrushStyle fillStyle)
Sets the fill style for this segment.
Declaration
public final void setFillStyle(BrushStyle fillStyle)
Parameters
setIsSelected(boolean isSelected)
Sets whether this segment is selected.
Declaration
public final void setIsSelected(boolean isSelected)
Parameters
Type |
Name |
Description |
boolean |
isSelected |
|
setSelectedSegmentStyle(renderableSeries.IStyle selectedSegmentStyle)
Sets the IStyle which is applied when segment is selected
Declaration
public void setSelectedSegmentStyle(renderableSeries.IStyle selectedSegmentStyle)
Parameters
setStrokeStyle(PenStyle strokeStyle)
Sets the stroke style for this segment.
Declaration
public final void setStrokeStyle(PenStyle strokeStyle)
Parameters
Type |
Name |
Description |
PenStyle |
strokeStyle |
|
setTitle(String title)
Sets the title for this segment.
Declaration
public final void setTitle(String title)
Parameters
Type |
Name |
Description |
String |
title |
|
setTitleStyle(FontStyle titleStyle)
Sets the font style for the title of this segment.
Declaration
public final void setTitleStyle(FontStyle titleStyle)
Parameters
setValue(double value)
Sets the value for this segment.
Declaration
public final void setValue(double value)
Parameters
Type |
Name |
Description |
double |
value |
|
suspendUpdates()
Declaration
public final IUpdateSuspender suspendUpdates()
Returns
Implements