net.sf.jame.mandelbrot.fractal
Class MandelbrotFractalRuntimeElement

java.lang.Object
  extended by net.sf.jame.core.config.RuntimeElement
      extended by net.sf.jame.mandelbrot.fractal.MandelbrotFractalRuntimeElement

public class MandelbrotFractalRuntimeElement
extends RuntimeElement

Author:
Andrea Medeghini

Constructor Summary
MandelbrotFractalRuntimeElement(MandelbrotFractalConfigElement fractalElement)
           
 
Method Summary
 void dispose()
          Disposes the element resources.
 IncolouringFormulaRuntimeElement getIncolouringFormula(int index)
          Returns an incolouring formula.
 int getIncolouringFormulaCount()
          Returns the number of incolouring formulas.
 OrbitTrapRuntimeElement getOrbitTrap()
          Returns the orbitTrap.
 OutcolouringFormulaRuntimeElement getOutcolouringFormula(int index)
          Returns an outcolouring formula.
 int getOutcolouringFormulaCount()
          Returns the number of outcolouring formulas.
 ProcessingFormulaRuntimeElement getProcessingFormula()
          Returns the processingFormula.
 RenderingFormulaRuntimeElement getRenderingFormula()
          Returns the renderingFormula.
 TransformingFormulaRuntimeElement getTransformingFormula()
          Returns the transformingFormula.
 int indexOfIncolouringFormula(IncolouringFormulaRuntimeElement formulaElement)
          Returns an incolouring formula index.
 int indexOfOutcolouringFormula(OutcolouringFormulaRuntimeElement formula)
          Returns an outcolouring formula index.
 boolean isChanged()
          Tests and resets the change counter.
 boolean isIncolouringFormulaChanged()
           
 boolean isOrbitTrapChanged()
           
 boolean isOutcolouringFormulaChanged()
           
 boolean isProcessingFormulaChanged()
           
 boolean isRenderingFormulaChanged()
           
 boolean isTransformingFormulaChanged()
           
 
Methods inherited from class net.sf.jame.core.config.RuntimeElement
changeCount, finalize, fireChanged
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MandelbrotFractalRuntimeElement

public MandelbrotFractalRuntimeElement(MandelbrotFractalConfigElement fractalElement)
Method Detail

dispose

public void dispose()
Description copied from class: RuntimeElement
Disposes the element resources. The default implementation does nothing.

Overrides:
dispose in class RuntimeElement
See Also:
RuntimeElement.dispose()

getRenderingFormula

public RenderingFormulaRuntimeElement getRenderingFormula()
Returns the renderingFormula.

Returns:
the renderingFormula.

getTransformingFormula

public TransformingFormulaRuntimeElement getTransformingFormula()
Returns the transformingFormula.

Returns:
the transformingFormula.

getProcessingFormula

public ProcessingFormulaRuntimeElement getProcessingFormula()
Returns the processingFormula.

Returns:
the processingFormula.

getOrbitTrap

public OrbitTrapRuntimeElement getOrbitTrap()
Returns the orbitTrap.

Returns:
the orbitTrap.

getIncolouringFormula

public IncolouringFormulaRuntimeElement getIncolouringFormula(int index)
Returns an incolouring formula.

Parameters:
index - the formula index.
Returns:
the incolouring formula.

indexOfIncolouringFormula

public int indexOfIncolouringFormula(IncolouringFormulaRuntimeElement formulaElement)
Returns an incolouring formula index.

Parameters:
formulaElement - the incolouring formula.
Returns:
the index.

getIncolouringFormulaCount

public int getIncolouringFormulaCount()
Returns the number of incolouring formulas.

Returns:
the number of incolouring formulas.

getOutcolouringFormula

public OutcolouringFormulaRuntimeElement getOutcolouringFormula(int index)
Returns an outcolouring formula.

Parameters:
index - the formula index.
Returns:
the outcolouring formula.

indexOfOutcolouringFormula

public int indexOfOutcolouringFormula(OutcolouringFormulaRuntimeElement formula)
Returns an outcolouring formula index.

Parameters:
formula - the outcolouring formula.
Returns:
the index.

getOutcolouringFormulaCount

public int getOutcolouringFormulaCount()
Returns the number of outcolouring formulas.

Returns:
the number of outcolouring formulas.

isChanged

public boolean isChanged()
Description copied from class: RuntimeElement
Tests and resets the change counter.

Overrides:
isChanged in class RuntimeElement
Returns:
true if the change counter is greater than 0.
See Also:
RuntimeElement.isChanged()

isIncolouringFormulaChanged

public boolean isIncolouringFormulaChanged()
Returns:
the incolouringFormulaChanged

isOutcolouringFormulaChanged

public boolean isOutcolouringFormulaChanged()
Returns:
the outcolouringFormulaChanged

isRenderingFormulaChanged

public boolean isRenderingFormulaChanged()
Returns:
the renderingFormulaChanged

isTransformingFormulaChanged

public boolean isTransformingFormulaChanged()
Returns:
the transformingFormulaChanged

isProcessingFormulaChanged

public boolean isProcessingFormulaChanged()
Returns:
the processingFormulaChanged

isOrbitTrapChanged

public boolean isOrbitTrapChanged()
Returns:
the orbitTrapChanged