ChartDirector 7.0 (Java Edition)

ChartViewer.addHotSpotListener


Usage

public void addHotSpotListener(HotSpotListener listener)

Description

Adds the specified HotSpotListener to receive hot spot mouse events.

The HotSpotListener is similar to java.awt.event.MouseListener. Instead of listening to general mouse events, the HotSpotListener listens to mouse events occurred on the hot spots only, and supply the event listener with hot spot attributes.

Arguments

ArgumentDefaultDescription
listener(Mandatory)The HotSpotListener object to receive hot spot mouse events.

Return Value

None