jmathlib.core.graphics.properties
Class ColormapProperty

java.lang.Object
  extended by jmathlib.core.graphics.properties.Property
      extended by jmathlib.core.graphics.properties.ColormapProperty

public class ColormapProperty
extends Property


Constructor Summary
ColormapProperty(PropertySet parent, java.lang.String name)
           
ColormapProperty(PropertySet parent, java.lang.String name, double[] red, double[] green, double[] blue)
           
 
Method Summary
 java.lang.Object get()
           
 double[][] getArray()
           
 void set(java.lang.Object value)
           
 void setArray(double[] a)
           
 java.lang.String toString()
           
 
Methods inherited from class jmathlib.core.graphics.properties.Property
addPropertyListener, getName, update, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColormapProperty

public ColormapProperty(PropertySet parent,
                        java.lang.String name)

ColormapProperty

public ColormapProperty(PropertySet parent,
                        java.lang.String name,
                        double[] red,
                        double[] green,
                        double[] blue)
Method Detail

get

public java.lang.Object get()
Specified by:
get in class Property

set

public void set(java.lang.Object value)
         throws PropertyException
Specified by:
set in class Property
Throws:
PropertyException

getArray

public double[][] getArray()

setArray

public void setArray(double[] a)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object