org.rubato.base
Class RationalProperty
java.lang.Object
org.rubato.base.RubetteProperty
org.rubato.base.RationalProperty
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.lang.Cloneable, java.lang.Comparable<RubetteProperty>, java.util.EventListener, javax.swing.event.CaretListener
public class RationalProperty
- extends RubetteProperty
- implements java.awt.event.ActionListener, javax.swing.event.CaretListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RationalProperty
public RationalProperty(java.lang.String key,
java.lang.String name,
Rational value,
Rational min,
Rational max)
RationalProperty
public RationalProperty(java.lang.String key,
java.lang.String name,
Rational value)
RationalProperty
public RationalProperty(RationalProperty prop)
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
getRational
public Rational getRational()
setRational
public void setRational(Rational 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 RationalProperty 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