|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.webkit.WebBackForwardList
public class WebBackForwardList
This class contains the back/forward list for a WebView. WebView.copyBackForwardList() will return a copy of this class used to inspect the entries in the list.
| Constructor Summary | |
|---|---|
WebBackForwardList()
Construct a back/forward list used by clients of WebView. |
|
| Method Summary | |
|---|---|
(package private) void |
addHistoryItem(WebHistoryItem item)
Add a new history item to the list. |
protected WebBackForwardList |
clone()
Clone the entire object to be used in the UI thread by clients of WebView. |
(package private) void |
close(int nativeFrame)
Clear the back/forward list. |
(package private) boolean |
getClearPending()
Return the status of the clear flag. |
int |
getCurrentIndex()
Get the index of the current history item. |
WebHistoryItem |
getCurrentItem()
Return the current history item. |
WebHistoryItem |
getItemAtIndex(int index)
Get the history item at the given index. |
int |
getSize()
Get the total size of the back/forward list. |
(package private) static void |
restoreIndex(int nativeFrame,
int index)
Restore the history index. |
(package private) void |
setClearPending()
Mark the back/forward list as having a pending clear. |
(package private) void |
setCurrentIndex(int newIndex)
Set the new history index. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
WebBackForwardList()
| Method Detail |
|---|
public WebHistoryItem getCurrentItem()
public int getCurrentIndex()
public WebHistoryItem getItemAtIndex(int index)
index - The index to retrieve.public int getSize()
void setClearPending()
boolean getClearPending()
void addHistoryItem(WebHistoryItem item)
item - A new history item.void close(int nativeFrame)
protected WebBackForwardList clone()
clone in class Objectvoid setCurrentIndex(int newIndex)
newIndex - The new history index.
static void restoreIndex(int nativeFrame,
int index)
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||