org.gwtopenmaps.openlayers.client.control
Class NavigationHistoryOptions

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
              extended by org.gwtopenmaps.openlayers.client.control.ControlOptions
                  extended by org.gwtopenmaps.openlayers.client.control.NavigationHistoryOptions

public class NavigationHistoryOptions
extends ControlOptions

Author:
giuseppe

Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
NavigationHistoryOptions()
           
 
Method Summary
 void setAutoActivate(boolean autoActivate)
          APIProperty: autoActivate {Boolean} Activate the control when it is added to a map.
 void setClearOnDeactivate(boolean clearOnDeactivate)
          Property: clearOnDeactivate {Boolean} Clear the history when the control is deactivated.
 void setLimit(int limit)
          APIProperty: limit {Integer} Optional limit on the number of history items to retain.
 
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

NavigationHistoryOptions

public NavigationHistoryOptions()
Method Detail

setLimit

public void setLimit(int limit)
APIProperty: limit {Integer} Optional limit on the number of history items to retain. If null, there is no limit. Default is 50.


setAutoActivate

public void setAutoActivate(boolean autoActivate)
APIProperty: autoActivate {Boolean} Activate the control when it is added to a map. Default is true.


setClearOnDeactivate

public void setClearOnDeactivate(boolean clearOnDeactivate)
Property: clearOnDeactivate {Boolean} Clear the history when the control is deactivated. Default is false.



Copyright © 2011 sourceforge. All Rights Reserved.