LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.commands
Class LyJQCommand

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.commands.LyJQCommand
All Implemented Interfaces:
LyGraphicalCommand, LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalPanel, LyViewComponent, LyFreeInterface, LySetEnabledInterface, LySetLabelInterface, LyWebComponent

public class LyJQCommand
extends LyJQInternalView
implements LyGraphicalCommand

Ly command Jquery internal view


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.LyGraphicalCommand
__VERSION
 
Constructor Summary
LyJQCommand(LyCommand command)
           
 
Method Summary
 int[] getImgSize()
           
 java.lang.String getReloadScript()
          (non-Javadoc)
 boolean isSep()
           
 void setEnabled(boolean enabled)
          set command enabled script
 void setLabel(java.lang.String label)
          command set label update script
 void writeHtml(LyWebPageWriter pw)
          Write HTML description corresponding to this component.
 
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

LyJQCommand

public LyJQCommand(LyCommand command)
Method Detail

writeHtml

public void writeHtml(LyWebPageWriter pw)
Description copied from interface: LyWebComponent
Write HTML description corresponding to this component.

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

setLabel

public void setLabel(java.lang.String label)
command set label update script

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

setEnabled

public void setEnabled(boolean enabled)
set command enabled script

Specified by:
setEnabled in interface LyGraphicalCommand
Specified by:
setEnabled in interface LySetEnabledInterface
Parameters:
enabled - Boolean indicating if attribute enabled is set or unset.

getImgSize

public int[] getImgSize()
Returns:
image size

getReloadScript

public java.lang.String getReloadScript()
(non-Javadoc)

Specified by:
getReloadScript in class LyJQInternalView
Returns:
reload component script
See Also:
LyJQInternalView.getReloadScript()

isSep

public boolean isSep()
Returns:
if command have separactor

(c) January 2013 - W4 S.A.

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