leon.view.mobile
Class LyMobilePopupMenu
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobilePopupMenu
- All Implemented Interfaces:
- LyGraphicalArea, LyGraphicalComponent, LyGraphicalContainer, LyGraphicalFieldItem, LyGraphicalPanel, LyViewComponent, LyMobileComponent, LyFreeInterface
public class LyMobilePopupMenu
- extends LyMobileObject
- implements LyGraphicalArea
Method Summary |
void |
addPanel(LyPanel panels,
int pos)
Inserts a sub-component panels at given position. |
void |
init()
|
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.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 |
LyMobilePopupMenu
public LyMobilePopupMenu(LyPopupMenu popup)
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
init
public void init()
- Specified by:
init
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.
writeJson
public void writeJson(java.io.PrintWriter pw,
java.lang.String sessionId)
- Specified by:
writeJson
in interface LyMobileComponent
Website: W4 S.A., contact us: support@w4global.com