Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.java4less.rchart
Class ChartAdapter

    java.lang.Object
      |
      +--com.java4less.rchart.ChartAdapter

All Implemented Interfaces:
  ChartListener

public class ChartAdapter
extends java.lang.Object
implements ChartListener

Default implementation of the ChartListener. You can extend this class and override the methods you need.

Field Summary

Fields inherited from interface com.java4less.rchart.ChartListener
`EVENT_AFTER_UPDATE, EVENT_BEFORE_UPDATE, EVENT_ENTER_POINT, EVENT_LEAVE_POINT, EVENT_POINT_CLICKED, EVENT_TIP_UPDATE`

Constructor Summary
`ChartAdapter()`

Method Summary
`void` | `chartEvent(Chart c, int type)` rchart notifies an event
`void` | `paintUserExit(Chart c, ChartGraphics g)` this method is called after the chart is painted.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ChartAdapter

    public ChartAdapter()

Method Detail

### paintUserExit

    public void paintUserExit(Chart c,
                              ChartGraphics g)

  this method is called after the chart is painted. You can use it to paint anything on the charts graphic context.

  Specified by:
    `paintUserExit` in interface `ChartListener`

### chartEvent

    public void chartEvent(Chart c,
                           int type)

  rchart notifies an event

  Specified by:
    `chartEvent` in interface `ChartListener`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD