org.wicketstuff.openlayers.api
Class Pixel
java.lang.Object
org.wicketstuff.openlayers.api.Pixel
- All Implemented Interfaces:
- Serializable
public class Pixel
- extends Object
- implements 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 String getJSconstructor()
getId
public String getId()
getJSadd
public String getJSadd()
- create pixel as a variable.. Possibly to add to icon
- Returns:
Copyright © 2008-2012. All Rights Reserved.