Class IWWindowControl

Extends IWControl.

A class providing an window panel control. The control uses a IWPanelControl for the body container.

Author: KUN, JAN

Constructor Summary
IWWindowControl(map, titel, size)
            Creates an info window
 
Method Summary
 void afterAppend()
           We use this callback method for redrawing the control after it is appended to the map.
 void afterClose()
           Callback method. This method will be called after the window has been set to invisible. event.
 void afterOpen()
           Callback method. This method will be called after the window has been set to visible. event.
 void beforeClose()
           Callback method. This method will be called before the window will be set to invisible. event.
 void beforeOpen()
           Callback method. This method will be called before the window will be set to visible. event.
 void buildBody()
           Callback method. Override this method to build the body of the window control. appended to the DOM.
 void close()
           Sets the window to invisible.
 IWPanelControl getContentPanel()
           Returns the body part of the window
 IWSize getSize()
           Returns the size of the body part of the window.
 String getTitle()
           Returns the title of the window
 boolean isCloseable()
           Returns true if the window is closeable, otherwise it returns false.
 void open()
           Sets the window to visible.
 void setCloseable(isCloseable)
           Enables or disables the close button of the window.
 void setSize(newSize)
           Sets the size of the window control.
 void setTitle(title)
           Sets the title of the window.
 
Event Summary
 void triggerOnCloseEnd()
           The onCloseEnd event is fired before the window control is hide.

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

 void triggerOnCloseStart()
           The onCloseStart event is fired before the window control is hide.

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

 void triggerOnOpenEnd()
           The onOpenEnd is fired after the window control is shown.

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

 void triggerOnOpenStart()
           The onOpenStart event is fired before the window control is shown.

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

 
Methods inherited from class IWDraggable
allowDraggingOutsideParent(isDraggingOutsideParentAllowed)
isDraggingOutsideParentAllowed()
setOnMouseMoveContainer(container)
getOnMouseMoveContainer()
setDraggingBounds(bounds)
getDraggingBounds()
setDraggable(isDraggable)
isDraggable()
setDraggableContainer(draggableContainer)
getDraggableContainer()
setDragButton(button)
getDragButton()
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()
Methods inherited from class IWControl
isControl()
isRedrawable()
setRedrawable(isRedrawable)
getPadding()
setPadding(newPadding)
setFirstOrientation(alignment)
getFirstOrientation()
setSecondOrientation(alignment)
getSecondOrientation()
getName()
toString()


Constructor Detail

IWWindowControl

IWWindowControl(map, titel, size)

Method Detail

afterAppend

void afterAppend()

afterClose

void afterClose()

afterOpen

void afterOpen()

beforeClose

void beforeClose()

beforeOpen

void beforeOpen()

buildBody

void buildBody()

close

void close()

getContentPanel

IWPanelControl getContentPanel()

getSize

IWSize getSize()

getTitle

String getTitle()

isCloseable

boolean isCloseable()

open

void open()

setCloseable

void setCloseable(isCloseable)

setSize

void setSize(newSize)

setTitle

void setTitle(title)

Event Detail

triggerOnCloseEnd

void triggerOnCloseEnd()

triggerOnCloseStart

void triggerOnCloseStart()

triggerOnOpenEnd

void triggerOnOpenEnd()

triggerOnOpenStart

void triggerOnOpenStart()

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)