|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Axis
This interface represents a graph's axis. The most common types are the X-axis and Y-axis on a Cartesian plane, but the Axis
interface makes
no such limiting assumption. For the purposes of this package an Axis represents a graphing component against which actual graphs are drawn, measured, or
compared. This interface is designed to represent these concepts in the broadest sense and to leave the actual interpretation and usage to the implementation
defining it. So, if a graph required a grid to be drawn Axis can be used for that.
Axis
extends Renderable
, so anything required but not provided can be configured via the setParameter()
or
setType()
methods.
Method Summary | |
---|---|
boolean |
setScale(java.lang.Object pScale)
The scale of an axis determines how measurements and comparisons are made. |
boolean |
setTickMarks(java.lang.Object pMarks)
Tick marks are small marks placed on an axis at appropriate intervals. |
Methods inherited from interface cox.jmatt.java.MathTools.graphing.Renderable |
---|
render, setParameter, setType, testCondition |
Method Detail |
---|
boolean setScale(java.lang.Object pScale)
pScale
- The Object representing the scale used for this Axis.
boolean setTickMarks(java.lang.Object pMarks)
pMarks
- The Object representing the tick-mark configuration to be used for this Axis.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |