Class IWMapElement

An interface which has to be implemented by all map elements such as overlays and controls.


Constructor Summary
IWMapElement(parent)
            MapElement interface.
 
Method Summary
 void afterAppend()
           Callback method. This method will be called after the element has been added to the DOM. event.
 void afterRemove()
           Callback method. This method will be called after the element has been removed from the DOM. this event.
 void beforeAppend()
           Callback method. This method will be called before the element has been added to the DOM. event.
 void beforeRemove()
           Callback method. This method will be called before the element has been removed from the DOM. this event.
 void destroyMapElement()
           Releases all event listeners from the container.
 HTMLDivElement getContainer()
           Returns the DIV container for this map element.
 String getId()
           Returns the id for this element.
 HTMLDivElement getParent()
           Returns the parent container for this element.
 boolean isDisplayed()
           Checks if the element has been added to the DOM tree.
 boolean isPrintable()
           Returns true if the element is printable otherwise false.
 boolean isVisible()
           Returns true if the container is visible, otherwise false.
 void onClick(event)
           Callback method for onclick events.
 void onContextMenu(event)
           Callback method for oncontextmenu events.
 void onDblClick(event)
           Callback method for ondblclick events.
 void onMouseDown(event)
           Callback method for onmousedown events.
 void onMouseMove(event)
           Callback method for onmousemove events.
 void onMouseOut(event)
           Callback method for onmouseout events.
 void onMouseOver(event)
           Callback method for onmouseover events.
 void onMouseUp(event)
           Callback method for onmouseup events.
 void onMouseWheel(event)
           Callback method for onmousewheel events.
 void onSelect(event)
           Callback method for onselect events.
registerEvents(container)
           undocumented
 void setContainer(newContainer)
           Sets the DIV container for this map element.
setContainerClassname(classname)
           Sets the classname of the container. containers classname because it preserves the classname set by setPrintable(false).
 void setId(id)
           Sets the id for this element.
 HTMLDivElement setParent(parent)
           Sets the parent container for this element.
 void setPrintable(printable)
           Enables or disables the element for printing.
 void setVisible(visible)
           Sets the visibility of this control to visible or hidden.
 
Constructor Detail

IWMapElement

IWMapElement(parent)

Method Detail

afterAppend

void afterAppend()

afterRemove

void afterRemove()

beforeAppend

void beforeAppend()

beforeRemove

void beforeRemove()

destroyMapElement

void destroyMapElement()

getContainer

HTMLDivElement getContainer()

getId

String getId()

getParent

HTMLDivElement getParent()

isDisplayed

boolean isDisplayed()

isPrintable

boolean isPrintable()

isVisible

boolean isVisible()

onClick

void onClick(event)

onContextMenu

void onContextMenu(event)

onDblClick

void onDblClick(event)

onMouseDown

void onMouseDown(event)

onMouseMove

void onMouseMove(event)

onMouseOut

void onMouseOut(event)

onMouseOver

void onMouseOver(event)

onMouseUp

void onMouseUp(event)

onMouseWheel

void onMouseWheel(event)

onSelect

void onSelect(event)

registerEvents

registerEvents(container)

setContainer

void setContainer(newContainer)

setContainerClassname

setContainerClassname(classname)

setId

void setId(id)

setParent

HTMLDivElement setParent(parent)

setPrintable

void setPrintable(printable)

setVisible

void setVisible(visible)

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