net.sf.jame.twister
Class TwisterConfig

java.lang.Object
  extended by net.sf.jame.core.config.AbstractConfigElement
      extended by net.sf.jame.twister.TwisterConfig
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, ConfigElement

public class TwisterConfig
extends AbstractConfigElement

Author:
Andrea Medeghini
See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_ID
           
 
Constructor Summary
TwisterConfig()
           
 
Method Summary
 TwisterConfig clone()
           
 void copyFrom(ConfigElement source)
           
 void dispose()
           
 boolean equals(java.lang.Object obj)
           
 Color32bit getBackground()
          Returns the background color.
 ColorElement getBackgroundElement()
           
 EffectConfigElement getEffectConfigElement()
          Returns the effectConfigElement.
 SingleConfigElement<EffectConfigElement> getEffectSingleElement()
           
 FrameConfigElement getFrameConfigElement()
          Returns the frameConfigElement.
 SingleConfigElement<FrameConfigElement> getFrameSingleElement()
           
 void setBackground(Color32bit background)
          Sets the background color.
 void setContext(ConfigContext context)
          Sets the configuration context.
 void setEffectConfigElement(EffectConfigElement effectElement)
          Sets the effectConfigElement.
 void setFrameConfigElement(FrameConfigElement frameElement)
          Sets the frameConfigElement.
 
Methods inherited from class net.sf.jame.core.config.AbstractConfigElement
addChangeListener, checkContext, finalize, fireConfigChanged, getClassId, getContext, getUserData, removeChangeListener, setUserData, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_ID

public static final java.lang.String CLASS_ID
See Also:
Constant Field Values
Constructor Detail

TwisterConfig

public TwisterConfig()
Method Detail

getBackground

public Color32bit getBackground()
Returns the background color.

Returns:
the background color.

setBackground

public void setBackground(Color32bit background)
Sets the background color.

Parameters:
background - the background color to set.

getFrameConfigElement

public FrameConfigElement getFrameConfigElement()
Returns the frameConfigElement.

Returns:
the frameConfigElement.

setFrameConfigElement

public void setFrameConfigElement(FrameConfigElement frameElement)
Sets the frameConfigElement.

Parameters:
frameElement - the frameConfigElement to set.

getEffectConfigElement

public EffectConfigElement getEffectConfigElement()
Returns the effectConfigElement.

Returns:
the effectConfigElement.

setEffectConfigElement

public void setEffectConfigElement(EffectConfigElement effectElement)
Sets the effectConfigElement.

Parameters:
listElement - the effectConfigElement to set.

clone

public TwisterConfig clone()
Specified by:
clone in interface ConfigElement
Specified by:
clone in class AbstractConfigElement
Returns:
See Also:
Object.clone()

copyFrom

public void copyFrom(ConfigElement source)
See Also:
ConfigElement.copyFrom(net.sf.jame.core.config.ConfigElement)

setContext

public void setContext(ConfigContext context)
Description copied from class: AbstractConfigElement
Sets the configuration context.

Specified by:
setContext in interface ConfigElement
Overrides:
setContext in class AbstractConfigElement
Parameters:
context - the configuration context to set.
See Also:
AbstractConfigElement.setContext(net.sf.jame.core.config.ConfigContext)

getBackgroundElement

public ColorElement getBackgroundElement()
Returns:

getEffectSingleElement

public SingleConfigElement<EffectConfigElement> getEffectSingleElement()
Returns:
the effectSingleElement

getFrameSingleElement

public SingleConfigElement<FrameConfigElement> getFrameSingleElement()
Returns:
the frameSingleElement

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

dispose

public void dispose()
Specified by:
dispose in interface ConfigElement
Overrides:
dispose in class AbstractConfigElement
See Also:
AbstractConfigElement.dispose()