public class ItemSlicedEvent extends AbstractSeriesEvent
Constructor and Description |
---|
ItemSlicedEvent(Series series,
int index,
boolean sliced)
Constructs the event with animated transition, redraws the chart
|
ItemSlicedEvent(Series series,
int index,
boolean sliced,
boolean redraw)
Constructs the event with animated transition
|
ItemSlicedEvent(Series series,
int index,
boolean sliced,
boolean redraw,
boolean animation)
Constructs the event.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the index of the point to be sliced
|
boolean |
isAnimation()
Whether or not animation should be used.
|
boolean |
isRedraw()
Whether or not redrawing should be immediate.
|
boolean |
isSliced()
When true, the point is sliced out.
|
getSeries
public ItemSlicedEvent(Series series, int index, boolean sliced, boolean redraw, boolean animation)
index
- sliced
- redraw
- animation
- public ItemSlicedEvent(Series series, int index, boolean sliced, boolean redraw)
index
- sliced
- redraw
- public ItemSlicedEvent(Series series, int index, boolean sliced)
index
- sliced
- public int getIndex()
public boolean isSliced()
public boolean isRedraw()
public boolean isAnimation()
Copyright © 2019. All rights reserved.