org.wicketstuff.openlayers.api
Class Pixel

java.lang.Object
  extended by 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
 
Method Summary
 String getId()
           
 String getJSadd()
          create pixel as a variable..
protected  String getJSconstructor()
           
 Size getSize()
           
 int getX()
           
 int getY()
           
 void setSize(Size size)
           
 void setX(int x)
           
 void setY(int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pixel

public Pixel(Size size)
calculates offset via size

Parameters:
size -

Pixel

public Pixel(int x,
             int y)
Method Detail

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.