public class IlvScheduleInfoViewInteractor extends IlvChartInfoViewInteractor
IlvScheduleInfoViewInteractor
is an interactor that displays an
information tooltip when the mouse cursor is over a chart point.
The registered name of this interactor is "InfoView".
IlvChartHighlightInteractor
,
Serialized FormIlvChartDataInteractor.DataPicker
HIGHLIGHT_POINT, HIGHLIGHT_SERIES
ITEM_PICKING, NEARESTITEM_PICKING, NEARESTPOINT_PICKING
INTERNAL_HIGH, INTERNAL_LOW, NORMAL
Constructor and Description |
---|
IlvScheduleInfoViewInteractor()
Creates a new
IlvScheduleInfoViewInteractor . |
Modifier and Type | Method and Description |
---|---|
protected void |
chartConnected(IlvChart oldChart,
IlvChart newChart)
Overridden to keep track of the locale of the connected chart.
|
protected Point |
computePosition(Dimension tooltipSize,
int x,
int y)
Computes the tooltip location.
|
protected String |
getInfoText(IlvDisplayPoint pt)
Returns the text to be displayed.
|
protected String |
getToolTipFontTag()
Returns the HTML <font> tag that will be used for the tooltip.
|
adjustPosition, createToolTip, doIt, getInfoTextDescriptionPart, getInfoTextValuePart, getLocalizedName, getToolTip, interactionStarted, isFollowingMouse, isHandling, pickData, processMouseMotionEvent, setFollowingMouse
getHighlightedPoint, getHighlightMode, processMouseEvent, processMouseMovedEvent, setHighlightedPoint, setHighlightMode
createDataPicker, getPickingMode, pickData, setPickingMode
abort, addChartInteractionListener, create, create, disableEvents, drawGhost, drawGhost, enableEvents, endOperation, fireChartInteractionEvent, getAWTEventMask, getChart, getCoordinateSystem, getData, getData, getEventMask, getEventMaskEx, getGhostBounds, getGhostColor, getInteractorClassByName, getLocalizedName, getPriority, getRegisteredInteractorsByName, getShortName, getXAxis, getXORColor, getYAxis, getYAxisIndex, handleExpose, has3DSupport, initGhostGraphics, isAborted, isAllowDrawGhost, isConsumeEvents, isInOperation, isXORGhost, processKeyEvent, register, removeChartInteractionListener, setAborted, setAllowDrawGhost, setChart, setConsumeEvents, setCursor, setEventMask, setGhostColor, setInOperation, setPriority, setXORColor, setXORGhost, setYAxisIndex, startOperation, toDisplay
public IlvScheduleInfoViewInteractor()
IlvScheduleInfoViewInteractor
.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 String getToolTipFontTag()
protected String getInfoText(IlvDisplayPoint pt)
getInfoText
in class IlvChartInfoViewInteractor
pt
- The highlighted point.IlvChartInfoViewInteractor.getInfoTextDescriptionPart(ilog.views.chart.IlvDisplayPoint)
,
IlvChartInfoViewInteractor.getInfoTextValuePart(ilog.views.chart.IlvDisplayPoint)
protected Point computePosition(Dimension tooltipSize, int x, int y)
computePosition
in class IlvChartInfoViewInteractor
tooltipSize
- The tooltip size.x
- The mouse event x coordinatey
- The mouse event y coordinate© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.