public class HTMLTree extends HTMLTreeBranch
alignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX
Constructor and Description |
---|
HTMLTree(java.lang.String callBack) |
Modifier and Type | Method and Description |
---|---|
void |
closeAll() |
protected void |
compile(ClientBrowser browser)
This is the spot to put all your generation
of the HTML components.
|
HTMLTreeLeaf |
findLeaf(java.lang.String id) |
boolean |
isOpen() |
boolean |
isRootHidden() |
void |
restoreState(java.util.Map table)
Restore the state of a tree to what was recorded before.
|
void |
restoreState(java.util.Map table,
IHTMLBranchLoader loader)
Restore the state of a tree to what was recorded before.
|
void |
restoreState(java.lang.String encodedState) |
void |
restoreState(java.lang.String encodedState,
IHTMLBranchLoader loader) |
void |
setRootHidden(boolean flag) |
void |
setScrollTo(HTMLTreeLeaf id) |
addBranch, addLeaf, addLeaf, debugList, encodeRecordState, getClosedImage, getHrefOther, getImageSrc, getLeaf, getLeafCount, getList, getMaxDepth, getOpenImage, hasLeaf, insertLeaf, iRecordState, isLoaded, makeListOfEvents, putIntoTable, recordState, resetParent, setClosedImage, setLoaded, setOpen, setOpenImage, setTree, toggleBranch
addComponent, getCallBack, getCallBackTarget, getDepth, getID, getRowHeight, getTree, setCallBack, setCallBack, setCallBackTarget, setControlCallBackTarget, setImage, setName, setNotAllowedOpen, setParent, setRowHeight, setToolTip, setVisible
addComponent, addText, clear, findId, getComponent, getComponentCount, hasComponent, removeComponent, removeComponent
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerate, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, monitorPage, postCompile, setAlignment, setAttribute, setClassName, setHasInitFocus, setStyleProperty, setTabIndex, touch
public HTMLTreeLeaf findLeaf(java.lang.String id) throws NotFoundException
findLeaf
in class HTMLTreeBranch
id
- NotFoundException
public void setRootHidden(boolean flag)
flag
- public boolean isRootHidden()
public void closeAll()
public boolean isOpen()
isOpen
in class HTMLTreeBranch
public void setScrollTo(HTMLTreeLeaf id)
id
- public void restoreState(java.util.Map table) throws java.lang.Exception
table
- java.lang.Exception
- a serious problempublic void restoreState(java.lang.String encodedState) throws java.lang.Exception
java.lang.Exception
public void restoreState(java.lang.String encodedState, IHTMLBranchLoader loader) throws java.lang.Exception
java.lang.Exception
public void restoreState(java.util.Map table, IHTMLBranchLoader loader) throws java.lang.Exception
table
- loader
- java.lang.Exception
- a serious problemprotected void compile(ClientBrowser browser)
HTMLComponent
compile
in class HTMLComponent
browser
- stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.