net.sf.jame.core.config
Class RuntimeElement

java.lang.Object
  extended by net.sf.jame.core.config.RuntimeElement
Direct Known Subclasses:
AbstractLayerRuntimeElement, ColorRendererFormulaRuntimeElement, ColorRendererRuntimeElement, EffectRuntimeElement, ExtensionRuntime, FrameFilterRuntimeElement, FrameRuntimeElement, ImageRuntimeElement, IncolouringFormulaRuntimeElement, LayerFilterRuntimeElement, ListRuntimeElement, MandelbrotFractalRuntimeElement, MandelbrotRuntime, OrbitTrapRuntimeElement, OutcolouringFormulaRuntimeElement, PaletteRendererFormulaRuntimeElement, PaletteRendererRuntimeElement, ProcessingFormulaRuntimeElement, RenderingFormulaRuntimeElement, SingleRuntimeElement, TransformingFormulaRuntimeElement, TwisterRuntime

public abstract class RuntimeElement
extends java.lang.Object

Runtime element.

Author:
Andrea Medeghini

Constructor Summary
RuntimeElement()
           
 
Method Summary
 int changeCount()
           
 void dispose()
          Disposes the element resources.
protected  void finalize()
           
 void fireChanged()
          Increments the change counter.
 boolean isChanged()
          Tests and resets the change counter.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeElement

public RuntimeElement()
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable
See Also:
Object.finalize()

fireChanged

public void fireChanged()
Increments the change counter.


changeCount

public int changeCount()
Returns:

isChanged

public boolean isChanged()
Tests and resets the change counter.

Returns:
true if the change counter is greater than 0.

dispose

public void dispose()
Disposes the element resources. The default implementation does nothing.