|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynesketch.Synesthetiator
public abstract class Synesthetiator
Defines common behavior for transfering textual information into visual output and notifying Processing applet (PApplet) about that new information.
For example, SynesthetiatorEmotion is a subclass of this class, where
textual information refers to the new emotion recognised in text, which is to
be transfered into visual patterns.
All subclasses of Synesthetiator should redefine the 'synesthetise' method and implement the synesthesia alghoritm, the concrete way text is interpreted and transfered into visual output.
| Constructor Summary | |
|---|---|
Synesthetiator(processing.core.PApplet parent)
Class constructor that sets parent Processing applet (PApplet). |
|
| Method Summary | |
|---|---|
void |
notifyPApplet(SynesketchState state)
Notifies the parent Processing applet (PApplet) about some text event, by calling applet's method 'synesketchUpdate'. |
abstract void |
synesthetise(java.lang.String text)
Defines behaviour of transferring textual information into visual information. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Synesthetiator(processing.core.PApplet parent)
throws java.lang.Exception
parent - PApllet, a parent Processing applet
java.lang.Exception| Method Detail |
|---|
public void notifyPApplet(SynesketchState state)
state - a SynesketchState object, which contains the data
synestheticaly interpreted from the text
public abstract void synesthetise(java.lang.String text)
throws java.lang.Exception
text - String containing the text which is to be analyzed
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||