Class JNode

    • Field Summary

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

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

      Constructors 
      Constructor Description
      JNode()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<javax.swing.tree.TreeNode> childrenList()  
      int compareTo​(@NotNull JNode other)  
      boolean disableHtml()  
      jadx.api.ICodeInfo getCodeInfo()  
      jadx.api.metadata.ICodeNodeRef getCodeNodeRef()  
      @Nullable ContentPanel getContentPanel​(TabbedPane tabbedPane)  
      jadx.api.resources.ResourceContentType getContentType()  
      java.lang.String getID()  
      jadx.api.JavaNode getJavaNode()  
      abstract JClass getJParent()  
      java.lang.String getName()  
      int getPos()  
      JClass getRootClass()
      Return top level JClass or self if already at top.
      java.lang.String getSyntaxName()  
      java.lang.String getTooltip()  
      boolean hasDescString()  
      boolean isEditable()  
      java.lang.String makeDescString()  
      java.lang.String makeLongString()  
      java.lang.String makeLongStringHtml()  
      abstract java.lang.String makeString()  
      java.lang.String makeStringHtml()  
      @Nullable javax.swing.JPopupMenu onTreePopupMenu​(MainWindow mainWindow)  
      @Nullable JNode removeNode​(java.util.function.Predicate<JNode> filter)
      Remove and return first found node
      @Nullable JNode searchNode​(java.util.function.Predicate<JNode> filter)  
      boolean supportsQuickTabs()  
      java.lang.String toString()  
      • 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, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface jadx.api.gui.tree.ITreeNode

        getIcon
      • Methods inherited from interface javax.swing.tree.TreeNode

        children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
    • Constructor Detail

      • JNode

        public JNode()
    • Method Detail

      • getJParent

        public abstract JClass getJParent()
      • getRootClass

        public JClass getRootClass()
        Return top level JClass or self if already at top.
      • getJavaNode

        public jadx.api.JavaNode getJavaNode()
      • getCodeNodeRef

        public jadx.api.metadata.ICodeNodeRef getCodeNodeRef()
        Specified by:
        getCodeNodeRef in interface jadx.api.gui.tree.ITreeNode
      • getSyntaxName

        public java.lang.String getSyntaxName()
      • getCodeInfo

        public jadx.api.ICodeInfo getCodeInfo()
      • getContentType

        public jadx.api.resources.ResourceContentType getContentType()
      • isEditable

        public boolean isEditable()
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface jadx.api.gui.tree.ITreeNode
      • supportsQuickTabs

        public boolean supportsQuickTabs()
      • onTreePopupMenu

        @Nullable
        public @Nullable javax.swing.JPopupMenu onTreePopupMenu​(MainWindow mainWindow)
      • getID

        public java.lang.String getID()
        Specified by:
        getID in interface jadx.api.gui.tree.ITreeNode
      • makeString

        public abstract java.lang.String makeString()
      • makeStringHtml

        public java.lang.String makeStringHtml()
      • makeDescString

        public java.lang.String makeDescString()
      • hasDescString

        public boolean hasDescString()
      • makeLongString

        public java.lang.String makeLongString()
      • makeLongStringHtml

        public java.lang.String makeLongStringHtml()
      • disableHtml

        public boolean disableHtml()
      • getPos

        public int getPos()
      • getTooltip

        public java.lang.String getTooltip()
      • searchNode

        @Nullable
        public @Nullable JNode searchNode​(java.util.function.Predicate<JNode> filter)
      • removeNode

        @Nullable
        public @Nullable JNode removeNode​(java.util.function.Predicate<JNode> filter)
        Remove and return first found node
      • childrenList

        public java.util.List<javax.swing.tree.TreeNode> childrenList()
      • compareTo

        public int compareTo​(@NotNull
                             @NotNull JNode other)
        Specified by:
        compareTo in interface java.lang.Comparable<JNode>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class javax.swing.tree.DefaultMutableTreeNode