SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface which has to be implemented by all window overlays.
Author: JANConstructor Summary | |
IWWindowOverlay(map, coordinate)
WindowOverlay interface. |
Method Summary | |
void
|
destroyWindowOverlay()
Destroys the window overlay. Releases all DOM references and event listeners. |
IWPoint
|
getAnchor()
Returns the anchor of the window overlay. |
IWCoordinate
|
getCoordinate()
Returns the coordinate for this window overlay. |
void
|
redraw()
Redraws the window overlay. Calculates and sets the new pixel position where the window overlay appears on the map. |
void
|
setAnchor(newAnchor)
Sets the anchor of the window overlay. |
void
|
setCoordinate(coordinate)
Sets the coordinate for this window overlay. |
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() |
afterAppend() |
beforeRemove() |
afterRemove() |
destroyMapElement() |
Constructor Detail |
IWWindowOverlay(map, coordinate)
IWMap map
- the map
IWCoordinate coordinate
- the coordinate where the window overlay appears on the map
Method Detail |
void destroyWindowOverlay()
void
IWPoint getAnchor()
IWPoint
IWCoordinate getCoordinate()
IWCoordinate
void redraw()
void
void setAnchor(newAnchor)
IWPoint newAnchor
void
void setCoordinate(coordinate)
IWCoordinate coordinate
void