All Packages Class Hierarchy This Package Previous Next Index
Class javaParse.WindowSequencer
java.lang.Object
|
+----javaParse.WindowSequencer
- public class WindowSequencer
- extends Object
A class used to keep track of the ordering of
windows for a certain type of grammar. WindowItems are added to the
sequencer, and then the user may iterate though the items.
public void addWindowItem( WindowItem w)
public void first()
public void next()
public boolean isAtEnd()
public boolean isAtBeginning()
public WindowItem getCurrent()
public void removeAllElements()
-
WindowSequencer()
-
-
addWindowItem(WindowItem)
- adds a windowItem to the end of the sequencer
-
first()
- goes to the first window in the sequencer
-
getCurrent()
-
-
isAtBeginning()
-
-
isAtEnd()
-
-
next()
- moves to the next window in the sequencer
-
prev()
- moves to the previous window in the sequencer
-
removeAllElements()
- removes all the windowItems in the sequencer
WindowSequencer
public WindowSequencer()
addWindowItem
public void addWindowItem(WindowItem w)
- adds a windowItem to the end of the sequencer
first
public void first()
- goes to the first window in the sequencer
next
public void next()
- moves to the next window in the sequencer
prev
public void prev()
- moves to the previous window in the sequencer
isAtEnd
public boolean isAtEnd()
- Returns:
- true if the current window showing is the last window
in the sequencer, false otherwise
isAtBeginning
public boolean isAtBeginning()
- Returns:
- true if the current window showing is the first window
in the sequencer, false otherwise
removeAllElements
public void removeAllElements()
- removes all the windowItems in the sequencer
getCurrent
public WindowItem getCurrent()
- Returns:
- the current windowItem
All Packages Class Hierarchy This Package Previous Next Index