|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Overlay
Defines the interface for an overlay that can be added to a
ChartPanel
.
Method Summary | |
---|---|
void |
addChangeListener(OverlayChangeListener listener)
Registers a change listener with the overlay. |
void |
paintOverlay(java.awt.Graphics2D g2,
ChartPanel chartPanel)
Paints the crosshairs in the layer. |
void |
removeChangeListener(OverlayChangeListener listener)
Deregisters a listener from the overlay. |
Method Detail |
---|
void paintOverlay(java.awt.Graphics2D g2, ChartPanel chartPanel)
g2
- the graphics target.chartPanel
- the chart panel.void addChangeListener(OverlayChangeListener listener)
listener
- the listener.void removeChangeListener(OverlayChangeListener listener)
listener
- the listener.
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |