|
|||||||||
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
public class NORenderable
Constructor Summary | |
---|---|
NORenderable()
|
Method Summary | |
---|---|
java.lang.Object |
render(java.lang.Object pContext)
This method is the raison d'etre for the Renderable interface. |
boolean |
setParameter(java.lang.String pKey,
java.lang.Object pValue)
This method provides a very general way to configure any type of Renderable . |
boolean |
setType(java.lang.Object pType)
Set the type of Renderable this is. |
boolean |
testCondition(java.lang.Object pCondition,
java.lang.Object pValue)
Test the Renderable to see whether or not a particular condition exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NORenderable()
Method Detail |
---|
public java.lang.Object render(java.lang.Object pContext)
Renderable
This method is the raison d'etre for the Renderable interface. Calling render()
finishes the graphing process. The Object returned is then
ready for graphing. That is to say, it is ready to be fed into the external application that actually generates the graph; once this method is called
MathTools' responsibility is finished. No further interaction with the returned Object is required!
render
in interface Renderable
pContext
- The Context Object to be used for rendering.
public boolean setType(java.lang.Object pType)
Renderable
setType
in interface Renderable
pType
- The 'type' of Renderable being used.
public boolean setParameter(java.lang.String pKey, java.lang.Object pValue)
Renderable
Renderable
. The only absolute restriction is that the name of the parameter
being set is not empty or null. It is the responsibility of the implementation to define what parameters are settable in which components.
setParameter
in interface Renderable
pKey
- The name of the parameter being set. Must not be null or empty.pValue
- The value of the parameter to set.
public boolean testCondition(java.lang.Object pCondition, java.lang.Object pValue)
Renderable
testCondition
in interface Renderable
pCondition
- The condition to test against the value.pValue
- The value against which the condition is to be checked.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |