leon.view.web.jquery.component.tree
Class LyJQTree
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.fieldItem.LyJQFieldItem
leon.view.web.jquery.component.panel.LyJQPanel
leon.view.web.jquery.component.tree.LyJQTree
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalPanel, LyGraphicalTree, LyViewComponent, LyFreeInterface, LySetLabelInterface, LySetPopupMenuInterface, LySetVisibleInterface, LyWebComponent
public class LyJQTree
- extends LyJQPanel
- implements LyGraphicalTree, LySetVisibleInterface
LyTree JQuery internal view
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getTarget, isEditable, isEnabled, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, setLabel |
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, 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 |
LyJQTree
public LyJQTree(LyTree tree)
setHideRoot
public void setHideRoot(boolean hideRoot)
- Indicates whether the root node must be shown or not.
- Parameters:
hideRoot
- true if root node must be hidden, false otherwise.
isRootVisible
public boolean isRootVisible()
- Indicates whether the root node must be shown or not.
- Returns:
- true if root node must be shown, false otherwise.
setVisible
public void setVisible(boolean status)
- (non-Javadoc)
- Specified by:
setVisible
in interface LySetVisibleInterface
- Parameters:
status
- new visibility status, if true the component will be shown, if false it will be
hiden- See Also:
LySetVisibleInterface.setVisible(boolean)
setActiveNode
public void setActiveNode(java.lang.String activeNode)
- (non-Javadoc)
- Specified by:
setActiveNode
in interface LyGraphicalTree
- Parameters:
activeNode
- New value of activeNode.- See Also:
LyGraphicalTree.setActiveNode(java.lang.String)
setTreeNode
public void setTreeNode(LyTreeNode treeNode)
- (non-Javadoc)
- Specified by:
setTreeNode
in interface LyGraphicalTree
- Parameters:
treeNode
- New value of treeNode- See Also:
LyGraphicalTree.setTreeNode(leon.view.LyTreeNode)
getReloadScript
public java.lang.String getReloadScript()
- Description copied from class:
LyJQInternalView
- this method is to be implemented by internal views to get the reload script for the page element
- Overrides:
getReloadScript
in class LyJQFieldItem
- Returns:
- reload component script
isTree
public boolean isTree()
getTree
public LyTree getTree()
writeHtml
public void writeHtml(LyWebPageWriter pw)
- Description copied from interface:
LyWebComponent
- Write HTML description corresponding to this component.
- Specified by:
writeHtml
in interface LyWebComponent
- Overrides:
writeHtml
in class LyJQFieldItem
- Parameters:
pw
- the page writer
Website: W4 S.A., contact us: support@w4global.com