LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileDialog

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.LyWebPageWriter
              extended by leon.view.mobile.LyMobileDialog
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalDialog, LyGraphicalView, LyViewComponent, LyFreeInterface, LySetLabelInterface, LyWebComponent

public class LyMobileDialog
extends LyWebPageWriter
implements LyGraphicalDialog


Field Summary
 
Fields inherited from class leon.view.web.LyWebPageWriter
__VERSION, FORCE_AJAX, MAIN_BUFFER
 
Fields inherited from class leon.view.web.LyWebObject
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from interface leon.view.graphic.LyGraphicalDialog
__VERSION
 
Constructor Summary
LyMobileDialog(LyDialog dialog)
           
 
Method Summary
 java.util.Vector<LyWebPageWriter> getPageWriters()
          (non-Javadoc).
 java.lang.String getRedirect(java.lang.String frame)
          Gets the url for an alternate Web page.
 void init()
          Initialization method.
 void setArea(LyArea area)
          Sets sub-component area.
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void writeHtml(LyWebPageWriter pw)
          Write HTML description corresponding to this component.
 void writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
          Generate a webview on a mobile
 void writeXml(java.io.PrintWriter pw)
           
 
Methods inherited from class leon.view.web.LyWebPageWriter
addBeginScript, addCssScript, addEndScript, addEndScript, append, clearBeginScripts, clearBeginScripts, clearBuffer, clearCssScripts, clearCssScripts, clearEndScripts, clearEndScripts, copyScriptsTo, endComponent, free, getActionUrl, getActiveFormId, getActiveName, getAttachmentDirectory, getAttachmentHandler, getBackground, getBackgroundColor, getBeginScriptsAsHtml, getBuffer, getCssFileAsHtml, getCssScriptsAsHtml, getEndScriptsAsHtml, getForceReloadState, getFormId, getFrameName, getId, getLastReloadTime, getNextJavaScriptId, getOldIds, getOpenFormContent, getOpenFormContent, getProperty, getScriptRoot, getTarget, getWindowName, isFrameSet, isInnerView, isNoFrames, isPrintMode, isVisible, preparePage, setActiveBuffer, setAttachmentDirectory, setAttachmentDirectory, setAttachmentHandler, setAttachmentHandler, setBackground, setBackgroundColor, setBodyClassName, setForceReloadState, setFormId, setFrameName, setInnerView, setLastModified, setNoFrames, setPrintMode, setProperty, setTitle, setVisible, setWindowName, setWriteDivOnly, startComponent, writeBeginPage, writeBeginScripts, writeCssScripts, writeDivOnly, writeEndPage, writeEndScripts, writeHtml, writePageContent
 
Methods inherited from class leon.view.web.LyWebObject
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, 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
 
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

LyMobileDialog

public LyMobileDialog(LyDialog dialog)
Method Detail

writeXml

public void writeXml(java.io.PrintWriter pw)

writeJson

public void writeJson(java.io.PrintWriter pw,
                      java.lang.String sessionId)
Description copied from class: LyWebObject
Generate a webview on a mobile

Overrides:
writeJson in class LyWebObject
Parameters:
pw - PrintWriter
sessionId - the session id

init

public void init()
Description copied from class: LyWebPageWriter
Initialization method.
Sets the main buffer as the active buffer, register this page writer on its view manager and set a default value to the class attributes.

Overrides:
init in class LyWebPageWriter

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.

setArea

public void setArea(LyArea area)
Description copied from interface: LyGraphicalDialog
Sets sub-component area.

Specified by:
setArea in interface LyGraphicalDialog
Parameters:
area - New value of area

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

getPageWriters

public java.util.Vector<LyWebPageWriter> getPageWriters()
Description copied from class: LyWebPageWriter
(non-Javadoc).

Specified by:
getPageWriters in class LyWebPageWriter
See Also:
LyWebPageWriter.getPageWriters()

getRedirect

public java.lang.String getRedirect(java.lang.String frame)
Description copied from class: LyWebPageWriter
Gets the url for an alternate Web page.

Specified by:
getRedirect in class LyWebPageWriter
Parameters:
frame - the frame to redirect
Returns:
the URL of the alternate Web page

(c) January 2013 - W4 S.A.

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