LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.tree
Class LyJQTree

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.jquery.component.LyJQInternalView
              extended by leon.view.web.jquery.component.fieldItem.LyJQFieldItem
                  extended by leon.view.web.jquery.component.panel.LyJQPanel
                      extended by 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


Field Summary
 
Fields inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem
__VERSION
 
Fields inherited from class leon.view.web.LyWebObject
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from interface leon.view.graphic.LyGraphicalTree
__VERSION
 
Fields inherited from interface leon.view.setinterface.LySetVisibleInterface
__VERSION
 
Fields inherited from interface leon.view.setinterface.LySetPopupMenuInterface
__VERSION
 
Constructor Summary
LyJQTree(LyTree tree)
           
 
Method Summary
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 LyTree getTree()
           
 boolean isRootVisible()
          Indicates whether the root node must be shown or not.
 boolean isTree()
           
 void setActiveNode(java.lang.String activeNode)
          (non-Javadoc)
 void setHideRoot(boolean hideRoot)
          Indicates whether the root node must be shown or not.
 void setTreeNode(LyTreeNode treeNode)
          (non-Javadoc)
 void setVisible(boolean status)
          (non-Javadoc)
 void writeHtml(LyWebPageWriter pw)
          Write HTML description corresponding to this component.
 
Methods inherited from class leon.view.web.jquery.component.panel.LyJQPanel
isChart, isForm, isGantt, isMap, isNotice, isPanel, isTable, isTree, setPopupMenu
 
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.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, 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.LyGraphicalTree
setLabel
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Constructor Detail

LyJQTree

public LyJQTree(LyTree tree)
Method Detail

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

(c) January 2013 - W4 S.A.

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