leon.view.mobile
Class LyMobileSelectBar
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileSelectBar
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalPanel, LyGraphicalSelectBar, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetLabelInterface
public class LyMobileSelectBar
- extends LyMobileObject
- implements LyGraphicalSelectBar
Method Summary |
void |
addComponent(LyComponent components,
int pos)
Inserts a sub-component components at given position. |
void |
init()
|
void |
removeComponent(LyComponent components)
Removes a sub-component components. |
void |
setLabel(java.lang.String label)
Updates attribute label to the given value. |
void |
setStartItem(int startItem)
Updates attribute startItem 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 |
LyMobileSelectBar
public LyMobileSelectBar(LySelectBar selectBar)
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
setLabel
public void setLabel(java.lang.String label)
- Description copied from interface:
LyGraphicalSelectBar
- Updates attribute label to the given value.
- Specified by:
setLabel
in interface LyGraphicalSelectBar
- Specified by:
setLabel
in interface LySetLabelInterface
- Parameters:
label
- New value of label.
setStartItem
public void setStartItem(int startItem)
- Description copied from interface:
LyGraphicalSelectBar
- Updates attribute startItem to the given value.
- Specified by:
setStartItem
in interface LyGraphicalSelectBar
- Parameters:
startItem
- New value of startItem.
addComponent
public void addComponent(LyComponent components,
int pos)
- Description copied from interface:
LyGraphicalSelectBar
- Inserts a sub-component components at given position.
- Specified by:
addComponent
in interface LyGraphicalSelectBar
- Parameters:
components
- The components to add to components list.pos
- Position where the sub-component is inserted.
removeComponent
public void removeComponent(LyComponent components)
- Description copied from interface:
LyGraphicalSelectBar
- Removes a sub-component components.
- Specified by:
removeComponent
in interface LyGraphicalSelectBar
- Parameters:
components
- The components to remove to components list.
Website: W4 S.A., contact us: support@w4global.com