Top Inners Fields Constructors Methods
com.sun.webkit

public final Class BackForwardList

extends Object
Class Inheritance
Imports
java.net.MalformedURLException, .URL, java.util.Date, .LinkedList, .List, com.sun.webkit.event.WCChangeEvent, .WCChangeListener, com.sun.webkit.graphics.WCImage

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final List<WCChangeListener>
private final WebPage

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
private static native void
private static native Object
bflGet(long page, int index)

private static native int
bflGetCurrentIndex(long page)

private static native int
bflGetMaximumSize(long page)

private static native int
bflIndexOf(long page, long item, boolean reverse)

private static native boolean
bflIsEnabled(long page)

private static native BackForwardList.Entry[]
bflItemGetChildren(long item, long page)

private static native WCImage
bflItemGetIcon(long item)

private static native long
private static native String
bflItemGetTarget(long item)

private static native String
bflItemGetTitle(long item)

private static native String
bflItemGetURL(long item)

private static native boolean
private static native int
bflSetCurrentIndex(long page, int index)

private static native void
bflSetEnabled(long page, boolean flag)

private static native void
bflSetHostObject(long page, Object host)

private static native void
bflSetMaximumSize(long page, int size)

private static native int
bflSize(long page)

private boolean
canGoBack(int index)

public boolean
private boolean
canGoForward(int index)

public boolean
public void
public boolean
public BackForwardList.Entry
get(int index)

public WCChangeListener[]
public BackForwardList.Entry
public int
public int
public boolean
public boolean
public int
public boolean
public boolean
private void
public void
public void
setCurrentIndex(int index)

public void
setEnabled(boolean flag)

public void
setMaximumSize(int size)

public int
size()

public BackForwardList.Entry[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

listenerListback to summary
private final List<WCChangeListener> listenerList
pageback to summary
private final WebPage page

Constructor Detail

BackForwardListback to summary
pack-priv BackForwardList(WebPage page)

Method Detail

addChangeListenerback to summary
public void addChangeListener(WCChangeListener l)
bflClearBackForwardListForDRTback to summary
private static native void bflClearBackForwardListForDRT(long page)
bflGetback to summary
private static native Object bflGet(long page, int index)
bflGetCurrentIndexback to summary
private static native int bflGetCurrentIndex(long page)
bflGetMaximumSizeback to summary
private static native int bflGetMaximumSize(long page)
bflIndexOfback to summary
private static native int bflIndexOf(long page, long item, boolean reverse)
bflIsEnabledback to summary
private static native boolean bflIsEnabled(long page)
bflItemGetChildrenback to summary
private static native BackForwardList.Entry[] bflItemGetChildren(long item, long page)
bflItemGetIconback to summary
private static native WCImage bflItemGetIcon(long item)
bflItemGetLastVisitedDateback to summary
private static native long bflItemGetLastVisitedDate(long item)
bflItemGetTargetback to summary
private static native String bflItemGetTarget(long item)
bflItemGetTitleback to summary
private static native String bflItemGetTitle(long item)
bflItemGetURLback to summary
private static native String bflItemGetURL(long item)
bflItemIsTargetItemback to summary
private static native boolean bflItemIsTargetItem(long item)
bflSetCurrentIndexback to summary
private static native int bflSetCurrentIndex(long page, int index)
bflSetEnabledback to summary
private static native void bflSetEnabled(long page, boolean flag)
bflSetHostObjectback to summary
private static native void bflSetHostObject(long page, Object host)
bflSetMaximumSizeback to summary
private static native void bflSetMaximumSize(long page, int size)
bflSizeback to summary
private static native int bflSize(long page)
canGoBackback to summary
private boolean canGoBack(int index)
canGoBackback to summary
public boolean canGoBack()
canGoForwardback to summary
private boolean canGoForward(int index)
canGoForwardback to summary
public boolean canGoForward()
clearBackForwardListForDRTback to summary
public void clearBackForwardListForDRT()
containsback to summary
public boolean contains(BackForwardList.Entry e)
getback to summary
public BackForwardList.Entry get(int index)
getChangeListenersback to summary
public WCChangeListener[] getChangeListeners()
getCurrentEntryback to summary
public BackForwardList.Entry getCurrentEntry()
getCurrentIndexback to summary
public int getCurrentIndex()
getMaximumSizeback to summary
public int getMaximumSize()
goBackback to summary
public boolean goBack()
goForwardback to summary
public boolean goForward()
indexOfback to summary
public int indexOf(BackForwardList.Entry e)
isEmptyback to summary
public boolean isEmpty()
isEnabledback to summary
public boolean isEnabled()
notifyChangedback to summary
private void notifyChanged()
removeChangeListenerback to summary
public void removeChangeListener(WCChangeListener l)
setCurrentIndexback to summary
public void setCurrentIndex(int index)
setEnabledback to summary
public void setEnabled(boolean flag)
setMaximumSizeback to summary
public void setMaximumSize(int size)
sizeback to summary
public int size()
toArrayback to summary
public BackForwardList.Entry[] toArray()
com.sun.webkit back to summary

public final Class BackForwardList.Entry

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private BackForwardList.Entry[]
private WCImage
private boolean
private Date
private final List<WCChangeListener>
private long
pitem

Native pointer to the HistoryItem object.

private long
private String
private String
private URL

Constructor Summary

AccessConstructor and Description
private
Entry(long pitem, long ppage)

Method Summary

Modifier and TypeMethod and Description
public void
public BackForwardList.Entry[]
public WCImage
public Date
public String
public String
public URL
public boolean
private void
private void
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

childrenback to summary
private BackForwardList.Entry[] children
iconback to summary
private WCImage icon
isTargetItemback to summary
private boolean isTargetItem
lastVisitedDateback to summary
private Date lastVisitedDate
listenerListback to summary
private final List<WCChangeListener> listenerList
pitemback to summary
private long pitem

Native pointer to the HistoryItem object. If 0, the corresponding object has already been destroyed.

ppageback to summary
private long ppage
targetback to summary
private String target
titleback to summary
private String title
urlback to summary
private URL url

Constructor Detail

Entryback to summary
private Entry(long pitem, long ppage)

Method Detail

addChangeListenerback to summary
public void addChangeListener(WCChangeListener l)
getChildrenback to summary
public BackForwardList.Entry[] getChildren()
getIconback to summary
public WCImage getIcon()
getLastVisitedDateback to summary
public Date getLastVisitedDate()
getTargetback to summary
public String getTarget()
getTitleback to summary
public String getTitle()
getURLback to summary
public URL getURL()
isTargetItemback to summary
public boolean isTargetItem()
notifyItemChangedback to summary
private void notifyItemChanged()
notifyItemDestroyedback to summary
private void notifyItemDestroyed()
removeChangeListenerback to summary
public void removeChangeListener(WCChangeListener l)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
updateLastVisitedDateback to summary
private void updateLastVisitedDate()