|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileTreeNode
public class LyMobileTreeNode
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 |
---|
public LyMobileTreeNode(LyTreeNode treeNode)
Method Detail |
---|
public void writeXml(java.io.PrintWriter pw)
LyMobileComponent
writeXml
in interface LyMobileComponent
pw
- the print writerpublic void writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
writeJson
in interface LyMobileComponent
public void init()
init
in interface LyMobileComponent
public void setLabel(java.lang.String label)
LyGraphicalTreeNode
setLabel
in interface LyGraphicalTreeNode
setLabel
in interface LySetLabelInterface
label
- New value of label.public void setTooltip(java.lang.String tooltip)
LyGraphicalTreeNode
setTooltip
in interface LyGraphicalTreeNode
tooltip
- New value of tooltip.public void setSelected(boolean selected)
LyGraphicalTreeNode
setSelected
in interface LyGraphicalTreeNode
setSelected
in interface LySetSelectedInterface
selected
- Boolean indicating if attribute selected is set or unset.public void setOpen(boolean open)
LyGraphicalTreeNode
setOpen
in interface LyGraphicalTreeNode
open
- Boolean indicating if attribute open is set or unset.public void setHidden(boolean hidden)
LyGraphicalTreeNode
setHidden
in interface LyGraphicalTreeNode
setHidden
in interface LySetHiddenInterface
hidden
- Boolean indicating if attribute hidden is set or unset.public void setExpandable(boolean expandable)
LyGraphicalTreeNode
setExpandable
in interface LyGraphicalTreeNode
expandable
- Boolean indicating if attribute expandable is set or unset.public void setImage(java.lang.String image)
LyGraphicalTreeNode
setImage
in interface LyGraphicalTreeNode
setImage
in interface LySetImageInterface
image
- New value of image.public void setValidity(LyTreeNode.Validity validity)
LyGraphicalTreeNode
setValidity
in interface LyGraphicalTreeNode
setValidity
in interface LySetValidityInterface
validity
- New value of validity.public void setFont(java.lang.String font)
LyGraphicalTreeNode
setFont
in interface LyGraphicalTreeNode
setFont
in interface LySetFontInterface
font
- New value of font.public void setColor(java.lang.String color)
LyGraphicalTreeNode
setColor
in interface LyGraphicalTreeNode
setColor
in interface LySetColorInterface
color
- New value of color.public void addImage(LyImage images, int pos)
LyGraphicalTreeNode
addImage
in interface LyGraphicalTreeNode
images
- The images to add to images list.pos
- Position where the sub-component is inserted.public void removeImage(LyImage images)
LyGraphicalTreeNode
removeImage
in interface LyGraphicalTreeNode
images
- The images to remove to images list.public void addTreeNode(LyTreeNode treeNodes, int pos)
LyGraphicalTreeNode
addTreeNode
in interface LyGraphicalTreeNode
treeNodes
- The treeNodes to add to treeNodes list.pos
- Position where the sub-component is inserted.public void removeTreeNode(LyTreeNode treeNodes)
LyGraphicalTreeNode
removeTreeNode
in interface LyGraphicalTreeNode
treeNodes
- The treeNodes to remove to treeNodes list.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |