|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.control.Control
org.gwtopenmaps.openlayers.client.control.NavigationHistory
public class NavigationHistory
| Field Summary |
|---|
| Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
|---|
eventListeners |
| Constructor Summary | |
|---|---|
NavigationHistory()
|
|
NavigationHistory(JSObject element)
TODO hughesa - should this be protected or public? |
|
NavigationHistory(NavigationHistoryOptions options)
|
|
| Method Summary | |
|---|---|
void |
autoActivate(boolean autoActivate)
Activate the control when it is added to a map. |
void |
clear()
APIMethod: clear Clear history. |
Control |
getNext()
|
Control |
getPrevious()
|
void |
limit(int limit)
Optional limit on the number of history items to retain. |
void |
next()
Switch map view to next step in browser's history. |
JSObject |
nextTrigger()
TODO ahhughes, should this return JSObject or void? APIMethod: nextTrigger Restore the next state. |
void |
previous()
Switch map view to a previous step in browser's history. |
void |
previousTrigger()
Method: previousTrigger Restore the previous state. |
| Methods inherited from class org.gwtopenmaps.openlayers.client.control.Control |
|---|
activate, addControlActivateListener, addControlDeactivateListener, deactivate, disable, enable, getControlId, getLayer, getMap, getZIndex, isActive, narrowToControl, setAutoActivate |
| Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper |
|---|
getListeners, narrowToOpenLayersEObjectWrapper, removeListener |
| Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper |
|---|
getClassName, getEvents, narrowToOpenLayersObjectWrapper |
| Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper |
|---|
getJSObject, setJSObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NavigationHistory(JSObject element)
element - public NavigationHistory()
public NavigationHistory(NavigationHistoryOptions options)
| Method Detail |
|---|
public void previous()
public void next()
public void limit(int limit)
limit - - number of itemspublic void autoActivate(boolean autoActivate)
autoActivate - - set automatic activation true or falsepublic JSObject nextTrigger()
void -
public Control getPrevious()
public Control getNext()
public void previousTrigger()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||