|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcox.jmatt.java.MathTools.graphing.noop.NORenderable
cox.jmatt.java.MathTools.graphing.noop.NOGraphPaper
public class NOGraphPaper
Constructor Summary | |
---|---|
NOGraphPaper()
|
Method Summary | |
---|---|
boolean |
addAxis(java.lang.String pKey,
Axis pAxis)
Add an Axis instance to the current paper. |
boolean |
addGraph(java.lang.String pKey,
Graphable pGraph)
Add a graph to the current paper. |
boolean |
addPolygon(java.lang.String pKey,
Polygon pPolygon)
Add a polygon to the current paper. |
boolean |
addTransform(java.lang.Object pTransform)
Use this method to apply a universal transformation to all of the graph components. |
boolean |
setRanges(double pMinX,
double pMinY,
double pMaxX,
double pMaxY)
Set the minimum and maximum horizontal and vertical values for the graph. |
boolean |
setSize(double pWidth,
double pHeight)
Set the size of the actual graph. |
Methods inherited from class cox.jmatt.java.MathTools.graphing.noop.NORenderable |
---|
render, setParameter, setType, testCondition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cox.jmatt.java.MathTools.graphing.Renderable |
---|
render, setParameter, setType, testCondition |
Constructor Detail |
---|
public NOGraphPaper()
Method Detail |
---|
public boolean setSize(double pWidth, double pHeight)
GraphPaper
setSize
in interface GraphPaper
pWidth
- The width of the graph.pHeight
- The height of the graph.
public boolean setRanges(double pMinX, double pMinY, double pMaxX, double pMaxY)
GraphPaper
setRanges
in interface GraphPaper
pMinX
- The minimum horizontal (X) value on the graph.pMinY
- The minimum vertical (Y) value for the graph.pMaxX
- The maximum horizontal value for the graph.pMaxY
- The maximum vertical (Y) value on the graph.
public boolean addTransform(java.lang.Object pTransform)
GraphPaper
addTransform
in interface GraphPaper
pTransform
- The transformation to apply.
public boolean addAxis(java.lang.String pKey, Axis pAxis)
GraphPaper
addAxis
in interface GraphPaper
pKey
- The identification or description of the Axis being added.pAxis
- The Axis to add.
public boolean addGraph(java.lang.String pKey, Graphable pGraph)
GraphPaper
addGraph
in interface GraphPaper
pKey
- The String key used to identify the graph.pGraph
- The graph to add.
public boolean addPolygon(java.lang.String pKey, Polygon pPolygon)
GraphPaper
addPolygon
in interface GraphPaper
pKey
- The String key used to identify the polygon.pPolygon
- The Polygon
to add.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |