org.gwtopenmaps.openlayers.client
Class OpenLayersObjectWrapper

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
Direct Known Subclasses:
Bounds, Event, Events, Feature, Filter, Format, Geometry, GMapType, Handler, Icon, JBoolean, LonLat, OpenLayersEObjectWrapper, Pixel, Popup, Protocol, RendererOptions, Rule, Size, Strategy, Style, StyleMap

public class OpenLayersObjectWrapper
extends JSObjectWrapper

Wrapper object for OpenLayer objects.

Author:
Erdem Gunay, Edwin Commandeur

Constructor Summary
protected OpenLayersObjectWrapper(JSObject openLayersObject)
           
 
Method Summary
 String getClassName()
          Each OpenLayers object has a CLASS_NAME property.
 Events getEvents()
           
static OpenLayersObjectWrapper narrowToOpenLayersObjectWrapper(JSObject element)
           
 
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

OpenLayersObjectWrapper

protected OpenLayersObjectWrapper(JSObject openLayersObject)
Method Detail

narrowToOpenLayersObjectWrapper

public static OpenLayersObjectWrapper narrowToOpenLayersObjectWrapper(JSObject element)

getEvents

public Events getEvents()
Returns:
Events - see Events, null if the object does not fire events via event system.

getClassName

public String getClassName()
Each OpenLayers object has a CLASS_NAME property. Some classes, like Layer and it's subclasses have a public id property which is generally composed of the CLASS_NAME + _Nr where Nr is some integer generated by OpenLayers

Returns:
String - fully qualified OpenLayers class name


Copyright © 2011 sourceforge. All Rights Reserved.