org.gwtopenmaps.openlayers.client
Class Icon

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.Icon

public class Icon
extends OpenLayersObjectWrapper

Author:
Erdem Gunay

Constructor Summary
protected Icon(JSObject element)
           
  Icon(String url, Size size)
           
  Icon(String url, Size size, Pixel offset)
           
 
Method Summary
 String getZIndex()
           
static Icon narrowToIcon(JSObject element)
           
 void setSize(Size size)
           
 void setUrl(String url)
           
 void setZIndex(int zIndex)
           
 
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

Icon

protected Icon(JSObject element)

Icon

public Icon(String url,
            Size size)

Icon

public Icon(String url,
            Size size,
            Pixel offset)
Method Detail

narrowToIcon

public static Icon narrowToIcon(JSObject element)

setSize

public void setSize(Size size)
Parameters:
size - - size of the icon image

setUrl

public void setUrl(String url)
Parameters:
url - - url for the icon image

setZIndex

public void setZIndex(int zIndex)
Parameters:
zIndex -

getZIndex

public String getZIndex()


Copyright © 2011 sourceforge. All Rights Reserved.