gmj.graph
Class Axis

java.lang.Object
  extended by gmj.graph.Axis

public class Axis
extends Object


Field Summary
protected  int direction
           
protected  double end
           
protected  Font font
           
protected  GTransform gt
           
static int HORIZONTAL
           
protected  GLabel[] labels
           
protected  Line2D.Double line
           
protected  double start
           
static int TIC_SIZE
           
protected  double ticInterval
           
protected  Line2D.Double[] tics
           
static int VERTICAL
           
 
Constructor Summary
Axis(double start, double end, double axisCrossingVal, int numTics, int direction, GTransform gt)
           
 
Method Summary
 void draw(Graphics2D g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

protected double start

end

protected double end

ticInterval

protected double ticInterval

direction

protected int direction

font

protected Font font

gt

protected GTransform gt

line

protected Line2D.Double line

tics

protected Line2D.Double[] tics

labels

protected GLabel[] labels

HORIZONTAL

public static final int HORIZONTAL
See Also:
Constant Field Values

VERTICAL

public static final int VERTICAL
See Also:
Constant Field Values

TIC_SIZE

public static final int TIC_SIZE
See Also:
Constant Field Values
Constructor Detail

Axis

public Axis(double start,
            double end,
            double axisCrossingVal,
            int numTics,
            int direction,
            GTransform gt)
Method Detail

draw

public void draw(Graphics2D g)


Copyright © 2013. All Rights Reserved.