// 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:   Axis.java

package lt.monarch.charts;

import java.awt.*;

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

public abstract class Axis
{

    public Axis(AxisMapper axismapper)
    {
        font = new Font("sanserif", 0, 8);
        mapper = axismapper;
    }

    public abstract void draw(Graphics g, Rectangle rectangle);

    public void prepare()
    {
        mapper.prepare();
    }

    public void registerKey(Object obj)
    {
        mapper.registerKey(obj);
    }

    public void setLabel(String s)
    {
        label = s;
    }

    public AxisMapper mapper;
    protected String label;
    Font font;
}
