org.rubato.base
Class TextProperty
java.lang.Object
org.rubato.base.RubetteProperty
org.rubato.base.TextProperty
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Comparable<RubetteProperty>, java.util.EventListener, javax.swing.event.CaretListener
public class TextProperty
- extends RubetteProperty
- implements javax.swing.event.CaretListener
Constructor Summary |
TextProperty(java.lang.String key,
java.lang.String name,
java.lang.String value)
|
TextProperty(java.lang.String key,
java.lang.String name,
java.lang.String value,
int cols,
int rows,
boolean lineWrap,
boolean wordWrap)
|
TextProperty(TextProperty prop)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TextProperty
public TextProperty(java.lang.String key,
java.lang.String name,
java.lang.String value,
int cols,
int rows,
boolean lineWrap,
boolean wordWrap)
TextProperty
public TextProperty(java.lang.String key,
java.lang.String name,
java.lang.String value)
TextProperty
public TextProperty(TextProperty 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
getString
public java.lang.String getString()
setString
public void setString(java.lang.String value)
getJComponent
public javax.swing.JComponent getJComponent()
- Specified by:
getJComponent
in class RubetteProperty
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 TextProperty 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