LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileMap

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileMap
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalMap, LyGraphicalPanel, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetLabelInterface, LySetViewerInterface

public class LyMobileMap
extends LyMobileObject
implements LyGraphicalMap


Field Summary
 
Fields inherited from class leon.view.mobile.LyMobileObject
REWRITING_MODE, SEP_ID, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from class leon.view.graphic.LyGraphicalObject
__VERSION
 
Fields inherited from interface leon.view.graphic.LyGraphicalMap
__VERSION
 
Constructor Summary
LyMobileMap(LyMap map)
           
 
Method Summary
 void addComponent(LyComponent components, int pos)
          Inserts a sub-component components at given position.
 void init()
           
 void removeComponent(LyComponent components)
          Removes a sub-component components.
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setLayout(LyLayout layout)
          Sets sub-component layout.
 void setMapContent(LyMapContent mapContent)
          Sets sub-component mapContent.
 void setSpatial(boolean spatial)
          Updates attribute spatial to the given value.
 void setTranslation(boolean translation)
          Updates attribute translation to the given value.
 void setTranslationStatus(LyMapBase.TranslationStatus translationStatus)
          Updates attribute translationStatus to the given value.
 void setViewer(boolean viewer)
          Updates attribute viewer to the given value.
 void setViewerStatus(LyMapBase.ViewerStatus viewerStatus)
          Updates attribute viewerStatus to the given value.
 void setZoom(boolean zoom)
          Updates attribute zoom to the given value.
 void setZoomFactor(float zoomFactor)
          Updates attribute zoomFactor to the given value.
 void setZoomStatus(LyMapBase.ZoomStatus zoomStatus)
          Updates attribute zoomStatus to the given value.
 void writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
           
 void writeXml(java.io.PrintWriter pw)
          Write XML description corresponding to this component.
 
Methods inherited from class leon.view.mobile.LyMobileObject
createWebview, expandUrl, getDirForDownloadImage, getImageUrl, getUrl, printJsonAttributeSeparator
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, free, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Constructor Detail

LyMobileMap

public LyMobileMap(LyMap map)
Method Detail

writeXml

public void writeXml(java.io.PrintWriter pw)
Description copied from interface: LyMobileComponent
Write XML description corresponding to this component.

Specified by:
writeXml in interface LyMobileComponent
Parameters:
pw - the print writer

writeJson

public void writeJson(java.io.PrintWriter pw,
                      java.lang.String sessionId)
Specified by:
writeJson in interface LyMobileComponent

init

public void init()
Specified by:
init in interface LyMobileComponent

setLabel

public void setLabel(java.lang.String label)
Description copied from interface: LyGraphicalMap
Updates attribute label to the given value.

Specified by:
setLabel in interface LyGraphicalMap
Specified by:
setLabel in interface LySetLabelInterface
Parameters:
label - New value of label.

setViewer

public void setViewer(boolean viewer)
Description copied from interface: LyGraphicalMap
Updates attribute viewer to the given value.

Specified by:
setViewer in interface LyGraphicalMap
Specified by:
setViewer in interface LySetViewerInterface
Parameters:
viewer - Boolean indicating if attribute viewer is set or unset.

setViewerStatus

public void setViewerStatus(LyMapBase.ViewerStatus viewerStatus)
Description copied from interface: LyGraphicalMap
Updates attribute viewerStatus to the given value.

Specified by:
setViewerStatus in interface LyGraphicalMap
Parameters:
viewerStatus - New value of viewerStatus.

setZoom

public void setZoom(boolean zoom)
Description copied from interface: LyGraphicalMap
Updates attribute zoom to the given value.

Specified by:
setZoom in interface LyGraphicalMap
Parameters:
zoom - Boolean indicating if attribute zoom is set or unset.

setZoomStatus

public void setZoomStatus(LyMapBase.ZoomStatus zoomStatus)
Description copied from interface: LyGraphicalMap
Updates attribute zoomStatus to the given value.

Specified by:
setZoomStatus in interface LyGraphicalMap
Parameters:
zoomStatus - New value of zoomStatus.

setZoomFactor

public void setZoomFactor(float zoomFactor)
Description copied from interface: LyGraphicalMap
Updates attribute zoomFactor to the given value.

Specified by:
setZoomFactor in interface LyGraphicalMap
Parameters:
zoomFactor - New value of zoomFactor.

setTranslation

public void setTranslation(boolean translation)
Description copied from interface: LyGraphicalMap
Updates attribute translation to the given value.

Specified by:
setTranslation in interface LyGraphicalMap
Parameters:
translation - Boolean indicating if attribute translation is set or unset.

setTranslationStatus

public void setTranslationStatus(LyMapBase.TranslationStatus translationStatus)
Description copied from interface: LyGraphicalMap
Updates attribute translationStatus to the given value.

Specified by:
setTranslationStatus in interface LyGraphicalMap
Parameters:
translationStatus - New value of translationStatus.

setSpatial

public void setSpatial(boolean spatial)
Description copied from interface: LyGraphicalMap
Updates attribute spatial to the given value.

Specified by:
setSpatial in interface LyGraphicalMap
Parameters:
spatial - Boolean indicating if attribute spatial is set or unset.

addComponent

public void addComponent(LyComponent components,
                         int pos)
Description copied from interface: LyGraphicalMap
Inserts a sub-component components at given position.

Specified by:
addComponent in interface LyGraphicalMap
Parameters:
components - The components to add to components list.
pos - Position where the sub-component is inserted.

removeComponent

public void removeComponent(LyComponent components)
Description copied from interface: LyGraphicalMap
Removes a sub-component components.

Specified by:
removeComponent in interface LyGraphicalMap
Parameters:
components - The components to remove to components list.

setMapContent

public void setMapContent(LyMapContent mapContent)
Description copied from interface: LyGraphicalMap
Sets sub-component mapContent.

Specified by:
setMapContent in interface LyGraphicalMap
Parameters:
mapContent - New value of mapContent

setLayout

public void setLayout(LyLayout layout)
Description copied from interface: LyGraphicalMap
Sets sub-component layout.

Specified by:
setLayout in interface LyGraphicalMap
Parameters:
layout - New value of layout

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com