LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileCell

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.LyMobileCell
All Implemented Interfaces:
LyGraphicalCell, LyGraphicalComponent, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetColorInterface, LySetEditableInterface, LySetImageInterface, LySetLabelInterface, LySetSelectedInterface

public class LyMobileCell
extends LyMobileTableObject
implements LyGraphicalCell


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.LyGraphicalCell
__VERSION
 
Constructor Summary
LyMobileCell(LyCell cell)
           
 
Method Summary
 void addCell(LyCell cells, int pos)
          Inserts a sub-component cells at given position.
 void init()
           
 void removeCell(LyCell cells)
          Removes a sub-component cells.
 void setBottomBorderColor(java.lang.String bottomBorderColor)
          Updates attribute bottomBorderColor to the given value.
 void setBottomLeftImage(java.lang.String bottomLeftImage)
          Updates attribute bottomLeftImage to the given value.
 void setBottomRightImage(java.lang.String bottomRightImage)
          Updates attribute bottomRightImage to the given value.
 void setColor(java.lang.String color)
          Updates attribute color to the given value.
 void setEditable(boolean editable)
          Updates attribute editable to the given value.
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setLeftBorderColor(java.lang.String leftBorderColor)
          Updates attribute leftBorderColor to the given value.
 void setObjectId(java.lang.String objectId)
          Updates attribute objectId to the given value.
 void setRightBorderColor(java.lang.String rightBorderColor)
          Updates attribute rightBorderColor to the given value.
 void setSelected(boolean selected)
          Updates attribute selected to the given value.
 void setTooltip(java.lang.String tooltip)
          Updates attribute tooltip to the given value.
 void setTopBorderColor(java.lang.String topBorderColor)
          Updates attribute topBorderColor to the given value.
 void setTopLeftImage(java.lang.String topLeftImage)
          Updates attribute topLeftImage to the given value.
 void setTopRightImage(java.lang.String topRightImage)
          Updates attribute topRightImage to the given value.
 void writeJson(java.io.PrintWriter pw, boolean repeat, int order, java.lang.String sessionId)
           
 void writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
           
 void writeXml(java.io.PrintWriter pw)
          Write XML description corresponding to this component.
 void writeXml(java.io.PrintWriter pw, boolean repeat, int order)
           
 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

LyMobileCell

public LyMobileCell(LyCell cell)
Method Detail

init

public void init()
Specified by:
init in interface LyMobileComponent
Overrides:
init in class LyMobileTableObject

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

writeXml

public void writeXml(java.io.PrintWriter pw,
                     boolean repeat,
                     int order)

writeJson

public void writeJson(java.io.PrintWriter pw,
                      java.lang.String sessionId)
Specified by:
writeJson in interface LyMobileComponent

writeJson

public void writeJson(java.io.PrintWriter pw,
                      boolean repeat,
                      int order,
                      java.lang.String sessionId)

setLabel

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

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

setObjectId

public void setObjectId(java.lang.String objectId)
Description copied from interface: LyGraphicalCell
Updates attribute objectId to the given value.

Specified by:
setObjectId in interface LyGraphicalCell
Parameters:
objectId - New value of objectId.

setEditable

public void setEditable(boolean editable)
Description copied from interface: LyGraphicalCell
Updates attribute editable to the given value.

Specified by:
setEditable in interface LyGraphicalCell
Specified by:
setEditable in interface LySetEditableInterface
Parameters:
editable - Boolean indicating if attribute editable is set or unset.

setSelected

public void setSelected(boolean selected)
Description copied from interface: LyGraphicalCell
Updates attribute selected to the given value.

Specified by:
setSelected in interface LyGraphicalCell
Specified by:
setSelected in interface LySetSelectedInterface
Parameters:
selected - Boolean indicating if attribute selected is set or unset.

setImage

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

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

setColor

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

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

setTooltip

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

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

setTopBorderColor

public void setTopBorderColor(java.lang.String topBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute topBorderColor to the given value.

Specified by:
setTopBorderColor in interface LyGraphicalCell
Parameters:
topBorderColor - New value of topBorderColor.

setBottomBorderColor

public void setBottomBorderColor(java.lang.String bottomBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute bottomBorderColor to the given value.

Specified by:
setBottomBorderColor in interface LyGraphicalCell
Parameters:
bottomBorderColor - New value of bottomBorderColor.

setLeftBorderColor

public void setLeftBorderColor(java.lang.String leftBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute leftBorderColor to the given value.

Specified by:
setLeftBorderColor in interface LyGraphicalCell
Parameters:
leftBorderColor - New value of leftBorderColor.

setRightBorderColor

public void setRightBorderColor(java.lang.String rightBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute rightBorderColor to the given value.

Specified by:
setRightBorderColor in interface LyGraphicalCell
Parameters:
rightBorderColor - New value of rightBorderColor.

setTopLeftImage

public void setTopLeftImage(java.lang.String topLeftImage)
Description copied from interface: LyGraphicalCell
Updates attribute topLeftImage to the given value.

Specified by:
setTopLeftImage in interface LyGraphicalCell
Parameters:
topLeftImage - New value of topLeftImage.

setTopRightImage

public void setTopRightImage(java.lang.String topRightImage)
Description copied from interface: LyGraphicalCell
Updates attribute topRightImage to the given value.

Specified by:
setTopRightImage in interface LyGraphicalCell
Parameters:
topRightImage - New value of topRightImage.

setBottomLeftImage

public void setBottomLeftImage(java.lang.String bottomLeftImage)
Description copied from interface: LyGraphicalCell
Updates attribute bottomLeftImage to the given value.

Specified by:
setBottomLeftImage in interface LyGraphicalCell
Parameters:
bottomLeftImage - New value of bottomLeftImage.

setBottomRightImage

public void setBottomRightImage(java.lang.String bottomRightImage)
Description copied from interface: LyGraphicalCell
Updates attribute bottomRightImage to the given value.

Specified by:
setBottomRightImage in interface LyGraphicalCell
Parameters:
bottomRightImage - New value of bottomRightImage.

addCell

public void addCell(LyCell cells,
                    int pos)
Description copied from interface: LyGraphicalCell
Inserts a sub-component cells at given position.

Specified by:
addCell in interface LyGraphicalCell
Parameters:
cells - The cells to add to cells list.
pos - Position where the sub-component is inserted.

removeCell

public void removeCell(LyCell cells)
Description copied from interface: LyGraphicalCell
Removes a sub-component cells.

Specified by:
removeCell in interface LyGraphicalCell
Parameters:
cells - The cells to remove to cells 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