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


Field Summary
private  java.util.LinkedList listenerList
           
private  boolean lockNotify
           
private  java.lang.String name
           
 
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
 

Field Detail

name

private java.lang.String name

listenerList

private java.util.LinkedList listenerList

lockNotify

private boolean lockNotify
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()

FOOTER

BOTTOM