Package | Description |
---|---|
nxopen.blockstyler |
Provides classes and interfaces for Block Styler.
|
Modifier and Type | Method and Description |
---|---|
Node |
Tree.copyNode(Node sourceNode)
Copies the existing
Node . |
Node |
Tree.createNode(String displayText)
Creates the node but does not insert it.
|
Node |
Node.firstChildNode()
Returns the first child node.
|
Node |
Tree.firstSelectedNode()
Returns the first selected node among the available selected nodes.
|
Node[] |
Tree.getSelectedNodes()
Gets the selected nodes.
|
Node |
Node.nextNode()
Returns the next node which might not belong to the same hierarchy.
|
Node |
Node.nextSelectedNode()
Returns the next selected node in the whole tree hierarchy.
|
Node |
Node.nextSiblingNode()
Returns the next node which belongs to the same hierarchy.
|
Node |
Node.parentNode()
Returns the parent node.
|
Node |
Node.previousNode()
Returns the previous node which might not belong to the same hierarchy.
|
Node |
Node.previousSelectedNode()
Returns the previous selected node in the whole tree hierarchy.
|
Node |
Node.previousSiblingNode()
Returns the previous node which belongs to the same hierarchy.
|
Node |
Tree.rootNode()
Returns the root node.
|
Modifier and Type | Method and Description |
---|---|
Tree.ControlType |
Tree.AskEditControlCallback.askEditControlCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called when edit is attempted on any cell.
|
int |
Tree.ColumnSortCallback.columnSortCallback(Tree tree,
int columnID,
Node node1,
Node node2)
Represents the callback which gets called when column sort is attempted.
|
Node |
Tree.copyNode(Node sourceNode)
Copies the existing
Node . |
void |
Tree.deleteNode(Node node)
Deletes the node from tree.
|
void |
Tree.insertNode(Node newNode,
Node parentNode,
Node afterNode,
Tree.NodeInsertOption nodeInsertOption)
Inserts the node.
|
Node.DragType |
Tree.IsDragAllowedCallback.isDragAllowedCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called when node is dragged.
|
Node.DropType |
Tree.IsDropAllowedCallback.isDropAllowedCallback(Tree tree,
Node node,
int columnID,
Node targetNode,
int targetColumnID)
Represents the callback which gets called when an attempt is made to drop the node on any target node.
|
Tree.BeginLabelEditState |
Tree.OnBeginLabelEditCallback.onBeginLabelEditCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called when label edit is attempted on any column.
|
void |
Tree.OnDefaultActionCallback.onDefaultActionCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called when double clicked is performed on the node.
|
void |
Tree.OnDeleteNodeCallback.onDeleteNodeCallback(Tree tree,
Node node)
Represents the callback which gets called when the node is deleted from tree.
|
boolean |
Tree.OnDropCallback.onDropCallback(Tree tree,
Node[] node,
int columnID,
Node targetNode,
int targetColumnID,
Node.DropType dropType,
int dropMenuItemId)
Represents the callback which gets called when nodes are dropped on any target node.
|
boolean |
Tree.OnDropCallback.onDropCallback(Tree tree,
Node[] node,
int columnID,
Node targetNode,
int targetColumnID,
Node.DropType dropType,
int dropMenuItemId)
Represents the callback which gets called when nodes are dropped on any target node.
|
void |
Tree.OnDropMenuCallback.onDropMenuCallback(Tree tree,
Node node,
int columnID,
Node targetNode,
int targetColumnID)
Represents the callback to show the menu when nodes are dragged using MB3 or right mouse click, and dropped on any target node.
|
Tree.EditControlOption |
Tree.OnEditOptionSelectedCallback.onEditOptionSelectedCallback(Tree tree,
Node node,
int columnID,
int selectedOptionID,
String selectedOptionText,
Tree.ControlType type)
Represents the callback which gets called when user selects an option in edit-control set by
BlockStyler.Tree.AskEditControlCallback.
|
Tree.EndLabelEditState |
Tree.OnEndLabelEditCallback.onEndLabelEditCallback(Tree tree,
Node node,
int columnID,
String editedText)
Represents the callback which gets called when label edit is completed on any column.
|
void |
Tree.OnExpandCallback.onExpandCallback(Tree tree,
Node node)
Represents the callback which gets called when the node is expanded.
|
void |
Tree.OnInsertColumnCallback.onInsertColumnCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called for each node when the column is inserted using
Tree.insertColumn(int, java.lang.String, int) . |
void |
Tree.OnInsertNodeCallback.onInsertNodeCallback(Tree tree,
Node node)
Represents the callback which gets called when the node is inserted.
|
void |
Tree.OnMenuCallback.onMenuCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called when MB3 or right click is attempted on node or tree.
|
void |
Tree.OnMenuSelectionCallback.onMenuSelectionCallback(Tree tree,
Node node,
int menuItemID)
Represents the callback which gets called when one of the menu option is selected.
|
void |
Tree.OnPreSelectCallback.onPreSelectCallback(Tree tree,
Node node,
int columnID,
boolean selected)
Represents the callback which gets called when pre selection is attempted on node.
|
void |
Tree.OnSelectCallback.onSelectCallback(Tree tree,
Node node,
int columnID,
boolean selected)
Represents the callback which gets called when the node is selected.
|
void |
Tree.OnStateChangeCallback.onStateChangeCallback(Tree tree,
Node node,
int state)
Represents the callback which gets called when the state icon is clicked.
|
void |
Tree.selectNode(Node node,
boolean isSelect,
boolean isOtherNodeAffected)
Selects the provided node.
|
void |
Tree.selectNodes(Node[] node,
boolean isSelect,
boolean isOtherNodeAffected)
Selects the provided nodes.
|
String |
Tree.StateIconNameCallback.stateIconNameCallback(Tree tree,
Node node,
int state)
Represents the callback which gets called when the node state is set
by
setState(int) and the corresponding
state icon of node state is not known. |
String |
Tree.ToolTipTextCallback.toolTipTextCallback(Tree tree,
Node node,
int columnID)
Represents the callback which gets called when tree seeks the tooltip.
|
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.