Class IWIcon

Encapsulates the image attributes: src, hotspot and image size.

Author: JAN

Constructor Summary
IWIcon(newUrl, newHotspot, newSize)
            Creates a new icon object.
 
Method Summary
 IWPoint getHotspot()
           Returns the hotspot of the image.
 IWSize getSize()
           Returns the size of the image in pixel.
 String getUrl()
           Returns the url of the image.
 void setHotspot(newHotspot)
           Sets the hotspot of the image. image corner.
 void setSize(newSize)
           Sets the size of the image in pixel.
 void setUrl(newUrl)
           Sets the url of the image.
 String toString()
           Returns a string representation of this icon.
 
Constructor Detail

IWIcon

IWIcon(newUrl, newHotspot, newSize)

Method Detail

getHotspot

IWPoint getHotspot()

getSize

IWSize getSize()

getUrl

String getUrl()

setHotspot

void setHotspot(newHotspot)

setSize

void setSize(newSize)

setUrl

void setUrl(newUrl)

toString

String toString()

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:52 GMT+0100 (MEZ)