LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileGauge

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileGauge
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalGauge, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetLabelInterface

public class LyMobileGauge
extends LyMobileObject
implements LyGraphicalGauge


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.LyGraphicalGauge
__VERSION
 
Constructor Summary
LyMobileGauge(LyGauge gauge)
           
 
Method Summary
 void init()
           
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setNValue(int nValue)
          Updates attribute nValue 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

LyMobileGauge

public LyMobileGauge(LyGauge gauge)
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: LyGraphicalGauge
Updates attribute label to the given value.

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

setNValue

public void setNValue(int nValue)
Description copied from interface: LyGraphicalGauge
Updates attribute nValue to the given value.

Specified by:
setNValue in interface LyGraphicalGauge
Parameters:
nValue - New value of nValue.

(c) January 2013 - W4 S.A.

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