org.rubato.base
Class DoubleProperty

java.lang.Object
  extended by org.rubato.base.RubetteProperty
      extended by org.rubato.base.DoubleProperty
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Comparable<RubetteProperty>, java.util.EventListener, javax.swing.event.CaretListener

public class DoubleProperty
extends RubetteProperty
implements java.awt.event.ActionListener, javax.swing.event.CaretListener


Constructor Summary
DoubleProperty(DoubleProperty prop)
           
DoubleProperty(java.lang.String key, java.lang.String name, double value)
           
DoubleProperty(java.lang.String key, java.lang.String name, double value, double min, double max)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void apply()
           
 void caretUpdate(javax.swing.event.CaretEvent e)
           
 DoubleProperty clone()
           
 RubetteProperty fromXML(XMLReader reader, org.w3c.dom.Element element)
           
 double getDouble()
           
 javax.swing.JComponent getJComponent()
           
 java.lang.Object getValue()
           
 void revert()
           
 void setDouble(double value)
           
 void setValue(java.lang.Object value)
           
 java.lang.String toString()
           
 void toXML(XMLWriter writer)
           
 void update()
           
 
Methods inherited from class org.rubato.base.RubetteProperty
compareTo, getKey, getName, getOrder, setKey, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DoubleProperty

public DoubleProperty(java.lang.String key,
                      java.lang.String name,
                      double value,
                      double min,
                      double max)

DoubleProperty

public DoubleProperty(java.lang.String key,
                      java.lang.String name,
                      double value)

DoubleProperty

public DoubleProperty(DoubleProperty prop)
Method Detail

getValue

public java.lang.Object getValue()
Specified by:
getValue in class RubetteProperty

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in class RubetteProperty

getDouble

public double getDouble()

setDouble

public void setDouble(double value)

getJComponent

public javax.swing.JComponent getJComponent()
Specified by:
getJComponent in class RubetteProperty

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

caretUpdate

public void caretUpdate(javax.swing.event.CaretEvent e)
Specified by:
caretUpdate in interface javax.swing.event.CaretListener

update

public void update()

apply

public void apply()
Specified by:
apply in class RubetteProperty

revert

public void revert()
Specified by:
revert in class RubetteProperty

clone

public DoubleProperty clone()
Specified by:
clone in class RubetteProperty

toXML

public void toXML(XMLWriter writer)
Specified by:
toXML in class RubetteProperty

fromXML

public RubetteProperty fromXML(XMLReader reader,
                               org.w3c.dom.Element element)
Specified by:
fromXML in class RubetteProperty

toString

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