net.sf.jame.twister.extensions.frame.filter
Class ColorRuntime

java.lang.Object
  extended by net.sf.jame.core.config.RuntimeElement
      extended by net.sf.jame.core.extension.ExtensionRuntime
          extended by net.sf.jame.core.extension.ConfigurableExtensionRuntime<T>
              extended by net.sf.jame.twister.frame.filter.extension.FrameFilterExtensionRuntime<ColorConfig>
                  extended by net.sf.jame.twister.extensions.frame.filter.ColorRuntime
All Implemented Interfaces:
java.util.EventListener, ValueChangeListener

public class ColorRuntime
extends FrameFilterExtensionRuntime<ColorConfig>

Author:
Andrea Medeghini

Constructor Summary
ColorRuntime()
           
 
Method Summary
 Color32bit getColor()
          Returns the color.
 Padding getPadding()
           
 void prepareFilter(boolean isDynamic)
           
 void renderImage(Surface src, Surface dst, Surface prev)
           
 void setTile(Tile tile)
           
 
Methods inherited from class net.sf.jame.twister.frame.filter.extension.FrameFilterExtensionRuntime
dispose
 
Methods inherited from class net.sf.jame.core.extension.ConfigurableExtensionRuntime
configReloaded, getConfig, setConfig, valueChanged
 
Methods inherited from class net.sf.jame.core.config.RuntimeElement
changeCount, finalize, fireChanged, isChanged
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorRuntime

public ColorRuntime()
Method Detail

getColor

public Color32bit getColor()
Returns the color.

Returns:
the color.

getPadding

public Padding getPadding()
Specified by:
getPadding in class FrameFilterExtensionRuntime<ColorConfig>
Returns:
the padding.
See Also:
FrameFilterExtensionRuntime.getPadding()

renderImage

public void renderImage(Surface src,
                        Surface dst,
                        Surface prev)
Specified by:
renderImage in class FrameFilterExtensionRuntime<ColorConfig>
Parameters:
src - the source image.
dst - the destination image.
prev - the previous image.
See Also:
FrameFilterExtensionRuntime.renderImage(net.sf.jame.core.util.Surface, net.sf.jame.core.util.Surface, net.sf.jame.core.util.Surface)

setTile

public void setTile(Tile tile)
Specified by:
setTile in class FrameFilterExtensionRuntime<ColorConfig>
See Also:
LayerFilterExtensionRuntime.setTile(net.sf.jame.core.util.Tile)

prepareFilter

public void prepareFilter(boolean isDynamic)
Specified by:
prepareFilter in class FrameFilterExtensionRuntime<ColorConfig>
See Also:
FrameFilterExtensionRuntime.prepareFilter(boolean)