public class TreemapFocusEvent extends ChartRendererEvent
TreemapFocusListener,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
FOCUS_CHANGED
The type of the event when the focus has changed through explicit setting.
|
static int |
FOCUS_DELETED
The type of the event when the focus has been removed from the model.
|
ANNOTATION_CHANGED, DATARANGE_CHANGED, DATASOURCE_CHANGED, LEGENDITEM_CHANGED, RENDERER_ADDED, RENDERER_REMOVED, STYLE_CHANGED, VISIBILITY_CHANGEDsource| Constructor and Description |
|---|
TreemapFocusEvent(IlvChart chart,
IlvTreemapChartRenderer renderer,
int type,
TreePath oldFocus,
TreePath newFocus)
Creates a new
TreemapFocusEvent. |
| Modifier and Type | Method and Description |
|---|---|
TreePath |
getNewFocus()
Returns the focus after the change.
|
TreePath |
getOldFocus()
Returns the focus before the change.
|
getChart, getRenderer, getTypegetSource, toStringpublic static final int FOCUS_CHANGED
public static final int FOCUS_DELETED
public TreemapFocusEvent(IlvChart chart, IlvTreemapChartRenderer renderer, int type, TreePath oldFocus, TreePath newFocus)
TreemapFocusEvent.public TreePath getOldFocus()
TreePath from the old root to the old focused object, or
null.public TreePath getNewFocus()
TreePath from the root to the new focused object, or
null.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.