Class IWMeasuringInfoWindowControl

Extends IWWindowControl.

An information window to display the current distance of a measuring control.

This class is part of the module controls.


Constructor Summary
IWMeasuringInfoWindowControl(map, measuringControl)
           
 
Method Summary
 void buildBody(container)
           Overwrites the buildBody method from IWWindowControl.
 void setDistance(meter)
           Displays the current distance.
 String toString()
           Returns a string representation of this object.
 
Event Summary
 void triggerOnReset()
           The onreset event is fired when the reset button is pressed.

Register an event listener with IWEventManager.addListener(theMeasuringInfoWindowControl, 'onreset', yourHandlerMethod()); to receive the event.

 
Methods inherited from class IWControl
isControl()
isRedrawable()
setRedrawable(isRedrawable)
getPadding()
setPadding(newPadding)
setFirstOrientation(alignment)
getFirstOrientation()
setSecondOrientation(alignment)
getSecondOrientation()
getName()
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)
Methods inherited from class IWWindowControl
beforeOpen()
afterOpen()
beforeClose()
afterClose()
setCloseable(isCloseable)
isCloseable()
close()
open()
getSize()
setSize(newSize)
getContentPanel()
getTitle()
setTitle(title)
afterAppend()


Constructor Detail

IWMeasuringInfoWindowControl

IWMeasuringInfoWindowControl(map, measuringControl)

Method Detail

buildBody

void buildBody(container)

setDistance

void setDistance(meter)

toString

String toString()

Event Detail

triggerOnReset

void triggerOnReset()

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