leon.view.mobile
Class LyMobileTabs
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileTabs
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalContainer, LyGraphicalFieldItem, LyGraphicalPanel, LyGraphicalTabs, LyViewComponent, LyMobileComponent, LyFreeInterface
public class LyMobileTabs
- extends LyMobileObject
- implements LyGraphicalTabs
Method Summary |
void |
addTab(LyTab tabs,
int pos)
Inserts a sub-component tabs at given position. |
void |
init()
|
void |
removeTab(LyTab tabs)
Removes a sub-component tabs. |
void |
setSelectedTab(java.lang.String selectedTab)
Updates attribute selectedTab 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 |
LyMobileTabs
public LyMobileTabs(LyTabs tabs)
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
writeJson
public void writeJson(java.io.PrintWriter pw,
java.lang.String sessionId)
- Specified by:
writeJson
in interface LyMobileComponent
init
public void init()
- Specified by:
init
in interface LyMobileComponent
setSelectedTab
public void setSelectedTab(java.lang.String selectedTab)
- Description copied from interface:
LyGraphicalTabs
- Updates attribute selectedTab to the given value.
- Specified by:
setSelectedTab
in interface LyGraphicalTabs
- Parameters:
selectedTab
- New value of selectedTab.
addTab
public void addTab(LyTab tabs,
int pos)
- Description copied from interface:
LyGraphicalTabs
- Inserts a sub-component tabs at given position.
- Specified by:
addTab
in interface LyGraphicalTabs
- Parameters:
tabs
- The tabs to add to tabs list.pos
- Position where the sub-component is inserted.
removeTab
public void removeTab(LyTab tabs)
- Description copied from interface:
LyGraphicalTabs
- Removes a sub-component tabs.
- Specified by:
removeTab
in interface LyGraphicalTabs
- Parameters:
tabs
- The tabs to remove to tabs list.
Website: W4 S.A., contact us: support@w4global.com