Class IWSliderControl

Extends IWControl.

A control element which allows the user to zoom in and out the map
Slider style: IWSliderControl.STYLE_FULL shows a full slider all the time IWSliderControl.STYLE_COMPACT shows nothing but the zoom in / zoom out buttons IWSliderControl.STYLE_COMPACT_BIRDS_VIEW shows a compact slider in bird's eye view, the full slider otherwise

Author: JAN, KUN

Constructor Summary
IWSliderControl(map, style)
            Creates a new slider control.
 
Method Summary
 void afterAppend()
          
 String getSliderButtonImage()
           Returns the path to the image used by the slider button.
 String getSliderImage()
           Returns the path to the image used by the slider.
 number getValue(round)
           Returns the current value of the slider
 void setCompactSliderImages(imagePath)
           Sets the path to the image used by the slider in compact mode (used for bird's eye views).
 void setSliderButtonImage(imagePath)
           Sets the path to the image used by the slider button.
 void setSliderImage(imagePath)
           Sets the path to the image used by the slider.
 void setValue(value)
           Sets the position of the slider
 String toString()
           Returns a string representation of this slider 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()
beforeRemove()
afterRemove()
destroyMapElement()
Methods inherited from class IWControl
isControl()
isRedrawable()
setRedrawable(isRedrawable)
getPadding()
setPadding(newPadding)
setFirstOrientation(alignment)
getFirstOrientation()
setSecondOrientation(alignment)
getSecondOrientation()
getName()


Constructor Detail

IWSliderControl

IWSliderControl(map, style)

Method Detail

afterAppend

void afterAppend()

getSliderButtonImage

String getSliderButtonImage()

getSliderImage

String getSliderImage()

getValue

number getValue(round)

setCompactSliderImages

void setCompactSliderImages(imagePath)

setSliderButtonImage

void setSliderButtonImage(imagePath)

setSliderImage

void setSliderImage(imagePath)

setValue

void setValue(value)

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)