Class IWInfoBalloon

Extends IWWindowOverlay.

IWInfoBalloon is an example implementation of the IWWindowOverlay interface. IWInfoBalloon can be used to display informations in front of the map.

Author: JAN, KUN

Constructor Summary
IWInfoBalloon(map, coordinate, content)
            Creates a new window object.
 
Method Summary
 void afterAppend()
           We use the callback method for positioning the map and displaying the info balloon.
 void destroy()
           Destroys the infoballoon. Call this method after the infoballoon has been removed from the map by calling the removeWindowOverlay method.
 String getCloseImage()
           Returns the path to the image used by the separators.
 Object getContent()
           Returns the content of the infoballoon.
 IWSize getSize()
           Returns the size of the infoballoon.
 void setAutoPan(panMapBool)
           If the whole popup should be visible in the map-viewport after appending, set "true". its possible that the popup intersects the map-viewport-bounds. Default is "true".
 void setCloseImage(imagePath)
           Sets the path to the image used by the close button.
 void setContent(newContent)
           Sets the content of the infoballoon.
 void setSize(size)
           Resizes the balloon to the specified size.
 String toString()
           Returns a string representation of this infoballoon.
 
Methods inherited from class IWWindowOverlay
getAnchor()
setAnchor(newAnchor)
setCoordinate(coordinate)
getCoordinate()
destroyWindowOverlay()
redraw()
Methods inherited from class IWMapElement
isDisplayed()
getParent()
setParent(newParent)
isVisible()
setVisible(visible)
setPrintable(printable)
isPrintable()
setContainerClassname(classname)
getContainer()
setContainer(newContainer)
setId(id)
getId()
onContextMenu(event)
onMouseUp(event)
onMouseDown(event)
onMouseMove(event)
onMouseOut(event)
onMouseOver(event)
onClick(event)
onDblClick(event)
onSelect(event)
onMouseWheel(event)
beforeAppend()
beforeRemove()
afterRemove()
destroyMapElement()


Constructor Detail

IWInfoBalloon

IWInfoBalloon(map, coordinate, content)

Method Detail

afterAppend

void afterAppend()

destroy

void destroy()

getCloseImage

String getCloseImage()

getContent

Object getContent()

getSize

IWSize getSize()

setAutoPan

void setAutoPan(panMapBool)

setCloseImage

void setCloseImage(imagePath)

setContent

void setContent(newContent)

setSize

void setSize(size)

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)