|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mozilla.jrex.navigation.History
History data wrapper class.
Constructor Summary | |
History()
|
Method Summary | |
Collection |
elements()
Called to obtain a list for all the HistoryEntry's stored in session history. |
int |
getCount()
Returns the number of history entries in the History. |
HistoryEntry |
getEntryAtIndex(int index,
boolean modifyIndex)
Called to obtain HistoryEntry at a given index. |
int |
getMaxLength()
Returns the maximum number of history entries allowed. |
int |
getSelectedIndex()
Returns the selected history entry index. |
void |
purgeHistory(int numEntries)
Called to purge older HistoryEntry from history. |
void |
setMaxLength(int length)
Sets the maximum number of history entries allowed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public History()
Method Detail |
public int getCount()
public int getSelectedIndex()
public int getMaxLength()
public void setMaxLength(int length)
public HistoryEntry getEntryAtIndex(int index, boolean modifyIndex)
index
- The index value whose entry is requested.modifyIndex
- If true
indicates the current
index of session history should be modified
to the parameter index
.
public void purgeHistory(int numEntries)
numEntries
- The number of toplevel HistoryEntry's to be
purged from history. During purge operation,
the latest HistoryEntry's are maintained and older
'numEntries' HistoryEntry's are removed from history.
Note:- presently this function does nothing.public Collection elements()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |