Class IWLayout

A class for positioning of the control elements.

Author: KUN

Constructor Summary
IWLayout(container, layer)
            A class for managing the positioning of the control elements
 
Method Summary
 void addControl(control, firstOrientation, secondOrientation, paddingX, paddingY)
           Adds a new control to the map
 IWControl getControlByName(name)
           Returns a control by its name.
 IWControl[] getControls()
           Returns all controls which are placed on this layer.
 int getZIndex()
           Returns the z-Index of this layer.
 void redraw()
           Redraw all contols in correct positions
 void removeControl(control)
           Removes a control from the map and calls its beforeRemove and afterRemove methods. Overwrite the two methods if you require some special behaviour when the control is removed.
 void setBorder(x, y)
           Sets the the padding of the map border.
 
Constructor Detail

IWLayout

IWLayout(container, layer)

Method Detail

addControl

void addControl(control, firstOrientation, secondOrientation, paddingX, paddingY)

getControlByName

IWControl getControlByName(name)

getControls

IWControl[] getControls()

getZIndex

int getZIndex()

redraw

void redraw()

removeControl

void removeControl(control)

setBorder

void setBorder(x, y)

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)