|
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.struts.LyStrutsFieldItem
leon.view.web.struts.LyStrutsPanel
leon.view.web.struts.LyStrutsTree
public class LyStrutsTree
This class implements the Tree object (as described in the dtd) for web viewer.
TREE: Tree
A tree allows displaying a set of elements under the form of a tree. It is possible to specify
its selection mode. Such a component is interesting to display a hierarchy of objects of an
application. It allows not displaying some sub-sets of these objects.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsTree(LyTree tree)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getBackgroundHexColor()
Gets the background color. |
int |
getScrollHeightForSplitter(LyWebPageWriter pw)
Indicates whether this component needs scrollbars when inserted in a splitter. |
void |
initialize()
Initialization method. |
boolean |
isRootVisible()
Indicates whether the root node must be shown or not. |
void |
setActiveNode(java.lang.String activeNode)
(non-Javadoc). |
void |
setColor(java.lang.String color)
(non-Javadoc). |
void |
setFont(java.lang.String font)
(non-Javadoc). |
void |
setForegroundColor(java.lang.String color)
(non-Javadoc). |
void |
setHideRoot(boolean hideRoot)
Indicates whether the root node must be shown or not. |
void |
setLabel(java.lang.String label)
(non-Javadoc). |
void |
setTreeNode(LyTreeNode treeNode)
(non-Javadoc). |
void |
setVisible(boolean status)
(non-Javadoc). |
void |
writeHtml(LyWebPageWriter pw)
(non-Javadoc). |
Methods inherited from class leon.view.web.struts.LyStrutsPanel |
---|
getPopupMenuView, setPopupMenu |
Methods inherited from class leon.view.web.struts.LyStrutsFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getFormName, getHtmlForm, getId, isEditable, isNetscape, isOptional, needCheck |
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, 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.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyStrutsTree(LyTree tree)
tree
- the tree componentMethod Detail |
---|
public int getScrollHeightForSplitter(LyWebPageWriter pw)
LyWebObject
getScrollHeightForSplitter
in class LyWebObject
pw
- current page writer
public void initialize()
public void setActiveNode(java.lang.String activeNode)
setActiveNode
in interface LyGraphicalTree
activeNode
- New value of activeNode.LyGraphicalTree.setActiveNode(java.lang.String)
public java.lang.String getBackgroundHexColor()
public void setHideRoot(boolean hideRoot)
hideRoot
- true if root node must be hidden, false otherwise.public boolean isRootVisible()
public void writeHtml(LyWebPageWriter pw)
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public void setVisible(boolean status)
setVisible
in interface LySetVisibleInterface
status
- new visibility status, if true the component will be shown, if false it will be
hidenLySetVisibleInterface.setVisible(boolean)
public void setTreeNode(LyTreeNode treeNode)
setTreeNode
in interface LyGraphicalTree
treeNode
- New value of treeNodeLyGraphicalTree.setTreeNode(leon.view.LyTreeNode)
public void setLabel(java.lang.String label)
setLabel
in interface LyGraphicalTree
setLabel
in interface LySetLabelInterface
setLabel
in class LyStrutsFieldItem
label
- new labelLyStrutsFieldItem.setLabel(java.lang.String)
public void setColor(java.lang.String color)
LySetColorInterface.setColor(java.lang.String)
public void setFont(java.lang.String font)
LySetFontInterface.setFont(java.lang.String)
public void setForegroundColor(java.lang.String color)
leon.view.graphic.LyGraphicalTree#setForegroundColor(java.lang.String)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |