org.gwtopenmaps.openlayers.client.strategy
Class FixedStrategy

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.strategy.Strategy
              extended by org.gwtopenmaps.openlayers.client.strategy.FixedStrategy

public class FixedStrategy
extends Strategy

Author:
Maciej Jezierski - Pinocchio, lorenzo A simple strategy that requests features once and never requests new data

Constructor Summary
  FixedStrategy()
           
  FixedStrategy(boolean preload)
           
  FixedStrategy(FixedStrategyOptions options)
           
protected FixedStrategy(JSObject strategy)
          TODO ahhughes - should this be public or private?
  FixedStrategy(JSObject strategy, boolean preload)
           
 
Method Summary
 void destroy()
          Clean up the strategy.
 void preload(boolean preload)
          Load data before layer made visible.
 
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

FixedStrategy

protected FixedStrategy(JSObject strategy)
TODO ahhughes - should this be public or private?

Parameters:
strategy -

FixedStrategy

public FixedStrategy(FixedStrategyOptions options)

FixedStrategy

public FixedStrategy(JSObject strategy,
                     boolean preload)

FixedStrategy

public FixedStrategy(boolean preload)

FixedStrategy

public FixedStrategy()
Method Detail

destroy

public void destroy()
Clean up the strategy.


preload

public void preload(boolean preload)
Load data before layer made visible. Enabling this may result in considerable overhead if your application loads many data layers that are not visible by default. Default is false.

Parameters:
preload -


Copyright © 2011 sourceforge. All Rights Reserved.