Class SecurityLevelTreeNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

    public final class SecurityLevelTreeNode
    extends javax.swing.tree.DefaultMutableTreeNode
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.tree.DefaultMutableTreeNode

        allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Color getForeground()  
      SecurityLevelTreeNode getParent()  
      SecurityLevelState getState()  
      java.lang.String getToolTipText()  
      java.lang.String getUserObject()  
      void selectFromConfig​(com.jidesoft.swing.CheckBoxTreeSelectionModel selectionModel, SecurityLevelConfig config)  
      void setState​(SecurityLevelState state)  
      java.util.Optional<SecurityLevelConfig> toSelectionConfig​(com.google.common.collect.ImmutableCollection<java.lang.Object> selections)  
      void visit​(SecurityLevelTreeNode.Visitor visitor)  
      • Methods inherited from class javax.swing.tree.DefaultMutableTreeNode

        add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getUserObject

        @Nonnull
        public java.lang.String getUserObject()
        Overrides:
        getUserObject in class javax.swing.tree.DefaultMutableTreeNode
      • getParent

        @Nullable
        public SecurityLevelTreeNode getParent()
        Specified by:
        getParent in interface javax.swing.tree.TreeNode
        Overrides:
        getParent in class javax.swing.tree.DefaultMutableTreeNode
      • toSelectionConfig

        @Nonnull
        public java.util.Optional<SecurityLevelConfig> toSelectionConfig​(@Nonnull
                                                                         com.google.common.collect.ImmutableCollection<java.lang.Object> selections)
      • selectFromConfig

        public void selectFromConfig​(@Nonnull
                                     com.jidesoft.swing.CheckBoxTreeSelectionModel selectionModel,
                                     @Nonnull
                                     SecurityLevelConfig config)
      • getToolTipText

        @Nullable
        public java.lang.String getToolTipText()
      • getForeground

        @Nonnull
        public java.awt.Color getForeground()