|
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.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.tree.LyJQTreeNode
public class LyJQTreeNode
Field Summary |
---|
Fields inherited from class leon.view.web.LyWebObject |
---|
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalTreeNode |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQTreeNode(LyTreeNode lyTreeNode)
|
Method Summary | |
---|---|
void |
addImage(LyImage images,
int pos)
Inserts a sub-component images at given position. |
void |
addTreeNode(LyTreeNode treeNode,
int position)
Inserts a sub-component treeNodes at given position. |
java.lang.String |
getFmkId()
get the fmk id |
java.lang.String |
getJSLabel()
|
LyTree |
getParentTree()
Gets parent tree instance. |
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
java.util.List<LyTreeNode> |
getTreeNodes()
get tree treeNodes |
void |
removeImage(LyImage images)
Removes a sub-component images. |
void |
removeTreeNode(LyTreeNode treeNode)
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 |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView |
---|
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, 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 LyJQTreeNode(LyTreeNode lyTreeNode)
Method Detail |
---|
public java.lang.String getFmkId()
public java.lang.String getJSLabel()
public LyTree getParentTree()
public java.util.List<LyTreeNode> getTreeNodes()
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic 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 treeNode, int position)
LyGraphicalTreeNode
addTreeNode
in interface LyGraphicalTreeNode
treeNode
- The treeNodes to add to treeNodes list.position
- Position where the sub-component is inserted.public void removeTreeNode(LyTreeNode treeNode)
LyGraphicalTreeNode
removeTreeNode
in interface LyGraphicalTreeNode
treeNode
- The treeNodes to remove to treeNodes list.public java.lang.String getReloadScript()
LyJQInternalView
getReloadScript
in class LyJQInternalView
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |