org.shlublu.javax.util
Class ConsoleHistory

java.lang.Object
  |
  +--org.shlublu.javax.util.ConsoleHistory
All Implemented Interfaces:
History

public class ConsoleHistory
extends java.lang.Object
implements History

Creation : 28/12/2001 Console history browser Revision : 2002/01/02 : little bug fixed on prec()

Since:
0.3

Constructor Summary
ConsoleHistory(int iSize)
          CTor
 
Method Summary
 void newEntry(java.lang.String strEntry)
          Add an new entry
 java.lang.String next()
          Get the next entry
 java.lang.String prec()
          Get the precedent entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleHistory

public ConsoleHistory(int iSize)
CTor
Parameters:
int - iSize The list size
Method Detail

newEntry

public void newEntry(java.lang.String strEntry)
Add an new entry
Specified by:
newEntry in interface History
Parameters:
String - strEntry the entry

next

public java.lang.String next()
Get the next entry
Specified by:
next in interface History

prec

public java.lang.String prec()
Get the precedent entry
Specified by:
prec in interface History