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()


Constructor Index

 o WindowSequencer()

Method Index

 o addWindowItem(WindowItem)
adds a windowItem to the end of the sequencer
 o first()
goes to the first window in the sequencer
 o getCurrent()
 o isAtBeginning()
 o isAtEnd()
 o next()
moves to the next window in the sequencer
 o prev()
moves to the previous window in the sequencer
 o removeAllElements()
removes all the windowItems in the sequencer

Constructors

 o WindowSequencer
 public WindowSequencer()

Methods

 o addWindowItem
 public void addWindowItem(WindowItem w)
adds a windowItem to the end of the sequencer

 o first
 public void first()
goes to the first window in the sequencer

 o next
 public void next()
moves to the next window in the sequencer

 o prev
 public void prev()
moves to the previous window in the sequencer

 o isAtEnd
 public boolean isAtEnd()
Returns:
true if the current window showing is the last window in the sequencer, false otherwise
 o isAtBeginning
 public boolean isAtBeginning()
Returns:
true if the current window showing is the first window in the sequencer, false otherwise
 o removeAllElements
 public void removeAllElements()
removes all the windowItems in the sequencer

 o getCurrent
 public WindowItem getCurrent()
Returns:
the current windowItem

All Packages  Class Hierarchy  This Package  Previous  Next  Index