public interface IPieSegment extends IThemeable
PieSegment
.Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(PieSegmentChangeListener listener)
Add the listener which should be invoked if this segment changes
|
void |
addIsSelectedChangeListener(PieSegmentChangeListener listener)
Add the listener which should be invoked if this segment becomes selected/unselected
|
com.scichart.drawing.common.BrushStyle |
getFillStyle()
Gets the fill style of this segment.
|
boolean |
getIsSelected()
Gets whether this segment is selected.
|
IStyle |
getSelectedSegmentStyle()
Gets the
IStyle which is applied when segment is selected |
com.scichart.drawing.common.PenStyle |
getStrokeStyle()
Gets the stroke style of this segment.
|
java.lang.String |
getTitle()
Gets the title of this segment.
|
com.scichart.drawing.common.FontStyle |
getTitleStyle()
Gets the font style of the title of this segment.
|
double |
getValue()
Gets the value of this segment.
|
void |
removeChangeListener(PieSegmentChangeListener listener)
Removes the listener which should invoke if this segment changes
|
void |
removeIsSelectedChangeListener(PieSegmentChangeListener listener)
Removes the listener which should invoke if this segment become selected/unselected
|
void |
setFillStyle(com.scichart.drawing.common.BrushStyle fillStyle)
Sets the fill style for this segment.
|
void |
setIsSelected(boolean isSelected)
Sets whether this segment is selected.
|
void |
setSelectedSegmentStyle(IStyle selectedSegmentStyle)
Sets the
IStyle which is applied when segment is selected |
void |
setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
Sets the stroke style for this segment.
|
void |
setTitle(java.lang.String title)
Sets the title for this segment.
|
void |
setTitleStyle(com.scichart.drawing.common.FontStyle titleStyle)
Sets the font style for the title of this segment.
|
void |
setValue(double value)
Sets the value for this segment.
|
applyThemeProvider
double getValue()
void setValue(double value)
value
- New value.boolean getIsSelected()
void setIsSelected(boolean isSelected)
isSelected
- New isSelected valuejava.lang.String getTitle()
void setTitle(java.lang.String title)
title
- New title.com.scichart.drawing.common.PenStyle getStrokeStyle()
void setStrokeStyle(com.scichart.drawing.common.PenStyle strokeStyle)
strokeStyle
- New stroke style.com.scichart.drawing.common.BrushStyle getFillStyle()
void setFillStyle(com.scichart.drawing.common.BrushStyle fillStyle)
fillStyle
- New fill style.com.scichart.drawing.common.FontStyle getTitleStyle()
void setTitleStyle(com.scichart.drawing.common.FontStyle titleStyle)
titleStyle
- New font style for the title.IStyle getSelectedSegmentStyle()
IStyle
which is applied when segment is selectedvoid setSelectedSegmentStyle(IStyle selectedSegmentStyle)
IStyle
which is applied when segment is selectedselectedSegmentStyle
- The new segment selected stylevoid addIsSelectedChangeListener(PieSegmentChangeListener listener)
listener
- The listener to addvoid removeIsSelectedChangeListener(PieSegmentChangeListener listener)
listener
- The listener to removevoid addChangeListener(PieSegmentChangeListener listener)
listener
- The listener to addvoid removeChangeListener(PieSegmentChangeListener listener)
listener
- The listener to remove