cox.jmatt.java.MathTools.graphing.Graph
Class GraphEnginePDK

java.lang.Object
  extended by cox.jmatt.java.MathTools.graphing.noop.NOGraphEngine
      extended by cox.jmatt.java.MathTools.graphing.Graph.GraphEnginePDK
All Implemented Interfaces:
GraphEngine

public class GraphEnginePDK
extends NOGraphEngine

The Graph implementation uses two Renderable classes and one concrete class besides this one. All graphing functionality is contained within the GraphablePDK and GraphPaperPDK classes. The GraphKeysPDK class is used as a context object (ONLY) but this is handled automatically. All key Objects in this class are ignored.

Since there are several Renderable classes that are not used this class extends graphing.noop.NOGraphEngine. All get__() methods return non-null instances and the set/test feature methods work even though only three GraphEngine methods are defined here.


Constructor Summary
GraphEnginePDK()
          Required for GraphEngineFactory
 
Method Summary
 Graphable getGraph(java.lang.Object pKey)
          Returns a GraphablePDK instance.
 GraphKeys getGraphKeys()
          Returns a GraphKeysPDK, but shouldn't be needed.
 GraphPaper getGraphPaper(java.lang.Object pKey)
          Returns a GraphPaperPDK.
 
Methods inherited from class cox.jmatt.java.MathTools.graphing.noop.NOGraphEngine
getAxis, getPolygon, setFeature, testFeature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphEnginePDK

public GraphEnginePDK()
Required for GraphEngineFactory

Method Detail

getGraphKeys

public GraphKeys getGraphKeys()
Returns a GraphKeysPDK, but shouldn't be needed.

Specified by:
getGraphKeys in interface GraphEngine
Overrides:
getGraphKeys in class NOGraphEngine

getGraphPaper

public GraphPaper getGraphPaper(java.lang.Object pKey)
Returns a GraphPaperPDK. The 'pKey' parameter is ignored since there is only ONE type of GraphPaperPDK.

Specified by:
getGraphPaper in interface GraphEngine
Overrides:
getGraphPaper in class NOGraphEngine

getGraph

public Graphable getGraph(java.lang.Object pKey)
Returns a GraphablePDK instance. The key parameter is ignored.

Specified by:
getGraph in interface GraphEngine
Overrides:
getGraph in class NOGraphEngine