|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AxisScale
A scale to go along an axis of a graph, i.e. x or y axes.
Version 1.0, 4/20/99 - original version.
| Method Summary | |
|---|---|
int |
getParallelSpace()
How much space parallel to the axis is required to draw the scale, outside the graph box? |
int |
getPerpendicularSpace()
How much space is required perpendicular to the axis, outside the graph box? |
void |
paintAxisScale(java.awt.Graphics g,
java.awt.Rectangle r)
Draw the axis scale, relative to a given rectangle containing the graph. |
void |
setFlipped(boolean fl)
Flip this axis from normal java orientation (left->right, top->bottom). |
void |
setFont(java.awt.Font f,
java.awt.FontMetrics fm)
set the font labels will be printed in. |
void |
setFormat(java.lang.String x)
set the format labels will be printed in. |
void |
setMax(double x)
set the maximum value that will be graphed. |
void |
setMin(double x)
set the minimum value that will be graphed. |
| Method Detail |
|---|
void setFlipped(boolean fl)
void setMin(double x)
void setMax(double x)
void setFormat(java.lang.String x)
void setFont(java.awt.Font f,
java.awt.FontMetrics fm)
int getParallelSpace()
int getPerpendicularSpace()
void paintAxisScale(java.awt.Graphics g,
java.awt.Rectangle r)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||