|
CIDER Toolkit Version 0.3.0 |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object
|
+--java.util.EventObject
|
+--GrammarSymbolEvent
This class contains the information detailing an event that
has occurred which involves a GrammarSymbol.
| Field Summary | |
static int |
SYMBOL_ADDED
Constant to indicate that the type of event is the addition of a grammar symbol to the internal parse forest of an Interpreter. |
static int |
SYMBOL_MODIFIED
Constant to indicate that the type of event is the modification of a grammar symbol which is part of the internal parse forest of an Interpreter. |
static int |
SYMBOL_REMOVED
Constant to indicate that the type of event is the removal of a grammar symbol from the internal parse forest of an Interpreter. |
| Constructor Summary | |
GrammarSymbolEvent(java.lang.Object source,
GrammarSymbol gs,
int type)
Creates a new GrammarSymbolEvent object. |
|
| Method Summary | |
int |
getEventType()
Returns the type of event. |
GrammarSymbol |
getGrammarSymbol()
Returns the grammar symbol involved in the event. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SYMBOL_ADDED
Interpreter.
public static final int SYMBOL_REMOVED
Interpreter.
public static final int SYMBOL_MODIFIED
Interpreter.
| Constructor Detail |
public GrammarSymbolEvent(java.lang.Object source,
GrammarSymbol gs,
int type)
source - The object that created the event.gs - The grammar symbol that the event involves.type - The type of event.| Method Detail |
public GrammarSymbol getGrammarSymbol()
public int getEventType()
|
CIDER Toolkit Version 0.3.0 |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||