|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfugue.ParserListenerAdapter | +--org.jfugue.PatternTool | +--org.jfugue.demo.DurationPatternTool
Constructor Summary | |
DurationPatternTool()
|
Method Summary | |
java.lang.String |
getDescription()
Indicates what this PatternTool does. |
java.lang.Object |
getResult()
Returns the result of the pattern tool after it has been executed on a pattern. |
void |
noteEvent(Note note)
Called when the parser encounters an initial note event. |
void |
reset()
Resets the variables in a subclass of PatternTool. |
void |
voiceEvent(Voice voice)
Called when the parser encounters a voice event. |
Methods inherited from class org.jfugue.PatternTool |
execute |
Methods inherited from class org.jfugue.ParserListenerAdapter |
controllerEvent, instrumentEvent, parallelNoteEvent, sequentialNoteEvent, tempoEvent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DurationPatternTool()
Method Detail |
public java.lang.String getDescription()
PatternTool
getDescription
in class PatternTool
org.jfugue.PatternTool
public void voiceEvent(Voice voice)
ParserListenerAdapter
voiceEvent
in class ParserListenerAdapter
org.jfugue.ParserListenerAdapter
voice
- the event that has been parsedpublic void noteEvent(Note note)
ParserListenerAdapter
noteEvent
in class ParserListenerAdapter
org.jfugue.ParserListenerAdapter
note
- the event that has been parsedpublic void reset()
PatternTool
reset
in class PatternTool
public java.lang.Object getResult()
PatternTool
getResult
in class PatternTool
org.jfugue.PatternTool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |