All Packages Class Hierarchy This Package Previous Next Index
Class javaParse.LRClosureSetWindow
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----javaParse.WindowItem
|
+----javaParse.LRClosureSetWindow
- public class LRClosureSetWindow
- extends WindowItem
LRClosureSetWindow - the window for a closure set for a certain
state in the dfa.
-
myDataTextFields
-
-
myRowSize
-
-
myTextFieldSize
-
-
LRClosureSetWindow(int, ClosureChecker, State, Desktop)
-
-
addOR(int)
- when '|' is typed (the equivalence of "or"), the focus
shifts to a new textfield and
prompts the user with the production
-
clear()
- function called when a clear button is clicked
-
clearData()
-
clear the data field
-
done()
- function called when a Done button is clicked
-
getData()
- gets the data field
-
highlightField(int)
- highlights a certain row in yellow
-
setData(String[])
- Sets the data field
-
setShowing(boolean)
- sets the window showing or not
-
showAnswers()
- function called when a show button is clicked
-
unhighlightAllFields()
- unhighlights all textfields
myRowSize
protected int myRowSize
myDataTextFields
protected TextField myDataTextFields[]
myTextFieldSize
protected int myTextFieldSize
LRClosureSetWindow
public LRClosureSetWindow(int rowsize,
ClosureChecker checker,
State state,
Desktop d)
addOR
public void addOR(int num)
- when '|' is typed (the equivalence of "or"), the focus
shifts to a new textfield and
prompts the user with the production
getData
public String[] getData()
- gets the data field
setData
public void setData(String data[])
- Sets the data field
clearData
public void clearData()
- clear the data field
highlightField
public void highlightField(int row)
- highlights a certain row in yellow
unhighlightAllFields
public void unhighlightAllFields()
- unhighlights all textfields
done
public void done()
- function called when a Done button is clicked
- Overrides:
- done in class WindowItem
clear
public void clear()
- function called when a clear button is clicked
- Overrides:
- clear in class WindowItem
setShowing
public void setShowing(boolean b)
- sets the window showing or not
- Overrides:
- setShowing in class WindowItem
showAnswers
public void showAnswers()
- function called when a show button is clicked
- Overrides:
- showAnswers in class WindowItem
All Packages Class Hierarchy This Package Previous Next Index