org.fraid.function
Class DisconnectedGeneratorFunction

java.lang.Object
  extended by org.fraid.function.ComplexFunction
      extended by org.fraid.function.GeneratorFunction
          extended by org.fraid.function.DisconnectedGeneratorFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.event.ChangeListener
Direct Known Subclasses:
cloneS

public abstract class DisconnectedGeneratorFunction
extends GeneratorFunction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.fraid.function.GeneratorFunction
mArgs, mRegisteredFunction
 
Fields inherited from class org.fraid.function.ComplexFunction
mName, mNumberOfArguments
 
Constructor Summary
DisconnectedGeneratorFunction()
           
 
Method Summary
 java.lang.Object clone()
          Used when a panel is cloned to be saved in a file.
protected  GeneratorFunction processAndAttach(DefinedFunction aDf, Complex[] aArgs)
           
 void stateChanged(javax.swing.event.ChangeEvent aEvent)
           
 
Methods inherited from class org.fraid.function.GeneratorFunction
detouchFromListeners, generate, getDependancies, getRegisteredFunction, invoke, postProcess, processAndAttach, regenerateRegisteredFunction, setRegisteredFunction, toString
 
Methods inherited from class org.fraid.function.ComplexFunction
exec, getDependancies, getName, getNumberOfArguments, getSignature, setName, setNumberOfArguments
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DisconnectedGeneratorFunction

public DisconnectedGeneratorFunction()
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Description copied from class: ComplexFunction
Used when a panel is cloned to be saved in a file. The clone is transient (not included in the symbtable). This ensures the function won't change while we are generating large files.

Overrides:
clone in class GeneratorFunction
Returns:
an Object value
Throws:
java.lang.CloneNotSupportedException - if an error occurs

processAndAttach

protected GeneratorFunction processAndAttach(DefinedFunction aDf,
                                             Complex[] aArgs)

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent aEvent)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener
Overrides:
stateChanged in class GeneratorFunction


Fraid (system and language). (C) 2003-2007 Ivaylo Iliev
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.