All Packages Class Hierarchy This Package Previous Next Index
Class javaParse.LRStringTesterWindow
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----javaParse.WindowItem
|
+----javaParse.StringTesterWindow
|
+----javaParse.LRStringTesterWindow
- public class LRStringTesterWindow
- extends StringTesterWindow
LRStringTesterWindow - the window for the LR string testing
and tree drawing.
-
LRStringTesterWindow(ParseTable, GrammarInfo, TableWindow)
-
-
changeView(String)
- changes the tree drawing view on the canvas
-
returnToGrammar()
- override return to Grammar so that the user can be prompted
as to whether or not he/she wants to return to the Table or
the grammar (used in case there are conflicts
-
start()
-
-
step()
-
LRStringTesterWindow
public LRStringTesterWindow(ParseTable table,
GrammarInfo info,
TableWindow tableWindow)
- Parameters:
- table - the ParseTable holding all the information for creating
the tree
- info - the grammar's GrammarInfo
- tableWindow - the tableWindow for the grammar (used so that cells
may be highlighted when the user steps through the parsing)
step
public void step()
- Overrides:
- step in class StringTesterWindow
start
public void start()
- Overrides:
- start in class StringTesterWindow
returnToGrammar
public void returnToGrammar()
- override return to Grammar so that the user can be prompted
as to whether or not he/she wants to return to the Table or
the grammar (used in case there are conflicts
- Overrides:
- returnToGrammar in class WindowItem
changeView
public void changeView(String viewType)
- changes the tree drawing view on the canvas
- Parameters:
- viewType - the view type to which the view will
be changed
- Overrides:
- changeView in class StringTesterWindow
All Packages Class Hierarchy This Package Previous Next Index