org.wicketstuff.openlayers.api
Class Overlay
java.lang.Object
org.wicketstuff.openlayers.api.Overlay
- All Implemented Interfaces:
- Serializable, IClusterable, IJavascriptComponent
- Direct Known Subclasses:
- Marker
public abstract class Overlay
- extends Object
- implements IJavascriptComponent
Represents an Openlayers API's // legacy to be removed
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Overlay
public Overlay()
addBehavior
public Overlay addBehavior(OverlayListenerBehavior behavior)
removeBehavior
public Overlay removeBehavior(OverlayListenerBehavior behavior)
clearBehaviors
public Overlay clearBehaviors()
getBehaviors
public List<OverlayListenerBehavior> getBehaviors()
getOverlayJSVar
public String getOverlayJSVar()
getJSadd
public String getJSadd(IOpenLayersMap map)
- Specified by:
getJSadd in interface IJavascriptComponent
- Returns:
- the rendered javascript to add this component to the map
getJSremove
public String getJSremove(IOpenLayersMap map)
- Specified by:
getJSremove in interface IJavascriptComponent
- Returns:
- the rendered javascript to remove this component from the map.
getJSResourceReferences
public JavaScriptResourceReference[] getJSResourceReferences()
- Description copied from interface:
IJavascriptComponent
- In some cases a javascript component will provide its own javascript resource. This is used
by the map to add in the references.
- Specified by:
getJSResourceReferences in interface IJavascriptComponent
- Returns:
getId
public String getId()
- Description copied from interface:
IJavascriptComponent
- Note: currently the naming of a component is related to the concrete class i.e. a WMS layer
would be 'wms' + getId() like: 'wms123456'.
The id returned here is the number part not the layer identifier part.
- Specified by:
getId in interface IJavascriptComponent
- Returns:
- the unique id for this component. Used for naming purposes.
getJSconstructor
protected abstract String getJSconstructor()
Copyright © 2008-2012. All Rights Reserved.