Class IWControl

Extends IWMapElement.

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


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 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()
afterAppend()
beforeRemove()
afterRemove()
destroyMapElement()
registerEvents(container)


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-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:14 GMT+0100 (MEZ)