|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.parser.Frame
public class Frame
Contains the current execution context. This includes the current values of variables and so forth.
Field Summary | |
---|---|
private int |
layer
|
private int |
ncols
|
private int |
nlevels
|
private int |
nrows
|
private int |
timeStep
|
private java.util.Map<java.lang.String,DataFrame> |
varValues
|
private int |
x
|
private int |
y
|
Constructor Summary | |
---|---|
Frame()
|
Method Summary | |
---|---|
int |
getColumnCount()
Gets the number of columns in the currently selected domain. |
int |
getLayer()
Gets the current layer index. |
int |
getLayerOffset()
|
int |
getLevelCount()
Gets the number of level in the currently selected domain. |
int |
getRowCount()
Gets the number of rows in the currently selected domain. |
int |
getTimeStep()
Gets the current time step index. |
int |
getTimeStepOffset()
|
DataFrame |
getValue(java.lang.String name)
Gets the current value of the named variable. |
int |
getX()
Gets the current x index. |
int |
getXOffset()
|
int |
getY()
Gets the current y index. |
int |
getYOffset()
|
void |
setColumnCount(int ncols)
Sets the number of columns in the currently selected domain. |
void |
setCoordinateIndices(int timeStep,
int layer,
int x,
int y)
Sets the coordinate indices for this evaluation context. |
void |
setLevelCount(int nlevels)
Sets the number of levels in the currently selected domain. |
void |
setRowCount(int nrows)
Sets the number of rows in the currently selected domain. |
void |
setValue(java.lang.String name,
DataFrame val)
Sets the value of the named variable to the specified value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Map<java.lang.String,DataFrame> varValues
private int timeStep
private int layer
private int x
private int y
private int nrows
private int ncols
private int nlevels
Constructor Detail |
---|
public Frame()
Method Detail |
---|
public void setValue(java.lang.String name, DataFrame val)
name
- the name of the variableval
- the variables valuepublic DataFrame getValue(java.lang.String name)
name
- the name of the variable.
public int getLayer()
public int getTimeStep()
public void setCoordinateIndices(int timeStep, int layer, int x, int y)
timeStep
- the new time step indexlayer
- the new layer indexx
- the new x indexy
- the new y indexpublic int getX()
public int getY()
public int getColumnCount()
public void setColumnCount(int ncols)
ncols
- the number of columns in the currently selected domainpublic int getLevelCount()
public void setLevelCount(int nlevels)
nlevels
- the number of levels in the currently selected domainpublic int getRowCount()
public void setRowCount(int nrows)
nrows
- the number of rows in the currently selected domainpublic int getTimeStepOffset()
public int getXOffset()
public int getYOffset()
public int getLayerOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |