LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.dialog
Class LyJQDialog

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.LyJQView
                  extended by leon.view.web.jquery.component.dialog.LyJQDialog
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalDialog, LyGraphicalView, LyViewComponent, LyFreeInterface, LySetBoundsInterface, LySetLabelInterface, LySetVisibleInterface, LyWebComponent

public class LyJQDialog
extends LyJQView
implements LyGraphicalDialog, LySetBoundsInterface

This class implements the Dialog object (as described in the dtd) for web 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.LyGraphicalDialog
__VERSION
 
Fields inherited from interface leon.view.setinterface.LySetBoundsInterface
__VERSION
 
Fields inherited from interface leon.view.setinterface.LySetVisibleInterface
__VERSION
 
Constructor Summary
LyJQDialog(LyDialog dialog)
           
 
Method Summary
 java.lang.String addDialogRefreshScript()
          add the dialog script
 java.lang.String getMinimizedLabel()
          Returns the label that must be used when dialog is minimized.
 java.lang.String getReloadScript()
          (non-Javadoc)
 boolean isVisible()
           
 void setArea(LyArea area)
          (non-Javadoc)
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setLocation(int x, int y)
          Accessor to the location.
 void setSize(int w, int h)
          Accessor to the Size.
 void setVisible(boolean status)
          Sets the visibility status of this component.
 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

LyJQDialog

public LyJQDialog(LyDialog dialog)
Method Detail

setArea

public void setArea(LyArea area)
(non-Javadoc)

Specified by:
setArea in interface LyGraphicalDialog
Parameters:
area - New value of area
See Also:
LyGraphicalDialog.setArea(leon.view.LyArea)

getReloadScript

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

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

setVisible

public void setVisible(boolean status)
Description copied from interface: LySetVisibleInterface
Sets the visibility status of this component.

Specified by:
setVisible in interface LySetVisibleInterface
Overrides:
setVisible in class LyJQView
Parameters:
status - new visibility status, if true the component will be shown, if false it will be hiden
See Also:
LyJQView.setVisible(boolean)

addDialogRefreshScript

public java.lang.String addDialogRefreshScript()
add the dialog script


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

setLabel

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

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

setLocation

public void setLocation(int x,
                        int y)
Accessor to the location.

Specified by:
setLocation in interface LySetBoundsInterface
See Also:
LySetBoundsInterface.setLocation(int, int)

setSize

public void setSize(int w,
                    int h)
Accessor to the Size.

Specified by:
setSize in interface LySetBoundsInterface
See Also:
LySetBoundsInterface.setSize(int, int)

getMinimizedLabel

public java.lang.String getMinimizedLabel()
Returns the label that must be used when dialog is minimized.


isVisible

public boolean isVisible()

(c) January 2013 - W4 S.A.

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