leon.view.mobile
Class LyMobileDialog
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.LyWebPageWriter
leon.view.mobile.LyMobileDialog
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalDialog, LyGraphicalView, LyViewComponent, LyFreeInterface, LySetLabelInterface, LyWebComponent
public class LyMobileDialog
- extends LyWebPageWriter
- implements LyGraphicalDialog
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 |
LyMobileDialog
public LyMobileDialog(LyDialog dialog)
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
- PrintWritersessionId
- 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
Website: W4 S.A., contact us: support@w4global.com