LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileTreeNode

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileTreeNode
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalTreeNode, LyViewComponent, LyMobileComponent, LyFreeInterface, LySetColorInterface, LySetFontInterface, LySetHiddenInterface, LySetImageInterface, LySetLabelInterface, LySetSelectedInterface, LySetValidityInterface

public class LyMobileTreeNode
extends LyMobileObject
implements LyGraphicalTreeNode


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.LyGraphicalTreeNode
__VERSION
 
Constructor Summary
LyMobileTreeNode(LyTreeNode treeNode)
           
 
Method Summary
 void addImage(LyImage images, int pos)
          Inserts a sub-component images at given position.
 void addTreeNode(LyTreeNode treeNodes, int pos)
          Inserts a sub-component treeNodes at given position.
 void init()
           
 void removeImage(LyImage images)
          Removes a sub-component images.
 void removeTreeNode(LyTreeNode treeNodes)
          Removes a sub-component treeNodes.
 void setColor(java.lang.String color)
          Updates attribute color to the given value.
 void setExpandable(boolean expandable)
          Updates attribute expandable to the given value.
 void setFont(java.lang.String font)
          Updates attribute font 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 setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setOpen(boolean open)
          Updates attribute open 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 setValidity(LyTreeNode.Validity validity)
          Updates attribute validity 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.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

LyMobileTreeNode

public LyMobileTreeNode(LyTreeNode treeNode)
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
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: LyGraphicalTreeNode
Updates attribute label to the given value.

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

setTooltip

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

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

setSelected

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

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

setOpen

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

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

setHidden

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

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

setExpandable

public void setExpandable(boolean expandable)
Description copied from interface: LyGraphicalTreeNode
Updates attribute expandable to the given value.

Specified by:
setExpandable in interface LyGraphicalTreeNode
Parameters:
expandable - Boolean indicating if attribute expandable is set or unset.

setImage

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

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

setValidity

public void setValidity(LyTreeNode.Validity validity)
Description copied from interface: LyGraphicalTreeNode
Updates attribute validity to the given value.

Specified by:
setValidity in interface LyGraphicalTreeNode
Specified by:
setValidity in interface LySetValidityInterface
Parameters:
validity - New value of validity.

setFont

public void setFont(java.lang.String font)
Description copied from interface: LyGraphicalTreeNode
Updates attribute font to the given value.

Specified by:
setFont in interface LyGraphicalTreeNode
Specified by:
setFont in interface LySetFontInterface
Parameters:
font - New value of font.

setColor

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

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

addImage

public void addImage(LyImage images,
                     int pos)
Description copied from interface: LyGraphicalTreeNode
Inserts a sub-component images at given position.

Specified by:
addImage in interface LyGraphicalTreeNode
Parameters:
images - The images to add to images list.
pos - Position where the sub-component is inserted.

removeImage

public void removeImage(LyImage images)
Description copied from interface: LyGraphicalTreeNode
Removes a sub-component images.

Specified by:
removeImage in interface LyGraphicalTreeNode
Parameters:
images - The images to remove to images list.

addTreeNode

public void addTreeNode(LyTreeNode treeNodes,
                        int pos)
Description copied from interface: LyGraphicalTreeNode
Inserts a sub-component treeNodes at given position.

Specified by:
addTreeNode in interface LyGraphicalTreeNode
Parameters:
treeNodes - The treeNodes to add to treeNodes list.
pos - Position where the sub-component is inserted.

removeTreeNode

public void removeTreeNode(LyTreeNode treeNodes)
Description copied from interface: LyGraphicalTreeNode
Removes a sub-component treeNodes.

Specified by:
removeTreeNode in interface LyGraphicalTreeNode
Parameters:
treeNodes - The treeNodes to remove to treeNodes list.

(c) January 2013 - W4 S.A.

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