net.sf.jame.mandelbrot.extensions.fractal.incolouring
Class UniversalTrueColorRuntime
java.lang.Object
net.sf.jame.core.config.RuntimeElement
net.sf.jame.core.extension.ExtensionRuntime
net.sf.jame.core.extension.ConfigurableExtensionRuntime<T>
net.sf.jame.mandelbrot.fractal.incolouring.extension.IncolouringFormulaExtensionRuntime<T>
net.sf.jame.mandelbrot.extensions.fractal.incolouring.AbstractIncolouringFormulaRuntime<UniversalTrueColorConfig>
net.sf.jame.mandelbrot.extensions.fractal.incolouring.UniversalTrueColorRuntime
- All Implemented Interfaces:
- java.util.EventListener, ValueChangeListener
public class UniversalTrueColorRuntime
- extends AbstractIncolouringFormulaRuntime<UniversalTrueColorConfig>
- Author:
- Andrea Medeghini
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniversalTrueColorRuntime
public UniversalTrueColorRuntime()
isSolidGuessAllowed
public boolean isSolidGuessAllowed()
- Overrides:
isSolidGuessAllowed in class AbstractIncolouringFormulaRuntime<UniversalTrueColorConfig>
- Returns:
- true if solid guess is allowed.
- See Also:
AbstractOutcolouringFormulaRuntime.isSolidGuessAllowed()
prepareForRendering
public void prepareForRendering(RenderingFormulaExtensionRuntime<?> formulaRuntime,
int maxColors)
- Description copied from class:
IncolouringFormulaExtensionRuntime
- Sets the iterations.
- Overrides:
prepareForRendering in class AbstractIncolouringFormulaRuntime<UniversalTrueColorConfig>
maxColors - the number of colours.- See Also:
net.sf.jame.mandelbrot.extensions.fractal.outcolouring.AbstractOutcolouringPaletteRuntime#prepareForRendering(int)
renderColor
public int renderColor(RenderedPoint cp)
- Specified by:
renderColor in class IncolouringFormulaExtensionRuntime<UniversalTrueColorConfig>
- Returns:
- the color.
- See Also:
OutcolouringFormulaExtensionRuntime.renderColor(net.sf.jame.mandelbrot.renderer.RenderedPoint)
renderColor
public int renderColor(RenderedPoint cp,
int shift)
- Specified by:
renderColor in class IncolouringFormulaExtensionRuntime<UniversalTrueColorConfig>
- Returns:
- the color.
- See Also:
OutcolouringFormulaExtensionRuntime.renderColor(net.sf.jame.mandelbrot.renderer.RenderedPoint)
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()
configReloaded
public void configReloaded()
- Description copied from class:
ConfigurableExtensionRuntime
- Called when config is changed.
- Overrides:
configReloaded in class ConfigurableExtensionRuntime<UniversalTrueColorConfig>
- See Also:
ConfigurableExtensionRuntime.configReloaded()