|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfugue.Parser
public class Parser
You may notice that there is no parse() method in the Parser class! That's because the parse() method may take any type of parameter, as well as any number of parameters, so it isn't something that can declared ahead of time.
| Field Summary | |
|---|---|
static int |
TRACING_OFF
Pass this value to setTracing( ) to turn tracing off. |
static int |
TRACING_ON
Pass this value to setTracing( ) to turn tracing on. |
| Constructor Summary | |
|---|---|
Parser()
|
|
| Method Summary | |
|---|---|
void |
addParserListener(ParserListener l)
Adds a ParserListener. |
void |
addParserProgressListener(ParserProgressListener l)
Adds a ParserListener. |
int |
getTracing()
Returns the current state of tracing. |
void |
removeParserListener(ParserListener l)
Removes a ParserListener. |
void |
removeParserProgressListener(ParserProgressListener l)
Removes a ParserListener. |
void |
setTracing(int tracing)
Turns tracing on or off. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TRACING_OFF
public static final int TRACING_ON
| Constructor Detail |
|---|
public Parser()
| Method Detail |
|---|
public void setTracing(int tracing)
tracing - the state of tracing - on or offpublic int getTracing()
public void addParserProgressListener(ParserProgressListener l)
ParserListener. The listener will receive events when the parser
interprets music string tokens.
listener - the listener that is to be notified of parser eventspublic void removeParserProgressListener(ParserProgressListener l)
ParserListener.
listener - the listener to removepublic void addParserListener(ParserListener l)
ParserListener. The listener will receive events when the parser
interprets music string tokens.
listener - the listener that is to be notified of parser eventspublic void removeParserListener(ParserListener l)
ParserListener.
listener - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||