org.lobobrowser.gui
Class NavigationEngine

java.lang.Object
  extended by org.lobobrowser.gui.NavigationEngine

public class NavigationEngine
extends java.lang.Object

This class stores navigation back/forward state for a frame.

Note: This class is not thread safe on its own.


Constructor Summary
NavigationEngine()
           
 
Method Summary
 void addNavigationEntry(NavigationEntry entry)
           
 NavigationEntry back()
           
 NavigationEntry findEntry(java.lang.String absoluteURL)
           
 NavigationEntry forward()
           
 NavigationEntry[] getBackNavigationEntries()
          Gets prior navigation entries, in descending order.
 NavigationEntry getCurrentEntry()
           
 NavigationEntry[] getForwardNavigationEntries()
           
 int getLength()
           
 boolean hasNewEntryWithGET(int offset)
           
 boolean hasNext()
           
 boolean hasNextWithGET()
           
 boolean hasPrev()
           
 boolean hasPrevWithGET()
           
 NavigationEntry move(int offset)
           
 boolean moveTo(NavigationEntry entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationEngine

public NavigationEngine()
Method Detail

getCurrentEntry

public NavigationEntry getCurrentEntry()

addNavigationEntry

public void addNavigationEntry(NavigationEntry entry)

hasNext

public boolean hasNext()

hasPrev

public boolean hasPrev()

hasNextWithGET

public boolean hasNextWithGET()

hasPrevWithGET

public boolean hasPrevWithGET()

hasNewEntryWithGET

public boolean hasNewEntryWithGET(int offset)

back

public NavigationEntry back()

forward

public NavigationEntry forward()

move

public NavigationEntry move(int offset)

moveTo

public boolean moveTo(NavigationEntry entry)

getForwardNavigationEntries

public NavigationEntry[] getForwardNavigationEntries()

getBackNavigationEntries

public NavigationEntry[] getBackNavigationEntries()
Gets prior navigation entries, in descending order.


findEntry

public NavigationEntry findEntry(java.lang.String absoluteURL)

getLength

public int getLength()


SourceForge.net LogoCopyright © 2005, 2006, 2007 The Lobo Project. All Rights Reserved.
[Lobo Home]