Class TwoArgumentOperator

java.lang.Object
  |
  +--AbstractELOperator
        |
        +--TwoArgumentOperator
All Implemented Interfaces:
ELOperator
Direct Known Subclasses:
Distort, EnvironmentMap

public abstract class TwoArgumentOperator
extends AbstractELOperator
implements ELOperator


Fields inherited from interface ELOperator
LARGE_NUMER_OF_ARGUMENTS
 
Constructor Summary
TwoArgumentOperator()
           
 
Method Summary
protected  void checkArguments(ELMatrix[] argument)
           
 int getMaxNumArguments()
          Returns the maxiumum number of arguments this operator accepts.
 int getMinNumArguments()
          Returns the minimum number of arguments this operator accepts.
 java.lang.String unparse()
          How this operator should appear in EL code.
 
Methods inherited from class AbstractELOperator
clamp, hasExternalInfluences, iconString, paintIcon
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ELOperator
apply, description, hasExternalInfluences, name, paintIcon
 

Constructor Detail

TwoArgumentOperator

public TwoArgumentOperator()
Method Detail

getMaxNumArguments

public int getMaxNumArguments()
Description copied from interface: ELOperator
Returns the maxiumum number of arguments this operator accepts. Note: All operators that accept an argument accept an ELMatrix argument.
Specified by:
getMaxNumArguments in interface ELOperator

getMinNumArguments

public int getMinNumArguments()
Description copied from interface: ELOperator
Returns the minimum number of arguments this operator accepts.
Specified by:
getMinNumArguments in interface ELOperator

unparse

public java.lang.String unparse()
Description copied from interface: ELOperator
How this operator should appear in EL code.
Specified by:
unparse in interface ELOperator

checkArguments

protected void checkArguments(ELMatrix[] argument)