Class ContainerNode
- java.lang.Object
-
- com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
-
- com.inductiveautomation.factorypmi.designer.model.navtree.ComponentNode
-
- com.inductiveautomation.factorypmi.designer.model.navtree.ContainerNode
-
- All Implemented Interfaces:
java.awt.event.ContainerListener
,java.beans.PropertyChangeListener
,java.lang.Iterable<AbstractNavTreeNode>
,java.util.EventListener
,javax.swing.tree.TreeNode
public class ContainerNode extends ComponentNode implements java.awt.event.ContainerListener
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
AbstractNavTreeNode.DeleteReason, AbstractNavTreeNode.PopupAction
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.Comparator<AbstractNavTreeNode>
SORT_ALPHABETICAL
-
Fields inherited from class com.inductiveautomation.factorypmi.designer.model.navtree.ComponentNode
component
-
Fields inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
bold, children, childrenLoaded, copyAction, cutAction, deleteAction, depth, icon, italic, log, model, name, parent, pasteAction, renameAction, selectionModel, text, thumbnail, tooltip
-
-
Constructor Summary
Constructors Constructor Description ContainerNode(javax.swing.JComponent container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBadges(BadgeTreeCellRenderer renderer, boolean selected)
void
componentAdded(java.awt.event.ContainerEvent e)
void
componentRemoved(java.awt.event.ContainerEvent e)
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.protected LoggerEx
newLogger()
void
uninstall()
Called when the node is removed from the tree.-
Methods inherited from class com.inductiveautomation.factorypmi.designer.model.navtree.ComponentNode
getComponent, getFactoryPMI, getText, isActionRegisteredForComponent, isBindingRegisteredForComponent, isEditable, onEdit, onSelected, propertyChange, showPopupMenu
-
Methods inherited from class com.inductiveautomation.ignition.designer.navtree.model.AbstractNavTreeNode
addBadges, addEditActions, 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, getCommonEditActionHandler, getDeleteAction, getDepth, getExpandedIcon, getIcon, getIndex, getModel, getName, getParent, getPopupActions, getSelectionModel, getSortOrder, getThumbnail, getTooltip, getWorkspaceName, initPopupMenu, install, isBold, isEditActionHandler, isItalic, isLeaf, isRestricted, isSelected, isValidName, isValidNameDefault, iterator, notifyChildNameChanged, onChildrenSelected, onDoubleClick, pathToRoot, recreate, recreate, refresh, reload, select, select, setBold, setChildren, setIcon, setItalic, setName, setText, setThumbnail, setTooltip, setupEditActions, showPopup, toString, uninstallChildren, useThumbnailTooltip
-
-
-
-
Field Detail
-
SORT_ALPHABETICAL
public static final java.util.Comparator<AbstractNavTreeNode> SORT_ALPHABETICAL
-
-
Method Detail
-
newLogger
protected LoggerEx newLogger()
- Overrides:
newLogger
in classComponentNode
-
uninstall
public void uninstall()
Description copied from class:AbstractNavTreeNode
Called when the node is removed from the tree. Override to provide meaningful implementation.- Overrides:
uninstall
in classComponentNode
-
addBadges
public void addBadges(BadgeTreeCellRenderer renderer, boolean selected)
- Overrides:
addBadges
in classComponentNode
-
loadChildren
protected java.util.List<AbstractNavTreeNode> loadChildren()
Description copied from class:AbstractNavTreeNode
Called 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:
loadChildren
in classAbstractNavTreeNode
-
componentAdded
public void componentAdded(java.awt.event.ContainerEvent e)
- Specified by:
componentAdded
in interfacejava.awt.event.ContainerListener
-
componentRemoved
public void componentRemoved(java.awt.event.ContainerEvent e)
- Specified by:
componentRemoved
in interfacejava.awt.event.ContainerListener
-
-