xmlBlaster 2.2.0 API

org.xmlBlaster
Class MainGUI.QueryHistory

java.lang.Object
  extended by org.xmlBlaster.MainGUI.QueryHistory
Enclosing class:
MainGUI

private class MainGUI.QueryHistory
extends java.lang.Object

Implements a stack to hold the previous XPath queries.


Field Summary
private  int currentIndex
           
private  java.util.Vector stack
           
 
Constructor Summary
MainGUI.QueryHistory()
          Constructs a history stack.
 
Method Summary
 void changedHistory(java.lang.String stmt)
          Add new statement into history.
(package private)  java.lang.String getFirst()
          Access first (the oldest), sets current to first.
(package private)  java.lang.String getLast()
          Access last (the newest), sets current to last.
(package private)  java.lang.String getNext()
          Access next XPath query.
(package private)  java.lang.String getPrev()
          Access previous XPath query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stack

private java.util.Vector stack

currentIndex

private int currentIndex
Constructor Detail

MainGUI.QueryHistory

public MainGUI.QueryHistory()
Constructs a history stack.

Method Detail

changedHistory

public void changedHistory(java.lang.String stmt)
Add new statement into history.


getPrev

java.lang.String getPrev()
Access previous XPath query.


getNext

java.lang.String getNext()
Access next XPath query.


getLast

java.lang.String getLast()
Access last (the newest), sets current to last.


getFirst

java.lang.String getFirst()
Access first (the oldest), sets current to first.


xmlBlaster 2.2.0 API

Copyright © 1999-2014 The xmlBlaster.org contributers.