edu.cmu.emulator.graph
Class Axis
java.lang.Object
edu.cmu.emulator.graph.Axis
public class Axis
- extends Object
Constructor Summary |
Axis(double start,
double end,
double axisCrossingVal,
double minorTicInterval,
double majorTicInterval,
int direction,
GTransform gt)
|
Axis(double start,
double end,
double axisCrossingVal,
double minorTicInterval,
double majorTicInterval,
int direction,
GTransform gt,
boolean logScale)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
start
protected double start
end
protected double end
ticInterval
protected double ticInterval
direction
protected int direction
logScale
protected boolean logScale
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
Axis
public Axis(double start,
double end,
double axisCrossingVal,
double minorTicInterval,
double majorTicInterval,
int direction,
GTransform gt,
boolean logScale)
Axis
public Axis(double start,
double end,
double axisCrossingVal,
double minorTicInterval,
double majorTicInterval,
int direction,
GTransform gt)
draw
public void draw(Graphics2D g)
Copyright © 2013. All Rights Reserved.