SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class providing an window panel control. The control uses a IWPanelControl for the body container.
Author: KUN, JANConstructor 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. |
Constructor Detail |
IWWindowControl(map, titel, size)
IWMap map
- the map
String titel
IWSize size
- in pixel
Method Detail |
void afterAppend()
void
void afterClose()
void
void afterOpen()
void
void beforeClose()
void
void beforeOpen()
void
void buildBody()
- {HTMLDivElement
container the DIV container
void
void close()
onclosestart
and oncloseend
events.
void
IWPanelControl getContentPanel()
IWPanelControl
panelControl
IWSize getSize()
IWSize
size
String getTitle()
String
title
boolean isCloseable()
true
if the window is closeable, otherwise it returns false
.
boolean
void open()
onopenstart
and onopenend
events.
void
void setCloseable(isCloseable)
boolean isCloseable
void
;
void setSize(newSize)
IWSize newSize
void
void setTitle(title)
String title
void
Event Detail |
void triggerOnCloseEnd()
Register an event listener with IWEventManager.addListener(theWindowControl, 'oncloseend', yourHandlerMethod()); to receive the event.
void
void triggerOnCloseStart()
Register an event listener with IWEventManager.addListener(theWindowControl, 'onclosestart', yourHandlerMethod()); to receive the event.
void
void triggerOnOpenEnd()
Register an event listener with IWEventManager.addListener(theWindowControl, 'onopenend', yourHandlerMethod()); to receive the event.
void
void triggerOnOpenStart()
Register an event listener with IWEventManager.addListener(theWindowControl, 'onopenstart', yourHandlerMethod()); to receive the event.
void