Class IWControl

Extends IWMapElement IWDraggable.

An interface which has to be implemented by all controls. Controls are displayed in front of the overlays.

Author: KUN, JAN

Constructor Summary
IWControl(map, name)
            Control interface.
 
Method Summary
 IWAlignment getFirstOrientation()
           Returns the first orientation of this control.
 String getName()
           Returns the name of this control.
 IWSize getPadding()
           Returns the padding for this control.
 IWAlignment getSecondOrientation()
           Returns the second orientation of the control.
 boolean isControl()
           Function for IWLayoutManager to check if this interface is implemented.
 Boolean isRedrawable()
           Returns whether the control will be redrawn by the layout manager or not.
 void setFirstOrientation(alignment)
           Sets the first orientation of the control. IWAlignment.TOP, IWAlignment.RIGHT, IWAlignment.BOTTOM and IWAlignment.LEFT.
 void setPadding(newPadding)
           Sets the padding for this control.
 void setRedrawable(isRedrawable)
           Defines if the control will be redrawn by the layout manager.
 void setSecondOrientation(alignment)
           Sets the second orientation of the control. IWAlignment.TOP, IWAlignment.RIGHT, IWAlignment.BOTTOM and IWAlignment.LEFT.
 String toString()
           Returns a string representation of this control.
 
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()
afterAppend()
beforeRemove()
afterRemove()
destroyMapElement()


Constructor Detail

IWControl

IWControl(map, name)

Method Detail

getFirstOrientation

IWAlignment getFirstOrientation()

getName

String getName()

getPadding

IWSize getPadding()

getSecondOrientation

IWAlignment getSecondOrientation()

isControl

boolean isControl()

isRedrawable

Boolean isRedrawable()

setFirstOrientation

void setFirstOrientation(alignment)

setPadding

void setPadding(newPadding)

setRedrawable

void setRedrawable(isRedrawable)

setSecondOrientation

void setSecondOrientation(alignment)

toString

String toString()

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)