|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaitools.jiffle.runtime.AbstractJiffleRuntime
public abstract class AbstractJiffleRuntime
Provides default implementations of JiffleRuntime methods plus
some common fields.
| Field Summary | |
|---|---|
protected JiffleFunctions |
_FN
Provides runtime function support. |
protected double |
_outsideValue
The value to return for out-of-bounds image data requests if the outside option is set. |
protected boolean |
_outsideValueSet
Whether the outside option is set. |
protected IntegerStack |
_stk
A stack of integer values used in the evaluation of if statements. |
| Constructor Summary | |
|---|---|
AbstractJiffleRuntime()
Creates a new instance of this class and initializes its JiffleFunctions and IntegerStack objects. |
|
| Method Summary | |
|---|---|
Double |
getVar(String varName)
Returns the value of a variable that was declared in the script's init block. |
protected abstract void |
initImageScopeVars()
Initializes image-scope variables. |
protected abstract void |
initOptionVars()
Initializes runtime class fields related to Jiffle script options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jaitools.jiffle.runtime.JiffleRuntime |
|---|
setBounds |
| Field Detail |
|---|
protected boolean _outsideValueSet
protected double _outsideValue
protected IntegerStack _stk
protected final JiffleFunctions _FN
| Constructor Detail |
|---|
public AbstractJiffleRuntime()
JiffleFunctions and IntegerStack objects.
| Method Detail |
|---|
public Double getVar(String varName)
getVar in interface JiffleRuntimevarName - variable name
null if the variable name is
not foundprotected abstract void initImageScopeVars()
protected abstract void initOptionVars()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||