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.


Variable Index

 o myDataTextFields
 o myRowSize
 o myTextFieldSize

Constructor Index

 o LRClosureSetWindow(int, ClosureChecker, State, Desktop)

Method Index

 o addOR(int)
when '|' is typed (the equivalence of "or"), the focus shifts to a new textfield and prompts the user with the production
 o clear()
function called when a clear button is clicked
 o clearData()
clear the data field
 o done()
function called when a Done button is clicked
 o getData()
gets the data field
 o highlightField(int)
highlights a certain row in yellow
 o setData(String[])
Sets the data field
 o setShowing(boolean)
sets the window showing or not
 o showAnswers()
function called when a show button is clicked
 o unhighlightAllFields()
unhighlights all textfields

Variables

 o myRowSize
 protected int myRowSize
 o myDataTextFields
 protected TextField myDataTextFields[]
 o myTextFieldSize
 protected int myTextFieldSize

Constructors

 o LRClosureSetWindow
 public LRClosureSetWindow(int rowsize,
                           ClosureChecker checker,
                           State state,
                           Desktop d)

Methods

 o 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

 o getData
 public String[] getData()
gets the data field

 o setData
 public void setData(String data[])
Sets the data field

 o clearData
 public void clearData()
clear the data field

 o highlightField
 public void highlightField(int row)
highlights a certain row in yellow

 o unhighlightAllFields
 public void unhighlightAllFields()
unhighlights all textfields

 o done
 public void done()
function called when a Done button is clicked

Overrides:
done in class WindowItem
 o clear
 public void clear()
function called when a clear button is clicked

Overrides:
clear in class WindowItem
 o setShowing
 public void setShowing(boolean b)
sets the window showing or not

Overrides:
setShowing in class WindowItem
 o 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