|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.DocumentHistory
Stores the list of visited sites. This history can be accessed with the Back and Forward buttons in the main browser window.
| Constructor Summary | |
DocumentHistory()
The constructor that is used by the project. |
|
| Method Summary | |
void |
addURL(XLink link)
Stores a new document in the history. |
XLink |
backwardsInHistory()
Goes backwards in document history This method shouln't be called if the current document is in the beginning of the history, that is one cannot go backwards in document history. |
boolean |
canGoBack()
|
boolean |
canGoForward()
|
void |
dumpHistory()
|
XLink |
forwardInHistory()
Goes forward in document history This method shouln't be called if the current document is in the end of the history, that is one cannot go forward in document history. |
java.util.Vector |
getHistory()
return the vector containing the whole history |
XLink |
getLastDocument()
|
protected XLink |
getLinkAtFinger(int f)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentHistory()
| Method Detail |
public XLink backwardsInHistory()
public XLink forwardInHistory()
public XLink getLastDocument()
protected XLink getLinkAtFinger(int f)
public void dumpHistory()
public void addURL(XLink link)
Browser when a new document is requested
using retrieveResource method. See the Technical Requirements
Specification for further details on document history.
public boolean canGoBack()
public boolean canGoForward()
public java.util.Vector getHistory()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||