LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileArea

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileArea
All Implemented Interfaces:
LyGraphicalArea, LyGraphicalComponent, LyGraphicalContainer, LyGraphicalFieldItem, LyGraphicalPanel, LyViewComponent, LyMobileComponent, LyFreeInterface

public class LyMobileArea
extends LyMobileObject
implements LyGraphicalArea


Field Summary
 
Fields inherited from class leon.view.mobile.LyMobileObject
REWRITING_MODE, SEP_ID, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from class leon.view.graphic.LyGraphicalObject
__VERSION
 
Fields inherited from interface leon.view.graphic.LyGraphicalArea
__VERSION
 
Constructor Summary
LyMobileArea(LyArea area)
           
 
Method Summary
 void addPanel(LyPanel panels, int pos)
          Inserts a sub-component panels at given position.
 void init()
           
 boolean printJsonAttributeSeparator(boolean first, java.io.PrintWriter pw)
           
 void removePanel(LyPanel panels)
          Removes a sub-component panels.
 void setLayoutInfo(java.lang.String layoutInfo)
          Updates attribute layoutInfo to the given value.
 void setOpen(boolean open)
          Updates attribute open to the given value.
 void setRedirect(java.lang.String redirect)
          Updates attribute redirect to the given value.
 void setRefresh(int refresh)
          Updates attribute refresh to the given value.
 void writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
           
 void writeXml(java.io.PrintWriter pw)
          Write XML description corresponding to this component.
 
Methods inherited from class leon.view.mobile.LyMobileObject
createWebview, expandUrl, getDirForDownloadImage, getImageUrl, getUrl
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, free, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, 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

LyMobileArea

public LyMobileArea(LyArea area)
Method Detail

init

public void init()
Specified by:
init in interface LyMobileComponent

writeXml

public void writeXml(java.io.PrintWriter pw)
Description copied from interface: LyMobileComponent
Write XML description corresponding to this component.

Specified by:
writeXml in interface LyMobileComponent
Parameters:
pw - the print writer

printJsonAttributeSeparator

public boolean printJsonAttributeSeparator(boolean first,
                                           java.io.PrintWriter pw)
Overrides:
printJsonAttributeSeparator in class LyMobileObject

writeJson

public void writeJson(java.io.PrintWriter pw,
                      java.lang.String sessionId)
Specified by:
writeJson in interface LyMobileComponent

setRedirect

public void setRedirect(java.lang.String redirect)
Description copied from interface: LyGraphicalArea
Updates attribute redirect to the given value.

Specified by:
setRedirect in interface LyGraphicalArea
Parameters:
redirect - New value of redirect.

setRefresh

public void setRefresh(int refresh)
Description copied from interface: LyGraphicalArea
Updates attribute refresh to the given value.

Specified by:
setRefresh in interface LyGraphicalArea
Parameters:
refresh - New value of refresh.

setLayoutInfo

public void setLayoutInfo(java.lang.String layoutInfo)
Description copied from interface: LyGraphicalArea
Updates attribute layoutInfo to the given value.

Specified by:
setLayoutInfo in interface LyGraphicalArea
Parameters:
layoutInfo - New value of layoutInfo.

setOpen

public void setOpen(boolean open)
Description copied from interface: LyGraphicalArea
Updates attribute open to the given value.

Specified by:
setOpen in interface LyGraphicalArea
Parameters:
open - Boolean indicating if attribute open is set or unset.

addPanel

public void addPanel(LyPanel panels,
                     int pos)
Description copied from interface: LyGraphicalArea
Inserts a sub-component panels at given position.

Specified by:
addPanel in interface LyGraphicalArea
Parameters:
panels - The panels to add to panels list.
pos - Position where the sub-component is inserted.

removePanel

public void removePanel(LyPanel panels)
Description copied from interface: LyGraphicalArea
Removes a sub-component panels.

Specified by:
removePanel in interface LyGraphicalArea
Parameters:
panels - The panels to remove to panels list.

(c) January 2013 - W4 S.A.

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