org.objectweb.fractal.gui.history.model
Interface HistoryManager

All Known Implementing Classes:
BasicHistoryManager

public interface HistoryManager

A model of a navigation history.


Method Summary
 boolean canGoNext()
          Returns true if it is possible to go to a next view.
 boolean canGoPrevious()
          Returns true if it is possible to go back to a previous view.
 void clear()
          Clears the state of this model.
 void goNext()
          Goes to the next view.
 void goPrevious()
          Goes to the previous view.
 

Method Detail

canGoPrevious

public boolean canGoPrevious()
Returns true if it is possible to go back to a previous view.

Returns:
true if it is possible to go back to a previous view.

goPrevious

public void goPrevious()
Goes to the previous view.


canGoNext

public boolean canGoNext()
Returns true if it is possible to go to a next view.

Returns:
true if it is possible to go to a next view.

goNext

public void goNext()
Goes to the next view.


clear

public void clear()
Clears the state of this model. After a call to this method, canGoPrevious and canGoNext return false.