LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileToolBar

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileTableObject
              extended by leon.view.mobile.LyMobileToolBar
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalToolBar, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetColorInterface, LySetImageInterface

public class LyMobileToolBar
extends LyMobileTableObject
implements LyGraphicalToolBar


Field Summary
 
Fields inherited from class leon.view.mobile.LyMobileObject
REWRITING_MODE, SEP_ID, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from class leon.view.graphic.LyGraphicalObject
__VERSION
 
Fields inherited from interface leon.view.graphic.LyGraphicalToolBar
__VERSION
 
Constructor Summary
LyMobileToolBar(LyToolBar toolBar)
           
 
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.mobile.LyMobileObject
createWebview, expandUrl, getDirForDownloadImage, getImageUrl, getUrl, printJsonAttributeSeparator
 
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
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Constructor Detail

LyMobileToolBar

public LyMobileToolBar(LyToolBar toolBar)
Method Detail

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

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com