Interface ICodeNode
- All Superinterfaces:
IActionableItem
,IActionableNode
,IItem
,INode
,IVisualItem
,IVisualNode
A special interface for nodes holding
code
items.
This interface has no equivalent for text or table documents.
- See Also:
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.output.IActionableItem
HAS_RELATED_ITEMS, ITEM_TYPE_IDENTITY, ITEM_TYPE_MASK, ROLE_MASTER
-
Method Summary
Modifier and TypeMethodDescriptionfindNodeByObject
(ICodeItem target) Find the first child node that holds the provided code item.Get the children of this node.int
Get the underlying code object help by the node.Get the parent code node.boolean
Methods inherited from interface com.pnfsoftware.jeb.core.output.IActionableItem
getItemFlags, getItemId
Methods inherited from interface com.pnfsoftware.jeb.core.output.tree.INode
getAdditionalLabels, getLabel
Methods inherited from interface com.pnfsoftware.jeb.core.output.IVisualItem
getClassId
Methods inherited from interface com.pnfsoftware.jeb.core.output.tree.IVisualNode
getInitialExpansion
-
Method Details
-
hasChildren
boolean hasChildren() -
getCountOfChildren
int getCountOfChildren() -
getChildren
Description copied from interface:INode
Get the children of this node.- Specified by:
getChildren
in interfaceINode
- Returns:
- a list of children nodes, possibly empty
-
getParent
ICodeNode getParent()Get the parent code node.- Returns:
- the parent node
-
getObject
ICodeItem getObject()Get the underlying code object help by the node.- Returns:
- the code object
-
findNodeByObject
Find the first child node that holds the provided code item. The current node is also examined.- Parameters:
target
- the target code item- Returns:
- reference to the first child node that wraps the target code item, null if none
-