SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encapsulates the image src attribute and the hotspot.
Author: JANConstructor Summary | |
IWScaleDependentIcon(iconURL, hotspot, size, range)
Creates a new icon object. |
Method Summary | |
IWRange
|
getRange()
Returns the visible range of the image. |
void
|
setRange(range)
Sets the visible range of the image. |
String
|
toString()
Returns a string representation of this icon. |
Constructor Detail |
IWScaleDependentIcon(iconURL, hotspot, size, range)
String iconURL
- the image src attribute
IWPoint hotspot
- the default hotspot is set to new IWPoint(0,0)
IWSize size
- the default size of the image is set to new IWSize(0, 0)
IWRange range
- the default range of the image is set to new IWRange(0, 100)
Method Detail |
IWRange getRange()
IWRange
void setRange(range)
IWRange range
- the visible range of the image.
void
String toString()
String