// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) space 
// Source File Name:   ChartPoint.java

package lt.monarch.charts;

import java.awt.*;

// Referenced classes of package lt.monarch.charts:
//            ChartPointSeries

public abstract class ChartPoint
{

    public ChartPoint()
    {
    }

    public abstract Point draw(Graphics g, ChartPointSeries chartpointseries, Rectangle rectangle);

    public void registerOn(ChartPointSeries chartpointseries)
    {
    }

    public String tip(ChartPointSeries chartpointseries)
    {
        return "<no tip>";
    }

    public String tipAt(ChartPointSeries chartpointseries, Point point)
    {
        if (tipRectangle != null && tipRectangle.inside(point.x, point.y))
            return tip(chartpointseries);
        else
            return null;
    }

    Rectangle tipRectangle;
}
