|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.base.AbstractRubette
org.rubato.base.SimpleAbstractRubette
public abstract class SimpleAbstractRubette
Constructor Summary | |
---|---|
SimpleAbstractRubette()
|
Method Summary | |
---|---|
boolean |
applyProperties()
Makes changes in the properties dialog permanent. |
Rubette |
duplicate()
Creates a duplicate from this rubette instance. |
Rubette |
fromXML(XMLReader reader,
org.w3c.dom.Element element)
Creates a rubette from an XML description starting with element . |
javax.swing.JComponent |
getProperties()
Returns the Swing component for the properties dialog. |
RubetteProperty |
getProperty(java.lang.String key)
Returns the property of the given key . |
RubetteProperties |
getRubetteProperties()
Returns the rubette properties of this rubette. |
boolean |
hasProperties()
Returns true iff this rubette has a properties dialog. |
void |
putProperty(RubetteProperty prop)
Sets a new property. |
void |
revertProperties()
Reverts values in the properties dialog to the values in the Rubette. |
void |
toXML(XMLWriter writer)
Writes an XML description of this rubette. |
Methods inherited from class org.rubato.base.AbstractRubette |
---|
addError, addError, clearErrors, getErrors, getGroup, getIcon, getInCount, getInfo, getInput, getInTip, getLongDescription, getModel, getName, getOutCount, getOutput, getOutTip, getShortDescription, getView, hasErrors, hasInfo, hasView, init, newInstance, run, setInCount, setModel, setOutCount, setOutput, updateView |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAbstractRubette()
Method Detail |
---|
public final RubetteProperties getRubetteProperties()
public void putProperty(RubetteProperty prop)
public RubetteProperty getProperty(java.lang.String key)
key
.
Returns null, iff no property with this key exists.
public boolean hasProperties()
AbstractRubette
hasProperties
in interface Rubette
hasProperties
in class AbstractRubette
public javax.swing.JComponent getProperties()
AbstractRubette
getProperties
in interface Rubette
getProperties
in class AbstractRubette
public boolean applyProperties()
AbstractRubette
applyProperties
in interface Rubette
applyProperties
in class AbstractRubette
public void revertProperties()
AbstractRubette
revertProperties
in interface Rubette
revertProperties
in class AbstractRubette
public Rubette duplicate()
AbstractRubette
duplicate
in interface Rubette
duplicate
in class AbstractRubette
public final Rubette fromXML(XMLReader reader, org.w3c.dom.Element element)
AbstractRubette
element
.
fromXML
in interface Rubette
fromXML
in class AbstractRubette
public final void toXML(XMLWriter writer)
AbstractRubette
toXML
in interface Rubette
toXML
in class AbstractRubette
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |