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
ScriptException
protected BS atomExpressionAt(int i) throws ScriptException
ScriptException
protected void checkLength(int i) throws ScriptException
ScriptException
protected void error(int err) throws ScriptException
ScriptException
protected void invArg() throws ScriptException
ScriptException
protected void invPO() throws ScriptException
ScriptException
protected String paramAsStr(int i) throws ScriptException
ScriptException
protected javajs.util.P3 centerParameter(int i) throws ScriptException
ScriptException
protected float floatParameter(int i) throws ScriptException
ScriptException
protected javajs.util.P3 getPoint3f(int i, boolean allowFractional) throws ScriptException
ScriptException
protected int intParameter(int index) throws ScriptException
ScriptException
protected 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
ScriptException
protected T getToken(int i) throws ScriptException
ScriptException
protected int tokAt(int i)
protected String setShapeId(int iShape, int i, boolean idSeen) throws ScriptException
ScriptException
protected float getColorTrans(ScriptEval eval, int i, boolean allowNone, int[] ret) throws ScriptException
eval
- i
- allowNone
- ret
- returned int argb colorScriptException
protected void finalizeObject(int shapeID, int colorArgb, float translucentLevel, int intScale, boolean doSet, Object data, int iptDisplayProperty, BS bs) throws ScriptException
ScriptException