|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebHistory
Interface describing WebHistory for a browser
Method Summary | |
---|---|
int |
findEntry(String url)
Find the index of a history entry based on the passed in URL |
int |
getCount()
Returns the number of history entries in the History. |
WebHistoryEntry |
getEntryAtIndex(int index,
boolean modifyIndex)
Called to obtain HistoryEntry at a given index. |
List |
getHistoryEntries()
Get the List of HistoryEntry objects stored in the history |
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. |
Method Detail |
---|
int getCount()
List getHistoryEntries()
List
valueint getSelectedIndex()
int getMaxLength()
void setMaxLength(int length)
int findEntry(String url)
url
- a String
value
int
valueWebHistoryEntry 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
.
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |