org.rubato.composer
Class RubetteManager

java.lang.Object
  extended by org.rubato.composer.RubetteManager

public class RubetteManager
extends java.lang.Object

The RubetteManager contains all available Rubette prototypes. There is only one systemwide instance, retrievable using the static getManager() method.

Author:
Gérard Milmeister

Method Summary
 void addRubette(Rubette rubette)
           
 void addRubette(java.lang.String className)
           
 void addRubette(java.lang.String className, Rubette rubette)
           
 void clear()
           
static RubetteManager getManager()
          Returns the systemwide RubetteManager instance.
 Rubette getRubetteByClassName(java.lang.String className)
           
 Rubette getRubetteByName(java.lang.String name)
           
 java.util.List<Rubette> getRubettes()
           
 boolean hasRubetteByClassName(java.lang.String className)
           
 boolean hasRubetteByName(java.lang.String name)
           
 void removeRubette(Rubette rubette)
           
 void setComposer(JComposer composer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getManager

public static RubetteManager getManager()
Returns the systemwide RubetteManager instance.


setComposer

public void setComposer(JComposer composer)

addRubette

public void addRubette(Rubette rubette)

addRubette

public void addRubette(java.lang.String className,
                       Rubette rubette)

addRubette

public void addRubette(java.lang.String className)

removeRubette

public void removeRubette(Rubette rubette)

clear

public void clear()

hasRubetteByName

public boolean hasRubetteByName(java.lang.String name)

getRubetteByName

public Rubette getRubetteByName(java.lang.String name)

hasRubetteByClassName

public boolean hasRubetteByClassName(java.lang.String className)

getRubetteByClassName

public Rubette getRubetteByClassName(java.lang.String className)

getRubettes

public java.util.List<Rubette> getRubettes()