net.sf.jame.mandelbrot.util
Class RenderedPaletteParam

java.lang.Object
  extended by net.sf.jame.mandelbrot.util.RenderedPaletteParam
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DefaultRenderedPaletteParam

public class RenderedPaletteParam
extends java.lang.Object
implements java.io.Serializable

Author:
Andrea Medeghini
See Also:
Serialized Form

Constructor Summary
RenderedPaletteParam(ExtensionReference[] formulas, int[] colors, double size)
           
 
Method Summary
protected  java.lang.StringBuilder dump(java.lang.StringBuilder buffer)
           
 boolean equals(java.lang.Object obj)
           
 int getColor(int index)
           
 ExtensionReference getFormula(int index)
           
 double getSize()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderedPaletteParam

public RenderedPaletteParam(ExtensionReference[] formulas,
                            int[] colors,
                            double size)
Parameters:
formulas -
colors -
size -
Method Detail

getSize

public double getSize()
Returns:

getColor

public int getColor(int index)
Returns:

getFormula

public ExtensionReference getFormula(int index)
Returns:

dump

protected java.lang.StringBuilder dump(java.lang.StringBuilder buffer)
Parameters:
buffer -
Returns:

equals

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