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.


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.
calculateSize()
           undocumented
 void destroy()
           Destroys the info balloon. Call this method after the info balloon 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 info balloon.
 void setAutoPan(panMapBool)
           If the whole popup should be visible in the map-viewport after appending, set "true". it's 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(newSize)
           Resizes the balloon to the specified size.
 String toString()
           Returns a string representation of this info balloon.
 
Methods inherited from class IWWindowOverlay
getAnchor()
setAnchor(anchor)
setCoordinate(coordinate)
getCoordinate()
destroyWindowOverlay()
redraw()
Methods inherited from class IWMapElement
isDisplayed()
getParent()
setParent(parent)
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()
registerEvents(container)


Constructor Detail

IWInfoBalloon

IWInfoBalloon(map, coordinate, content)

Method Detail

afterAppend

void afterAppend()

calculateSize

calculateSize()

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(newSize)

toString

String toString()

Source-Code Copyright 2007-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:15 GMT+0100 (MEZ)