All Packages Class Hierarchy This Package Previous Next Index
Class ccl.util.History
java.lang.Object
|
+----ccl.util.History
- public class History
- extends Object
A collection class to store history objects like url
objects in a web browser or commands in a shell.
- Version:
- $Id: History.java,v 1.3 1999/11/22 13:48:40 clemens Exp clemens $
- Author:
-
Chr. Clemens Lee
<
clemens@kclee.com
>
-
_lastIndex
-
-
_maxIndex
-
-
_nextIndex
-
-
_vHistory
-
-
MAX_SIZE
-
-
History()
-
-
add(Object)
-
-
back()
-
-
canBack()
- Philosophy is, you can't get back from first
object to start status.
-
canForward()
-
-
forward()
-
-
getBackElement()
- What the name says.
-
toString()
-
MAX_SIZE
private static final int MAX_SIZE
_vHistory
private Vector _vHistory
_nextIndex
private int _nextIndex
_maxIndex
private int _maxIndex
_lastIndex
private int _lastIndex
History
public History()
add
public void add(Object oNext_)
back
public Object back()
forward
public Object forward()
canForward
public boolean canForward()
canBack
public boolean canBack()
- Philosophy is, you can't get back from first
object to start status. Like you can't go back
from first netscape page to empty page.
getBackElement
public Object getBackElement()
- What the name says. Does not pop it, so it remains on the stack.
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index