de.enough.polish.browser
Class HistoryEntry

java.lang.Object
  extended by de.enough.polish.browser.HistoryEntry

public class HistoryEntry
extends Object

Stores the URL of a previously shown page as well as some UI data like scrolloffset and focused item.

Copyright Enough Software 2008

Author:
Robert Virkus, j2mepolish@enough.de

Constructor Summary
HistoryEntry(String url, int focusedIndex, int scrollOffset)
           
 
Method Summary
 int getFocusedIndex()
           
 int getScrollOffset()
           
 String getUrl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistoryEntry

public HistoryEntry(String url,
                    int focusedIndex,
                    int scrollOffset)
Method Detail

getUrl

public String getUrl()
Returns:
the url

getFocusedIndex

public int getFocusedIndex()
Returns:
the focusedIndex

getScrollOffset

public int getScrollOffset()
Returns:
the scrollOffset