public class IlvTreemapChartFocusInteractor extends IlvChartDataInteractor
The registered name of this interactor is "Focus".
IlvChartDataInteractor.DataPicker
ITEM_PICKING, NEARESTITEM_PICKING, NEARESTPOINT_PICKING
INTERNAL_HIGH, INTERNAL_LOW, NORMAL
Constructor and Description |
---|
IlvTreemapChartFocusInteractor()
Creates a new
IlvTreemapChartFocusInteractor associated with a
double-click on the mouse button BUTTON1 . |
IlvTreemapChartFocusInteractor(int pickButtonEventMask,
int pickClickCount)
Creates a new
IlvTreemapChartFocusInteractor associated with
the given mouse button and click count. |
Modifier and Type | Method and Description |
---|---|
protected void |
abort()
Called when the interaction has been aborted.
|
protected void |
chartConnected(IlvChart oldChart,
IlvChart newChart)
Called when an interactor has been added to a chart.
|
protected void |
endOperation(MouseEvent event)
Called when the interaction ends.
|
protected void |
focusDeleted(IlvChartRenderer renderer,
TreePath oldFocus)
Called when the focus has been removed from the model.
|
static String |
getLocalizedName(Locale locale)
Returns a localized name for this interactor class.
|
protected void |
pick(IlvDisplayObjectArea pickedArea)
Called when an area has been picked.
|
void |
processKeyEvent(KeyEvent event)
Handles the key events.
|
void |
processMouseEvent(MouseEvent event)
Handles the mouse events.
|
createDataPicker, getPickingMode, pickData, pickData, setPickingMode
addChartInteractionListener, create, create, disableEvents, drawGhost, drawGhost, enableEvents, fireChartInteractionEvent, getAWTEventMask, getChart, getCoordinateSystem, getData, getData, getEventMask, getEventMaskEx, getGhostBounds, getGhostColor, getInteractorClassByName, getLocalizedName, getPriority, getRegisteredInteractorsByName, getShortName, getXAxis, getXORColor, getYAxis, getYAxisIndex, handleExpose, has3DSupport, initGhostGraphics, interactionStarted, isAborted, isAllowDrawGhost, isConsumeEvents, isHandling, isInOperation, isXORGhost, processMouseMotionEvent, register, removeChartInteractionListener, setAborted, setAllowDrawGhost, setChart, setConsumeEvents, setCursor, setEventMask, setGhostColor, setInOperation, setPriority, setXORColor, setXORGhost, setYAxisIndex, startOperation, toDisplay
public IlvTreemapChartFocusInteractor()
IlvTreemapChartFocusInteractor
associated with a
double-click on the mouse button BUTTON1
.public IlvTreemapChartFocusInteractor(int pickButtonEventMask, int pickClickCount)
IlvTreemapChartFocusInteractor
associated with
the given mouse button and click count.pickButtonEventMask
- An event mask corresponding to a mouse button.pickClickCount
- 1 for single-click, 2 for double-click.public static String getLocalizedName(Locale locale)
public void processMouseEvent(MouseEvent event)
processMouseEvent
in class IlvChartInteractor
public void processKeyEvent(KeyEvent event)
processKeyEvent
in class IlvChartInteractor
protected void pick(IlvDisplayObjectArea pickedArea)
setFocus
on the treemap renderer.protected void endOperation(MouseEvent event)
endOperation
in class IlvChartInteractor
event
- The event that ends the interaction.protected void abort()
abort
in class IlvChartInteractor
protected void chartConnected(IlvChart oldChart, IlvChart newChart)
chartConnected
in class IlvChartInteractor
oldChart
- The previous attached chart.newChart
- The new attached chart.IlvChart.addInteractor(ilog.views.chart.IlvChartInteractor)
protected void focusDeleted(IlvChartRenderer renderer, TreePath oldFocus)
null
, thus re-enabling the
view of the entire model.null
.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.