leon.view.mobile
Class LyMobileMenuBar
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileMenuBar
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalMenuBar, LyViewComponent, LyMobileComponent, LyFreeInterface
public class LyMobileMenuBar
- extends LyMobileObject
- implements LyGraphicalMenuBar
Method Summary |
void |
addMenu(LyMenu menus,
int pos)
Inserts a sub-component menus at given position. |
void |
init()
|
void |
removeMenu(LyMenu menus)
Removes a sub-component menus. |
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 |
LyMobileMenuBar
public LyMobileMenuBar(LyMenuBar menuBar)
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
addMenu
public void addMenu(LyMenu menus,
int pos)
- Description copied from interface:
LyGraphicalMenuBar
- Inserts a sub-component menus at given position.
- Specified by:
addMenu
in interface LyGraphicalMenuBar
- Parameters:
menus
- The menus to add to menus list.pos
- Position where the sub-component is inserted.
removeMenu
public void removeMenu(LyMenu menus)
- Description copied from interface:
LyGraphicalMenuBar
- Removes a sub-component menus.
- Specified by:
removeMenu
in interface LyGraphicalMenuBar
- Parameters:
menus
- The menus to remove to menus 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