|
|||||||||
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.wallpaper.WallpaperRubette
public class WallpaperRubette
A rubette that creates a wallpaper using an input power denotator and a number of morphisms.
Constructor Summary | |
---|---|
WallpaperRubette()
|
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Processes the events comming from the selectForm and the buttons in the properties window. |
boolean |
applyProperties()
Applies the changes of the morphisms table and the rubette properties |
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 WallpaperRubette belongs to the core rubettes |
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. |
JWallpaperDimensionsTable |
getMorphismsTable()
Returns the table with all morphisms and their characteristics for the wallpaper |
java.lang.String |
getName()
Returns the name of this rubette |
java.lang.String |
getOutTip(int i)
Returns the tooltip for the output connector number i . |
javax.swing.JComponent |
getProperties()
Returns the properties panel for wallpaper specification |
java.lang.String |
getShortDescription()
Returns a short description. |
java.util.List<java.util.List<java.lang.Integer>> |
getSimpleFormPaths()
Returns all paths belonging to the simple forms returned by getSimpleForms(). |
java.util.List<SimpleForm> |
getSimpleForms()
Returns all SimpleForms located in this input form (dynamically changed). |
javax.swing.JComponent |
getView()
Returns the Swing component for the view. |
boolean |
hasInfo()
Returns true iff this Rubette has an info label. |
boolean |
hasProperties()
Returns the fact that this rubette has properties |
boolean |
hasView()
Returns true iff this Rubette has a view. |
void |
init()
Defines one input and one output. |
Rubette |
newInstance()
Creates a standard instance of WallpaperRubette |
void |
revertProperties()
Reverts this properties and the changes to this morphism table. |
void |
run(RunInfo runInfo)
Called when the Rubette is run. |
void |
toXML(XMLWriter writer)
Writes an XML description of this rubette. |
Methods inherited from class org.rubato.base.AbstractRubette |
---|
addError, addError, clearErrors, getErrors, getIcon, getInCount, getInput, getModel, getOutCount, getOutput, hasErrors, setInCount, setModel, setOutCount, setOutput, updateView |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WallpaperRubette()
Method Detail |
---|
public void init()
init
in interface Rubette
init
in class AbstractRubette
public void run(RunInfo runInfo)
run
in interface Rubette
run
in class AbstractRubette
runInfo
- contains information about the Runner that executes
the networkpublic Rubette newInstance()
newInstance
in interface Rubette
newInstance
in class AbstractRubette
public Rubette duplicate()
AbstractRubette
duplicate
in interface Rubette
duplicate
in class AbstractRubette
public java.lang.String getGroup()
getGroup
in interface Rubette
getGroup
in class AbstractRubette
public java.lang.String getName()
getName
in interface Rubette
getName
in class AbstractRubette
public boolean hasProperties()
hasProperties
in interface Rubette
hasProperties
in class AbstractRubette
public javax.swing.JComponent getProperties()
getProperties
in interface Rubette
getProperties
in class AbstractRubette
public boolean applyProperties()
applyProperties
in interface Rubette
applyProperties
in class AbstractRubette
public java.util.List<SimpleForm> getSimpleForms()
public java.util.List<java.util.List<java.lang.Integer>> getSimpleFormPaths()
public void revertProperties()
revertProperties
in interface Rubette
revertProperties
in class AbstractRubette
public boolean hasView()
AbstractRubette
hasView
in interface Rubette
hasView
in class AbstractRubette
public javax.swing.JComponent getView()
AbstractRubette
getView
in interface Rubette
getView
in class AbstractRubette
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public JWallpaperDimensionsTable getMorphismsTable()
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 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 |