Class ShapeNode
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
- 
- com.inductiveautomation.reporting.designer.workspace.nav.ShapeNode
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<AbstractNavTreeNode>,- javax.swing.tree.TreeNode
 
 public class ShapeNode extends AbstractNavTreeNode Created by carl.gould on 4/17/2015.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodeAbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodebold, children, childrenLoaded, copyAction, copyPathAction, cutAction, deleteAction, depth, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddEditActions(javax.swing.JPopupMenu menu)RMShapegetShape()voidinstall(AbstractNavTreeNode parent)booleanisEditable()Override this and return true if you want your node's text to be editable.protected java.util.List<AbstractNavTreeNode>loadChildren()Called before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set.voidonEdit(java.lang.String newTextValue)Called after this node has been edited in the tree.voidonSelected()Called when this node is selected in the treevoidselect(boolean append)Causes this tree node to become selected.java.lang.StringtoString()protected static java.lang.StringtoString(RMShape shape)protected voiduninstall()Called when the node is removed from the tree.- 
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNodeaddBadges, canCopy, canDelete, canDrag, canDrop, canPaste, checkChildren, children, confirmDelete, createResourceCopy, debug, debug, dispatchSelectionEvent, doCopy, doCut, doDelete, doPaste, expand, expandAndSelect, findChild, findCommonEditActionHandler, findDropHandler, findEditActionHandler, forceChildrenReload, getAllowsChildren, getChildAt, getChildCount, getClipboard, getDeleteAction, getDepth, getExpandedIcon, getIcon, getIndex, getModel, getName, getParent, getPopupActions, getSelectionModel, getSortOrder, getText, getThumbnail, getTooltip, getWorkspaceName, initPopupMenu, isBold, isEditActionHandler, isItalic, isLeaf, isRestricted, isSelected, isTopLevelNode, isValidName, iterator, newLogger, notifyChildNameChanged, onChildrenSelected, onDoubleClick, pathToRoot, recreate, recreate, refresh, reload, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, setupEditActions, showPopupMenu, uninstallChildren, useThumbnailTooltip, visitIfLoaded
 
- 
 
- 
- 
- 
Method Detail- 
selectpublic void select(boolean append) Description copied from class:AbstractNavTreeNodeCauses this tree node to become selected.- Overrides:
- selectin class- AbstractNavTreeNode
- Parameters:
- append- Should this node be appended to the current selection, or be selected by itself?
 
 - 
onSelectedpublic void onSelected() Description copied from class:AbstractNavTreeNodeCalled when this node is selected in the tree- Overrides:
- onSelectedin class- AbstractNavTreeNode
 
 - 
addEditActionsprotected void addEditActions(javax.swing.JPopupMenu menu) - Overrides:
- addEditActionsin class- AbstractNavTreeNode
 
 - 
getShapepublic RMShape getShape() 
 - 
isEditablepublic boolean isEditable() Description copied from class:AbstractNavTreeNodeOverride this and return true if you want your node's text to be editable. SeeAbstractNavTreeNode.onEdit(String)- Overrides:
- isEditablein class- AbstractNavTreeNode
 
 - 
onEditpublic void onEdit(java.lang.String newTextValue) Description copied from class:AbstractNavTreeNodeCalled after this node has been edited in the tree.- Overrides:
- onEditin class- AbstractNavTreeNode
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- AbstractNavTreeNode
 
 - 
installpublic void install(AbstractNavTreeNode parent) - Overrides:
- installin class- AbstractNavTreeNode
 
 - 
uninstallprotected void uninstall() Description copied from class:AbstractNavTreeNodeCalled when the node is removed from the tree. Override to provide meaningful implementation.- Overrides:
- uninstallin class- AbstractNavTreeNode
 
 - 
toStringprotected static java.lang.String toString(RMShape shape) 
 - 
loadChildrenprotected java.util.List<AbstractNavTreeNode> loadChildren() Description copied from class:AbstractNavTreeNodeCalled before this node responds from any of the children-related TreeNode functions, if a list of children wasn't already set. Override to use lazy child loading.- Overrides:
- loadChildrenin class- AbstractNavTreeNode
 
 
- 
 
-