|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
HistoryEntry |
addToBackHistory(String viewportId,
String url,
int index)
Adds an entry to the back history. |
HistoryEntry |
addToForwardHistory(String viewportId,
String url,
int index)
Adds an entry to the forward history. |
boolean |
canGoBack(String viewportId)
Checks whether the specified Viewport has a backward history. |
boolean |
canGoForward(String viewportId)
Checks whether the specified Viewport has a forward history. |
void |
clearAllHistories()
Clears all the history entries. |
void |
clearHistoryForViewport(Viewport v)
Clears the history for the specified Viewport. |
HistoryEntry[] |
getBackEntries(String viewportId)
Returns the whole back history for the specified Viewport. |
String[] |
getBackHistory(String viewportId)
Deprecated. Use getBackEntries(String) and HistoryEntry.getURL() instead. |
int |
getBackHistorySize()
Returns the limit for the back history size for all Viewports. |
String |
getCurrentLocation(String viewportId)
Returns the current location (url) for the specified Viewport. |
HistoryEntry[] |
getForwardEntries(String viewportId)
Returns the whole forward history for the specified Viewport. |
String[] |
getForwardHistory(String viewportId)
Deprecated. Use getForwardEntries(String) and HistoryEntry.getURL() instead. |
int |
getForwardHistorySize()
Returns the limit for the back history size for all Viewports. |
void |
goBack(String viewportId)
Displays the previous page in the backward history for the specified Viewport. |
void |
goBack(String viewportId,
int leap)
Displays the page in the backward history for the specified Viewport and leap. |
void |
goForward(String viewportId)
Displays the previous page in the forward history for the specified Viewport. |
void |
goForward(String viewportId,
int leap)
Displays the page in the forward history for the specified Viewport and leap. |
void |
goingSomewhere(ContentLoader cl,
String viewportId)
Makes sure that histories are updated if a location is rendered without the use of recorded histories, e.g. |
void |
reload(String viewportId)
Reloads the current page for the specified Viewport. |
void |
setBackHistorySize(int limit)
Sets the limit for the back history size for all Viewports. |
void |
setForwardHistorySize(int limit)
Sets the limit for the forward history size for all Viewports. |
| Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
| Method Detail |
public void setBackHistorySize(int limit)
Viewports.
limit - the maximum amount of URLs saved for each Viewport.public void setForwardHistorySize(int limit)
Viewports.
limit - the maximum amount of URLs saved for each Viewport.public int getBackHistorySize()
Viewports.
Viewport.public int getForwardHistorySize()
Viewports.
Viewport.public String[] getBackHistory(String viewportId)
getBackEntries(String) and HistoryEntry.getURL() instead.
Viewport.
viewportId - the id of the Viewport in question.
Strings.public String[] getForwardHistory(String viewportId)
getForwardEntries(String) and HistoryEntry.getURL() instead.
Viewport.
viewportId - the id of the Viewport in question.
Strings.public HistoryEntry[] getBackEntries(String viewportId)
Viewport.
viewportId - the id of the Viewport in question.
Strings.public HistoryEntry[] getForwardEntries(String viewportId)
Viewport.
viewportId - the id of the Viewport in question.
Strings.
public HistoryEntry addToForwardHistory(String viewportId,
String url,
int index)
viewportId - the id of the Viewport in question.url - the URL to add to the hostory.index - the index to add the URL at; 0 is first.
public HistoryEntry addToBackHistory(String viewportId,
String url,
int index)
viewportId - the id of the Viewport in question.url - the URL to add to the hostory.index - the index to add the URL at; 0 is first.
public String getCurrentLocation(String viewportId)
Viewport.
viewportId - the id of the Viewport in question.
String.public void reload(String viewportId)
Viewport.
viewportId - the id of the Viewport in question.public void goBack(String viewportId)
Viewport. This method is called by the deprectaed goBack()
method in StormBase, and calls the appropriate methods in
StormBase to render the content.
viewportId - the id of the Viewport in question.
public void goBack(String viewportId,
int leap)
Viewport and leap. The leap is the number of pages you want
to go back with just one method call. The correct url is found and the appropriate methods in
StormBase are called to render the content.
viewportId - the id of the Viewport in question.leap - the number of pages to go back.public void goForward(String viewportId)
Viewport. This method is called by the deprectaed goForward()
method in StormBase, and calls the appropriate methods in
StormBase to render the content.
viewportId - the id of the Viewport in question.
public void goForward(String viewportId,
int leap)
Viewport and leap. The leap is the number of pages you want
to go forward with just one method call. The correct url is found and the appropriate methods in
StormBase are called to render the content.
viewportId - the id of the Viewport in question.leap - the number of pages to go forward.
public void goingSomewhere(ContentLoader cl,
String viewportId)
StormBase.
viewportId - the id of the Viewport in question.public boolean canGoBack(String viewportId)
Viewport has a backward history.
viewportId - the id of the Viewport in question.
true if the Viewport has a forward history, false if not.public boolean canGoForward(String viewportId)
Viewport has a forward history.
viewportId - the id of the Viewport in question.
true if the Viewport has a forward history, false if not.public void clearAllHistories()
public void clearHistoryForViewport(Viewport v)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||