|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.buffalo.fs7.mathlib.ComputationEvent
Class representing a computation event. This event type is generated when the implicitApply method of the BinaryOp class is executed.
ComputationEventListener,
Mathlib| Field Summary | |
static int |
DONE
computation done |
static int |
IN_PROGRESS
computation in progress |
static int |
STARTED
computation started |
| Constructor Summary | |
ComputationEvent(MathObject operator,
MathObject variable,
int currentStep,
int maxStep,
int action)
creates a ComputationEvent |
|
| Method Summary | |
int |
getAction()
returns action code |
int |
getCurrentStep()
returns current step in computation |
int |
getMaxStep()
returns max steps in computation |
MathObject |
getOperator()
returns originating operator |
MathObject |
getVariable()
returns affected variable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int STARTED
public static int IN_PROGRESS
public static int DONE
| Constructor Detail |
public ComputationEvent(MathObject operator,
MathObject variable,
int currentStep,
int maxStep,
int action)
operator - originating operatorvariable - affected variablecurrentStep - current step in computationmaxStep - maximum steps in computationaction - action code| Method Detail |
public int getAction()
public MathObject getVariable()
public MathObject getOperator()
public int getMaxStep()
public int getCurrentStep()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||