Search Results for

    Show / Hide Table of Contents

    Class PieSegment

    Defines the class for segments in IPieRenderableSeries See Also: PieRenderableSeries, DonutRenderableSeries

    Inheritance
    java.lang.Object
    PieSegment
    Implements
    renderableSeries.IPieSegment
    Inherited Members
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    public class PieSegment implements renderableSeries.IPieSegment

    Constructors

    PieSegment()

    Creates a new instance of PieSegment class.

    Declaration
    public PieSegment()

    Fields

    fillStyleProperty

    Declaration
    protected final SmartProperty<BrushStyle> fillStyleProperty
    Field Value
    Type Description
    SmartProperty<BrushStyle>

    isSelectedProperty

    Declaration
    protected final SmartPropertyBoolean isSelectedProperty
    Field Value
    Type Description
    SmartPropertyBoolean

    pieSegmentPropertyChangeListener

    Declaration
    protected final renderableSeries.PieSegment.PieSegmentPropertyChangeListener pieSegmentPropertyChangeListener
    Field Value
    Type Description
    renderableSeries.PieSegment.PieSegmentPropertyChangeListener

    strokeStyleProperty

    Declaration
    protected final SmartProperty<PenStyle> strokeStyleProperty
    Field Value
    Type Description
    SmartProperty<PenStyle>

    titleProperty

    Declaration
    protected final SmartProperty<String> titleProperty
    Field Value
    Type Description
    SmartProperty<String>

    titleStyleProperty

    Declaration
    protected final SmartProperty<FontStyle> titleStyleProperty
    Field Value
    Type Description
    SmartProperty<FontStyle>

    valueProperty

    Declaration
    protected final SmartPropertyDouble valueProperty
    Field Value
    Type Description
    SmartPropertyDouble

    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
    Type Name Description
    renderableSeries.PieSegmentChangeListener listener

    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
    Type Name Description
    renderableSeries.PieSegmentChangeListener listener

    applyThemeProvider(IThemeProvider themeProvider)

    Applies specified theme to current instance

    Declaration
    public void applyThemeProvider(IThemeProvider themeProvider)
    Parameters
    Type Name Description
    IThemeProvider themeProvider

    decrementSuspend()

    Declaration
    public void decrementSuspend()

    getFillStyle()

    Gets the fill style of this segment.

    Declaration
    public final BrushStyle getFillStyle()
    Returns
    Type Description
    BrushStyle

    getIsSelected()

    Gets whether this segment is selected.

    Declaration
    public final boolean getIsSelected()
    Returns
    Type Description
    boolean

    getIsSuspended()

    Declaration
    public final boolean getIsSuspended()
    Returns
    Type Description
    boolean

    getSelectedSegmentStyle()

    Gets the IStyle which is applied when segment is selected

    Declaration
    public final renderableSeries.IStyle getSelectedSegmentStyle()
    Returns
    Type Description
    renderableSeries.IStyle

    getStrokeStyle()

    Gets the stroke style of this segment.

    Declaration
    public final PenStyle getStrokeStyle()
    Returns
    Type Description
    PenStyle

    getTitle()

    Gets the title of this segment.

    Declaration
    public final String getTitle()
    Returns
    Type Description
    String

    getTitleStyle()

    Gets the font style of the title of this segment.

    Declaration
    public final FontStyle getTitleStyle()
    Returns
    Type Description
    FontStyle

    getUpdateSuspenderCount()

    Declaration
    public final AtomicInteger getUpdateSuspenderCount()
    Returns
    Type Description
    AtomicInteger

    getValue()

    Gets the value of this segment.

    Declaration
    public final double getValue()
    Returns
    Type Description
    double

    removeChangeListener(renderableSeries.PieSegmentChangeListener listener)

    Removes the listener which should invoke if this segment changes

    Declaration
    public final void removeChangeListener(renderableSeries.PieSegmentChangeListener listener)
    Parameters
    Type Name Description
    renderableSeries.PieSegmentChangeListener listener

    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
    Type Name Description
    renderableSeries.PieSegmentChangeListener listener

    resumeUpdates(IUpdateSuspender suspender)

    Declaration
    public void resumeUpdates(IUpdateSuspender suspender)
    Parameters
    Type Name Description
    IUpdateSuspender suspender

    setFillStyle(BrushStyle fillStyle)

    Sets the fill style for this segment.

    Declaration
    public final void setFillStyle(BrushStyle fillStyle)
    Parameters
    Type Name Description
    BrushStyle fillStyle

    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
    Type Name Description
    renderableSeries.IStyle selectedSegmentStyle

    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
    Type Name Description
    FontStyle titleStyle

    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
    Type Description
    IUpdateSuspender

    Implements

    IPieSegment
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml