ru.tunegov.mathematic
Class ComplexOperator
java.lang.Object
|
+--ru.tunegov.mathematic.FunctionBean
|
+--ru.tunegov.mathematic.Operation
|
+--ru.tunegov.mathematic.UnaryOperation
|
+--ru.tunegov.mathematic.ComplexOperator
- All Implemented Interfaces:
- java.io.Serializable
- public class ComplexOperator
- extends UnaryOperation
This is a non-visual component that represents complex
operation over complex numbers during visual wiring beans
in the IDE.
- Since:
- Mathematic 1.0
- See Also:
- Serialized Form
|
Field Summary |
static int |
ARGUMENT
The type of the operator. |
static int |
CONJUGATE
The type of the operator. |
static int |
IMAGE
The type of the operator. |
static int |
MODULE
The type of the operator. |
static int |
REAL
The type of the operator. |
|
Method Summary |
int |
getOperation()
Returns the type of the operation. |
void |
setOperation(int value)
Sets the type of the operation. |
java.lang.String |
toDebugString()
Returns a String that represents the value of this object. |
java.lang.String |
toString()
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,
wait,
wait,
wait |
REAL
public static final int REAL
- The type of the operator. Real part of the complex number.
IMAGE
public static final int IMAGE
- The type of the operator. Imaginary part of the complex number.
ARGUMENT
public static final int ARGUMENT
- The type of the operator. Argument of the complex number.
MODULE
public static final int MODULE
- The type of the operator. Module of the complex number.
CONJUGATE
public static final int CONJUGATE
- The type of the operator. Conjugate of the complex number.
ComplexOperator
public ComplexOperator()
- Contruct a Abs object.
getOperation
public int getOperation()
- Returns the type of the operation.
- Returns:
- the type of the operation
setOperation
public void setOperation(int value)
- Sets the type of the operation.
- Parameters:
value - The new value
toDebugString
public java.lang.String toDebugString()
- Returns a String that represents the value of this object.
- Overrides:
- toDebugString in class Operation
- Returns:
- a string representation of the receiver
toString
public java.lang.String toString()
- Returns a String that represents the value of this object.
- Overrides:
- toString in class java.lang.Object
- Returns:
- a string representation of the receiver