public final class BackForwardList
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BackForwardList.Entry |
Modifier and Type | Field and Description |
---|---|
private java.util.List<WCChangeListener> |
listenerList |
private WebPage |
page |
Constructor and Description |
---|
BackForwardList(WebPage page) |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(WCChangeListener l) |
private static void |
bflClearBackForwardListForDRT(long page) |
private static java.lang.Object |
bflGet(long page,
int index) |
private static int |
bflGetCurrentIndex(long page) |
private static int |
bflGetMaximumSize(long page) |
private static int |
bflIndexOf(long page,
long item,
boolean reverse) |
private static boolean |
bflIsEnabled(long page) |
private static BackForwardList.Entry[] |
bflItemGetChildren(long item,
long page) |
private static WCImage |
bflItemGetIcon(long item) |
private static long |
bflItemGetLastVisitedDate(long item) |
private static java.lang.String |
bflItemGetTarget(long item) |
private static java.lang.String |
bflItemGetTitle(long item) |
private static java.lang.String |
bflItemGetURL(long item) |
private static boolean |
bflItemIsTargetItem(long item) |
private static int |
bflSetCurrentIndex(long page,
int index) |
private static void |
bflSetEnabled(long page,
boolean flag) |
private static void |
bflSetHostObject(long page,
java.lang.Object host) |
private static void |
bflSetMaximumSize(long page,
int size) |
private static int |
bflSize(long page) |
boolean |
canGoBack() |
private boolean |
canGoBack(int index) |
boolean |
canGoForward() |
private boolean |
canGoForward(int index) |
void |
clearBackForwardListForDRT() |
boolean |
contains(BackForwardList.Entry e) |
BackForwardList.Entry |
get(int index) |
WCChangeListener[] |
getChangeListeners() |
BackForwardList.Entry |
getCurrentEntry() |
int |
getCurrentIndex() |
int |
getMaximumSize() |
boolean |
goBack() |
boolean |
goForward() |
int |
indexOf(BackForwardList.Entry e) |
boolean |
isEmpty() |
boolean |
isEnabled() |
private void |
notifyChanged() |
void |
removeChangeListener(WCChangeListener l) |
void |
setCurrentIndex(int index) |
void |
setEnabled(boolean flag) |
void |
setMaximumSize(int size) |
int |
size() |
BackForwardList.Entry[] |
toArray() |
private final WebPage page
private final java.util.List<WCChangeListener> listenerList
BackForwardList(WebPage page)
public int size()
public int getMaximumSize()
public void setMaximumSize(int size)
public int getCurrentIndex()
public boolean isEmpty()
public void setEnabled(boolean flag)
public boolean isEnabled()
public BackForwardList.Entry get(int index)
public BackForwardList.Entry getCurrentEntry()
public void clearBackForwardListForDRT()
public int indexOf(BackForwardList.Entry e)
public boolean contains(BackForwardList.Entry e)
public BackForwardList.Entry[] toArray()
public void setCurrentIndex(int index)
private boolean canGoBack(int index)
public boolean canGoBack()
public boolean goBack()
private boolean canGoForward(int index)
public boolean canGoForward()
public boolean goForward()
public void addChangeListener(WCChangeListener l)
public void removeChangeListener(WCChangeListener l)
public WCChangeListener[] getChangeListeners()
private void notifyChanged()
private static java.lang.String bflItemGetURL(long item)
private static java.lang.String bflItemGetTitle(long item)
private static WCImage bflItemGetIcon(long item)
private static long bflItemGetLastVisitedDate(long item)
private static boolean bflItemIsTargetItem(long item)
private static BackForwardList.Entry[] bflItemGetChildren(long item, long page)
private static java.lang.String bflItemGetTarget(long item)
private static void bflClearBackForwardListForDRT(long page)
private static int bflSize(long page)
private static int bflGetMaximumSize(long page)
private static void bflSetMaximumSize(long page, int size)
private static int bflGetCurrentIndex(long page)
private static int bflIndexOf(long page, long item, boolean reverse)
private static void bflSetEnabled(long page, boolean flag)
private static boolean bflIsEnabled(long page)
private static java.lang.Object bflGet(long page, int index)
private static int bflSetCurrentIndex(long page, int index)
private static void bflSetHostObject(long page, java.lang.Object host)