gov.lbl.genome.gui
Class History

java.lang.Object
  extended by gov.lbl.genome.gui.History

public class History
extends java.lang.Object

Title: History

Description: store all Status changes in the History

Copyright: Copyright (c) 2002 Ernest Orlando Lawrence Berkeley National Laboratory

Company: LBNL


Constructor Summary
History()
          History
 
Method Summary
 void clear()
          remove all saved information
 void clearAll()
          clear all available status (remove bulk information from status)
 Status getNext()
          return next available status
 Status getPrev()
          return previous available status
 boolean isNextEmpty()
          return true if there are no next available status
 boolean isPrevEmpty()
          return true if there are no more saved status in the history
 void push(Status status)
          push status in the history
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

History

public History()
History

Method Detail

push

public void push(Status status)
push status in the history

Parameters:
status - Status

getPrev

public Status getPrev()
return previous available status

Returns:
Status

getNext

public Status getNext()
return next available status

Returns:
Status

clear

public void clear()
remove all saved information


clearAll

public void clearAll()
clear all available status (remove bulk information from status)

See Also:
Status.clearStatus()

isNextEmpty

public boolean isNextEmpty()
return true if there are no next available status

Returns:
boolean

isPrevEmpty

public boolean isPrevEmpty()
return true if there are no more saved status in the history

Returns:
boolean