| Modifier and Type | Field and Description |
|---|---|
protected boolean |
chk |
protected ScriptEval |
e |
protected int |
slen |
protected T[] |
st |
protected Viewer |
vwr |
| Constructor and Description |
|---|
ScriptExt() |
| Modifier and Type | Method and Description |
|---|---|
protected BS |
atomExpressionAt(int i) |
protected javajs.util.P3 |
centerParameter(int i) |
protected void |
checkLength(int i) |
abstract String |
dispatch(int iTok,
boolean b,
T[] st) |
protected void |
error(int err) |
protected void |
finalizeObject(int shapeID,
int colorArgb,
float translucentLevel,
int intScale,
boolean doSet,
Object data,
int iptDisplayProperty,
BS bs) |
protected float |
floatParameter(int i) |
protected float |
getColorTrans(ScriptEval eval,
int i,
boolean allowNone,
int[] ret)
Checks color, translucent, opaque parameters.
|
protected javajs.util.P3 |
getPoint3f(int i,
boolean allowFractional) |
protected Object |
getShapeProperty(int shapeType,
String propertyName) |
protected T |
getToken(int i) |
ScriptExt |
init(Object eval) |
protected int |
intParameter(int index) |
protected void |
invArg() |
protected void |
invPO() |
protected boolean |
isFloatParameter(int index) |
protected String |
paramAsStr(int i) |
protected String |
setShapeId(int iShape,
int i,
boolean idSeen) |
protected void |
setShapeProperty(int shapeType,
String propertyName,
Object propertyValue) |
protected void |
showString(String s) |
protected String |
stringParameter(int index) |
protected int |
tokAt(int i) |
protected Viewer vwr
protected ScriptEval e
protected boolean chk
protected T[] st
protected int slen
public abstract String dispatch(int iTok, boolean b, T[] st) throws ScriptException
ScriptExceptionprotected BS atomExpressionAt(int i) throws ScriptException
ScriptExceptionprotected void checkLength(int i)
throws ScriptException
ScriptExceptionprotected void error(int err)
throws ScriptException
ScriptExceptionprotected void invArg()
throws ScriptException
ScriptExceptionprotected void invPO()
throws ScriptException
ScriptExceptionprotected String paramAsStr(int i) throws ScriptException
ScriptExceptionprotected javajs.util.P3 centerParameter(int i)
throws ScriptException
ScriptExceptionprotected float floatParameter(int i)
throws ScriptException
ScriptExceptionprotected javajs.util.P3 getPoint3f(int i,
boolean allowFractional)
throws ScriptException
ScriptExceptionprotected int intParameter(int index)
throws ScriptException
ScriptExceptionprotected boolean isFloatParameter(int index)
protected void setShapeProperty(int shapeType,
String propertyName,
Object propertyValue)
protected void showString(String s)
protected String stringParameter(int index) throws ScriptException
ScriptExceptionprotected T getToken(int i) throws ScriptException
ScriptExceptionprotected int tokAt(int i)
protected String setShapeId(int iShape, int i, boolean idSeen) throws ScriptException
ScriptExceptionprotected float getColorTrans(ScriptEval eval, int i, boolean allowNone, int[] ret) throws ScriptException
eval - i - allowNone - ret - returned int argb colorScriptExceptionprotected void finalizeObject(int shapeID,
int colorArgb,
float translucentLevel,
int intScale,
boolean doSet,
Object data,
int iptDisplayProperty,
BS bs)
throws ScriptException
ScriptException