LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.gauge
Class LyJQGauge

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.jquery.component.LyJQInternalView
              extended by leon.view.web.jquery.component.gauge.LyJQGauge
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalGauge, LyViewComponent, LyFreeInterface, LySetLabelInterface, LyWebComponent

public class LyJQGauge
extends LyJQInternalView
implements LyGraphicalGauge

Type : leon.view.web.jquery.component.gauge The peer component of LyTab for the web2 viewer.


Field Summary
 
Fields inherited from class leon.view.web.LyWebObject
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from interface leon.view.graphic.LyGraphicalGauge
__VERSION
 
Constructor Summary
LyJQGauge(LyGauge gauge)
          Constructor
 
Method Summary
 java.lang.String getLabel()
          get gauge label
 java.lang.Integer getPercent()
          get percent value
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 boolean isGauge()
           
 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 writeHtml(LyWebPageWriter pw)
          (non-Javadoc)
 
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty
 
Methods inherited from class leon.view.web.LyWebObject
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, 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

LyJQGauge

public LyJQGauge(LyGauge gauge)
Constructor

Parameters:
gauge -
Method Detail

writeHtml

public void writeHtml(LyWebPageWriter pw)
(non-Javadoc)

Specified by:
writeHtml in interface LyWebComponent
Parameters:
pw - the page writer
See Also:
LyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)

getLabel

public java.lang.String getLabel()
get gauge label

Returns:
label

getPercent

public java.lang.Integer getPercent()
get percent value

Returns:
percent label

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.

getReloadScript

public java.lang.String getReloadScript()
Description copied from class: LyJQInternalView
this method is to be implemented by internal views to get the reload script for the page element

Specified by:
getReloadScript in class LyJQInternalView
Returns:
reload component script

isGauge

public boolean isGauge()

(c) January 2013 - W4 S.A.

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