org.wicketstuff.openlayers.api
Class Pixel
java.lang.Object
org.wicketstuff.openlayers.api.Pixel
- All Implemented Interfaces:
- java.io.Serializable
public class Pixel
- extends java.lang.Object
- implements java.io.Serializable
represents http://dev.openlayers.org/apidocs/files/OpenLayers/BaseTypes/Pixel-js.html
- See Also:
- Serialized Form
|
Constructor Summary |
Pixel(int x,
int y)
|
Pixel(Size size)
calculates offset via size |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Pixel
public Pixel(Size size)
- calculates offset via size
- Parameters:
size -
Pixel
public Pixel(int x,
int y)
getSize
public Size getSize()
setSize
public void setSize(Size size)
getX
public int getX()
setX
public void setX(int x)
getY
public int getY()
setY
public void setY(int y)
getJSconstructor
protected java.lang.String getJSconstructor()
getId
public java.lang.String getId()
getJSadd
public java.lang.String getJSadd()
- create pixel as a variable.. Possibly to add to icon
- Returns:
Copyright © 2008-2010. All Rights Reserved.