leon.view.mobile
Class LyMobileToolBar
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileTableObject
leon.view.mobile.LyMobileToolBar
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalToolBar, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetColorInterface, LySetImageInterface
public class LyMobileToolBar
- extends LyMobileTableObject
- implements LyGraphicalToolBar
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 |
setColor(java.lang.String color)
Updates attribute color to the given value. |
void |
setImage(java.lang.String image)
Updates attribute image to the given value. |
void |
setOpen(boolean open)
Updates attribute open 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. |
int |
writeXml(java.io.PrintWriter pw,
int nb)
|
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 |
LyMobileToolBar
public LyMobileToolBar(LyToolBar toolBar)
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
- Overrides:
writeXml
in class LyMobileTableObject
- 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
- Overrides:
init
in class LyMobileTableObject
setImage
public void setImage(java.lang.String image)
- Description copied from interface:
LyGraphicalToolBar
- Updates attribute image to the given value.
- Specified by:
setImage
in interface LyGraphicalToolBar
- Specified by:
setImage
in interface LySetImageInterface
- Parameters:
image
- New value of image.
setOpen
public void setOpen(boolean open)
- Description copied from interface:
LyGraphicalToolBar
- Updates attribute open to the given value.
- Specified by:
setOpen
in interface LyGraphicalToolBar
- Parameters:
open
- Boolean indicating if attribute open is set or unset.
setColor
public void setColor(java.lang.String color)
- Description copied from interface:
LyGraphicalToolBar
- Updates attribute color to the given value.
- Specified by:
setColor
in interface LyGraphicalToolBar
- Specified by:
setColor
in interface LySetColorInterface
- Parameters:
color
- New value of color.
addComponent
public void addComponent(LyComponent components,
int pos)
- Description copied from interface:
LyGraphicalToolBar
- Inserts a sub-component components at given position.
- Specified by:
addComponent
in interface LyGraphicalToolBar
- 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:
LyGraphicalToolBar
- Removes a sub-component components.
- Specified by:
removeComponent
in interface LyGraphicalToolBar
- Parameters:
components
- The components to remove to components list.
writeXml
public int writeXml(java.io.PrintWriter pw,
int nb)
- Specified by:
writeXml
in class LyMobileTableObject
Website: W4 S.A., contact us: support@w4global.com