LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileRow

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.LyMobileRow
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalRow, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetColorInterface, LySetHiddenInterface, LySetImageInterface, LySetLabelInterface

public class LyMobileRow
extends LyMobileTableObject
implements LyGraphicalRow


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.LyGraphicalRow
__VERSION
 
Constructor Summary
LyMobileRow(LyRow row)
           
 
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 setBorderColor(java.lang.String borderColor)
          Updates attribute borderColor to the given value.
 void setBorderHeight(int borderHeight)
          Updates attribute borderHeight to the given value.
 void setColor(java.lang.String color)
          Updates attribute color to the given value.
 void setHidden(boolean hidden)
          Updates attribute hidden to the given value.
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void setIndex(java.lang.String index)
          Updates attribute index to the given value.
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setOpen(boolean open)
          Updates attribute open to the given value.
 void setTooltip(java.lang.String tooltip)
          Updates attribute tooltip 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

LyMobileRow

public LyMobileRow(LyRow row)
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

setOpen

public void setOpen(boolean open)
Description copied from interface: LyGraphicalRow
Updates attribute open to the given value.

Specified by:
setOpen in interface LyGraphicalRow
Parameters:
open - Boolean indicating if attribute open is set or unset.

setImage

public void setImage(java.lang.String image)
Description copied from interface: LyGraphicalRow
Updates attribute image to the given value.

Specified by:
setImage in interface LyGraphicalRow
Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setLabel

public void setLabel(java.lang.String label)
Description copied from interface: LyGraphicalRow
Updates attribute label to the given value.

Specified by:
setLabel in interface LyGraphicalRow
Specified by:
setLabel in interface LySetLabelInterface
Parameters:
label - New value of label.

setIndex

public void setIndex(java.lang.String index)
Description copied from interface: LyGraphicalRow
Updates attribute index to the given value.

Specified by:
setIndex in interface LyGraphicalRow
Parameters:
index - New value of index.

setTooltip

public void setTooltip(java.lang.String tooltip)
Description copied from interface: LyGraphicalRow
Updates attribute tooltip to the given value.

Specified by:
setTooltip in interface LyGraphicalRow
Parameters:
tooltip - New value of tooltip.

setHidden

public void setHidden(boolean hidden)
Description copied from interface: LyGraphicalRow
Updates attribute hidden to the given value.

Specified by:
setHidden in interface LyGraphicalRow
Specified by:
setHidden in interface LySetHiddenInterface
Parameters:
hidden - Boolean indicating if attribute hidden is set or unset.

setBorderHeight

public void setBorderHeight(int borderHeight)
Description copied from interface: LyGraphicalRow
Updates attribute borderHeight to the given value.

Specified by:
setBorderHeight in interface LyGraphicalRow
Parameters:
borderHeight - New value of borderHeight.

setBorderColor

public void setBorderColor(java.lang.String borderColor)
Description copied from interface: LyGraphicalRow
Updates attribute borderColor to the given value.

Specified by:
setBorderColor in interface LyGraphicalRow
Parameters:
borderColor - New value of borderColor.

addComponent

public void addComponent(LyComponent components,
                         int pos)
Description copied from interface: LyGraphicalRow
Inserts a sub-component components at given position.

Specified by:
addComponent in interface LyGraphicalRow
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: LyGraphicalRow
Removes a sub-component components.

Specified by:
removeComponent in interface LyGraphicalRow
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

setColor

public void setColor(java.lang.String color)
Description copied from interface: LyGraphicalRow
Updates attribute color to the given value.

Specified by:
setColor in interface LyGraphicalRow
Specified by:
setColor in interface LySetColorInterface
Parameters:
color - New value of color.

(c) January 2013 - W4 S.A.

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