jmathlib.core.graphics.properties
Class Property

java.lang.Object
  extended by jmathlib.core.graphics.properties.Property
Direct Known Subclasses:
ColormapProperty, ColorProperty, DoubleArrayProperty, DoubleProperty, DoubleStructProperty, DoubleVectorProperty, FunctionalHandleProperty, HandleObjectListProperty, IntegerProperty, RadioProperty, StringArrayProperty, StringProperty, TypeProperty

public abstract class Property
extends java.lang.Object

Abstract root class for any kind of property


Constructor Summary
Property(PropertySet parent, java.lang.String name)
           
 
Method Summary
 void addPropertyListener(PropertyListener listener)
           
abstract  java.lang.Object get()
           
 java.lang.String getName()
           
abstract  void set(java.lang.Object value)
           
 void update(java.lang.Object value)
           
protected  void valueChanged()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Property

public Property(PropertySet parent,
                java.lang.String name)
Method Detail

getName

public java.lang.String getName()

addPropertyListener

public void addPropertyListener(PropertyListener listener)

get

public abstract java.lang.Object get()

set

public abstract void set(java.lang.Object value)
                  throws PropertyException
Throws:
PropertyException

update

public void update(java.lang.Object value)

valueChanged

protected void valueChanged()