net.sf.jame.mandelbrot
Class MandelbrotRuntime

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

public class MandelbrotRuntime
extends RuntimeElement

Author:
Andrea Medeghini

Constructor Summary
MandelbrotRuntime(MandelbrotConfig config)
           
 
Method Summary
 void dispose()
          Disposes the element resources.
 DoubleVector2D getConstant()
           
 MandelbrotFractalRuntimeElement getMandelbrotFractal()
          Returns the fractal.
 boolean getViewChanged()
           
 boolean isChanged()
          Tests and resets the change counter.
 boolean isMandelbrotMode()
           
 boolean isViewChanged()
           
 
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

MandelbrotRuntime

public MandelbrotRuntime(MandelbrotConfig config)
Parameters:
config -
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()

getMandelbrotFractal

public MandelbrotFractalRuntimeElement getMandelbrotFractal()
Returns the fractal.

Returns:
the fractal.

isMandelbrotMode

public boolean isMandelbrotMode()
Returns:

getConstant

public DoubleVector2D getConstant()
Returns:

getViewChanged

public boolean getViewChanged()
Returns:

isViewChanged

public boolean isViewChanged()
Returns:

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()