|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rubato.base.AbstractRubette
org.rubato.rubettes.score.ScaleRubette
public class ScaleRubette
A rubette for generating preset and custom scales. The output is a Score denotator with all scale notes with pitches between 0 and 127. Their onset is 0, their duration 1.
Constructor Summary | |
---|---|
ScaleRubette()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Processes all events coming from the presets combo box. |
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 . |
java.lang.String |
getGroup()
Returns the fact that MorphingRubette belongs to the core rubettes |
javax.swing.ImageIcon |
getIcon()
Returns an icon for this Rubette. |
java.lang.String |
getInfo()
Returns the info string for the info label. |
java.lang.String |
getInTip(int i)
Returns the tooltip for the input connector number i . |
java.lang.String |
getLongDescription()
Returns a long description. |
java.lang.String |
getName()
Returns the name of the rubette. |
java.lang.String |
getOutTip(int i)
Returns the tooltip for the output connector number i . |
javax.swing.JComponent |
getProperties()
Returns the Swing component for the properties dialog. |
ScaleMap |
getScaleMap()
Returns the ScaleMap used by this rubette. |
java.lang.String |
getShortDescription()
Returns a short description. |
java.lang.String |
getStatuslineText()
Returns the current text in the statusline of this rubette's properties window. |
boolean |
hasInfo()
Returns true iff this Rubette has an info label. |
boolean |
hasProperties()
Returns true iff this rubette has a properties dialog. |
Rubette |
newInstance()
Creates a new instance from a protoype. |
void |
revertProperties()
Reverts values in the properties dialog to the values in the Rubette. |
void |
run(RunInfo arg0)
Runs the Rubette. |
void |
stateChanged(javax.swing.event.ChangeEvent event)
Processes all events coming from the numberOfNotes slider. |
void |
toXML(XMLWriter writer)
Writes an XML description of this rubette. |
Methods inherited from class org.rubato.base.AbstractRubette |
---|
addError, addError, clearErrors, getErrors, getInCount, getInput, getModel, getOutCount, getOutput, getView, hasErrors, hasView, init, setInCount, setModel, setOutCount, setOutput, updateView |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScaleRubette()
Method Detail |
---|
public java.lang.String getName()
AbstractRubette
getName
in interface Rubette
getName
in class AbstractRubette
public Rubette newInstance()
AbstractRubette
newInstance
in interface Rubette
newInstance
in class AbstractRubette
public Rubette duplicate()
AbstractRubette
duplicate
in interface Rubette
duplicate
in class AbstractRubette
public void run(RunInfo arg0)
AbstractRubette
run
in interface Rubette
run
in class AbstractRubette
arg0
- contains information about the Runner that executes
the networkpublic 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 ScaleMap getScaleMap()
public java.lang.String getStatuslineText()
public void stateChanged(javax.swing.event.ChangeEvent event)
stateChanged
in interface javax.swing.event.ChangeListener
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.String getGroup()
getGroup
in interface Rubette
getGroup
in class AbstractRubette
public boolean hasInfo()
AbstractRubette
hasInfo
in interface Rubette
hasInfo
in class AbstractRubette
public java.lang.String getInfo()
AbstractRubette
getInfo
in interface Rubette
getInfo
in class AbstractRubette
public java.lang.String getShortDescription()
AbstractRubette
getShortDescription
in interface Rubette
getShortDescription
in class AbstractRubette
public java.lang.String getLongDescription()
AbstractRubette
getLongDescription
in interface Rubette
getLongDescription
in class AbstractRubette
public java.lang.String getInTip(int i)
AbstractRubette
i
.
getInTip
in interface Rubette
getInTip
in class AbstractRubette
public java.lang.String getOutTip(int i)
AbstractRubette
i
.
getOutTip
in interface Rubette
getOutTip
in class AbstractRubette
public javax.swing.ImageIcon getIcon()
AbstractRubette
getIcon
in interface Rubette
getIcon
in class AbstractRubette
public void toXML(XMLWriter writer)
AbstractRubette
toXML
in interface Rubette
toXML
in class AbstractRubette
public Rubette fromXML(XMLReader reader, org.w3c.dom.Element element)
AbstractRubette
element
.
fromXML
in interface Rubette
fromXML
in class AbstractRubette
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |