public class TreeNode extends ControlInstance
amIinitialize, DATASOURCE, errorChanged, errorLevel, errorsValidated, generatedControl, INPUTMODE, labelOverride, labelParams, LOG_CATEGORY, ONDATACAHNGE, originalControl, PARAM_APP, PARAM_APPTABTYPE, PARAM_DESIGNMODE, PARAM_LIGHTNING, PARAM_MOBILE, PARAM_MODULE, PARAM_PAGE, PARAM_PARENTCOMPONENT, PARAM_PARENTCONTROL, PARAM_PRESENTATION, PARAM_SCREENREADER, PARAM_SKINNAME, PARAM_TAB, PARAM_TABGROUP, PARAM_TABGROUP_MAIN, PARAM_TABLE, PARAM_USERINFO, PARAM_VERTICALLABEL, propertyOriginator, RERENDER_PROPERTYchangedProperties, EXCEPTION_ERROR, EXCEPTION_INFO, EXCEPTION_NONE, EXCEPTION_REQUIREDFIELD, EXCEPTION_SMARTFILL, EXCEPTION_WARNING, EXCEPTION_YESNOCANCEL, FORCE_WARNING_HANDLING, NO_PROMPT_WITH_WARNING, presentationTags, PROMPT_WHEN_WARNING_EXIST, properties, type| Constructor and Description |
|---|
TreeNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
createBreadcrumbs()
When this node is selected, it creates bread crumbs leading upto to its parents
It prepares that the breadcrums as a ArrayList collection where, each element is a Hashtable having following keys
uniqueid
label
selected - true | false
It sets the breadcrumbs to the Tree from where its called by Breadcrums control via reflection.
|
boolean |
expandAllNodes() |
java.lang.String |
getKeyValue()
Returns key value for this node
Thsi method return a string which is embedded in the HTML image for QA automation.
|
java.lang.Object[] |
getNodeData() |
java.lang.String |
getNodeLabel()
Creates label to be displayed for each node.
|
Tree |
getTree() |
boolean |
hasChildNodes() |
boolean |
hasParentNode() |
void |
initialize()
Fires routine to create child nodes if this node was meant to be opened by default
|
boolean |
isCollapsed() |
boolean |
isDataHidden()
Returns true if data for this node is hidden
|
boolean |
isExpanded() |
boolean |
isFakeMessageNode()
Returns true if this node is fake
Apr 6, 2007
|
boolean |
isFirstChildForParent()
Returns true if this is the first node in a parent's hierarchy
|
boolean |
isLastChildForParent()
Returns true if this is the last node in a parent's hierarchy
May 24, 2007
|
boolean |
isMarkedForDelete()
Creates label to be displayed for each node.
|
boolean |
isStartOpened() |
int |
render()
Overridden to gather properties before complete can take place.
|
void |
selectnode()
Called when a node is selected in the tree
|
int |
selectrecord()
Called when a node is selected in the tree
|
void |
setCollapsed(boolean collapsed) |
void |
setDataHidden(boolean setDataHidden)
Used to set the flag for data being hidden for this node.
|
void |
setExpanded(boolean expanded) |
void |
setFirstChildForParent(boolean firstChildForParent)
Set flag for this node's being in first position in a parent's hierarchy
|
void |
setHasChildNodes(boolean hasChildNodes) |
void |
setHasParentNode(boolean hasParentNode) |
void |
setLastChildForParent(boolean lastNode)
Set flag for this node's being in last position in a parent's hierarchy
May 24, 2007
|
void |
setNodeData(java.lang.Object[] nodeData) |
void |
setNodeProperties(java.util.Hashtable treeNodeInfo)
Sets properties for this node based on teh collection passed in.
|
void |
setStartOpened(boolean startOpened) |
void |
setTree(Tree tree) |
void |
togglechildren()
Called when a node is selected in the tree.
|
addChild, addComponent, broadcastEvent, canInsert, canInsert, canRemove, childHasError, childHasErrorFocus, cleanup, clearComponent, clearErrors, clearFlags, copy, createRenderId, determineErrorLevel, errorLevelChanged, eventCheck, findComponentByDescriptorId, findDesignerProperty, findProperty, findUseForLablledByComponent, getAdaptorInstance, getBoundComponent, getComponent, getComponents, getConditonallyChanged, getDataBean, getDataSource, getDescriptorControl, getDesignerProperty, getDesignerSelected, getDesignerSelectedControl, getElement, getErrorLevel, getGeneratedControl, getOriginalControl, getOriginalProperty, getProperties, getProperty, getProperty, getPropertyIgnoreFlags, getPropertyOriginator, getPropertyUncle, getRecordHover, getSkipPreRender, getTableControl, getTakesValueComponent, handleEvent, hasChanged, hasChangedConditionally, hasChildElements, hasMaskedChanged, hasRecordHover, hasSigOptionAccess, hasVisibleChildren, instantiatedatasrc, isDesignerEditedProperty, isDisabled, isFirstChildVisible, isFocusable, isGenerated, isHiddenByLicense, isIncluded, isLastChild, isMainrecActionMenu, isMasked, isOnTableFilterRow, isOnTableTitleRow, isPersistentProperty, isReInitialize, isSelected, isToBeDisplayedOnCurrentTab, isToBeDisplayedOnTab, isVisible, launchexternal, licenseCheck, moveChild, needsRender, parentPropertyChanged, parseParamvalues, preRender, preRenderChecks, propertyChanged, quickinsert, registerDesignerEditedProperty, reInitialize, removeChild, renderChildren, resetDataSource, resolveParam, resolveParams, setAttributeError, setBoundComponent, setChangedFlag, setChangedFlag, setConditionalProperties, setDesignerSelected, setDisabled, setElement, setErrorFocusOnControl, setFocus, setFocus, setFocusable, setFocusTable, setGenerated, setGeneratedControl, setIncluded, setIncluded, setNeedsRender, setOnTableFilterRow, setOnTableRow, setOnTableTitleRow, setOriginalControl, setPropertyOriginator, setPropertyUncle, setReInitialize, setReRenderFlags, setSelected, setSkipPreRender, setTableControl, setVisibility, sigOptionCheck, sigOptionCheckForLookups, stopRender, walkForId, walkForIdaddChild, addChild, addRefreshListener, canSetProperty, clearChildren, clearPropChangeList, clearProperties, clone, clone, getBoolean, getChangedProperties, getChildCount, getChildIndex, getChildren, getConsiderInDesigner, getDescriptor, getId, getIdExtension, getInt, getLocalizedType, getPage, getParent, getParentInstance, getPropertyNames, getRefreshListeners, getRenderId, getRowNum, getSafeId, getString, getType, getWebClientSession, handleEvent, hasAnyPropertyChanged, hasLocalProperty, hasPropertyChanged, initProperty, isDynamicContainer, isOnTable, isOnTableRow, maintainControlId, removeProperty, setConsiderInDesigner, setDescriptor, setDynamicContainer, setOnTable, setParent, setProperty, setProperty, setRenderId, setType, setWebClientSession, toStringpublic void initialize()
initialize in class ControlInstancepublic int render()
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
render in class ControlInstancejava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionControlInstance.render()public java.lang.String getNodeLabel()
public boolean isMarkedForDelete()
throws MXException
MXExceptionpublic void setNodeProperties(java.util.Hashtable treeNodeInfo)
public void selectnode()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int selectrecord()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void togglechildren()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean isExpanded()
public boolean expandAllNodes()
public void setExpanded(boolean expanded)
expanded - The expanded to set.public boolean isStartOpened()
public void setStartOpened(boolean startOpened)
startOpened - The startOpened to set.public boolean hasChildNodes()
public void setHasChildNodes(boolean hasChildNodes)
hasChildNodes - The hasChildNodes to set.public boolean hasParentNode()
public void setHasParentNode(boolean hasParentNode)
hasParentNode - The hasParentNode to set.public java.lang.Object[] getNodeData()
public void setNodeData(java.lang.Object[] nodeData)
nodeData - The nodeData to set.public Tree getTree()
public void setTree(Tree tree)
tree - The tree to set.public boolean isCollapsed()
public void setCollapsed(boolean collapsed)
collapsed - The collapsed to set.public boolean isFakeMessageNode()
public void createBreadcrumbs()
public boolean isLastChildForParent()
public void setLastChildForParent(boolean lastNode)
public boolean isFirstChildForParent()
public void setFirstChildForParent(boolean firstChildForParent)
public java.lang.String getKeyValue()
public boolean isDataHidden()
public void setDataHidden(boolean setDataHidden)
setDataHidden -