ru.tunegov.mathematic
Class Operation

java.lang.Object
  |
  +--ru.tunegov.mathematic.FunctionBean
        |
        +--ru.tunegov.mathematic.Operation
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BinaryArithmeticOperator, UnaryOperation

public abstract class Operation
extends FunctionBean

This is abstract class that represents mathematical operation over scalars and matrix during visual wiring beans in the IDE.

Since:
Mathematic 1.0
See Also:
Serialized Form

Constructor Summary
Operation()
           
 
Method Summary
 boolean getDebug()
          If returns true - printing operands and result after execution bean function.
 ElementSet getResult()
          Returns result of the operation.
 void setDebug(boolean value)
          If sets true - allow printing operands and result after execution bean function.
abstract  java.lang.String toDebugString()
          Returns a String that represents the value of this object.
 
Methods inherited from class ru.tunegov.mathematic.FunctionBean
addActionErrorListener, addFetchArgumentsListener, addPropertyChangeListener, addTriggerNextActionListener, getAutoAction, removeActionErrorListener, removeFetchArgumentsListener, removePropertyChangeListener, removeTriggerNextActionListener, setAutoAction, triggerAction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operation

public Operation()
Method Detail

getDebug

public boolean getDebug()
If returns true - printing operands and result after execution bean function.
Returns:
Allows or denies printing operands and result after execution bean function

getResult

public ElementSet getResult()
Returns result of the operation.
Returns:
The result of the operation

setDebug

public void setDebug(boolean value)
If sets true - allow printing operands and result after execution bean function.
Parameters:
value - The new value of the flag

toDebugString

public abstract java.lang.String toDebugString()
Returns a String that represents the value of this object.
Returns:
a string representation of the receiver