net.sf.jame.twister
Class TwisterRuntime

java.lang.Object
  extended by net.sf.jame.core.config.RuntimeElement
      extended by net.sf.jame.twister.TwisterRuntime

public class TwisterRuntime
extends RuntimeElement

The twister runtime.

Author:
Andrea Medeghini

Constructor Summary
TwisterRuntime(TwisterConfig config)
           
 
Method Summary
 void dispose()
          Disposes the element resources.
 Color32bit getBackground()
          Returns the background color.
 TwisterConfig getConfig()
           
 EffectRuntimeElement getEffectElement()
          Returns the effect.
 FrameRuntimeElement getFrameElement()
          Returns the frame.
 boolean isChanged()
          Tests and resets the change counter.
 
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

TwisterRuntime

public TwisterRuntime(TwisterConfig config)
Parameters:
config -
Method Detail

getConfig

public TwisterConfig getConfig()
Returns:
the config

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

getBackground

public Color32bit getBackground()
Returns the background color.

Returns:
the background color.

getFrameElement

public FrameRuntimeElement getFrameElement()
Returns the frame.

Returns:
the frame.

getEffectElement

public EffectRuntimeElement getEffectElement()
Returns the effect.

Returns:
the effect.

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