Class DOMTree

    • Field Detail

      • m_Node

        protected Node m_Node
        the underlying Node object.
    • Constructor Detail

      • DOMTree

        public DOMTree()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BaseTree
      • buildTree

        protected DOMNode buildTree​(DOMNode parent,
                                    Node node)
        Builds the tree.
        Parameters:
        parent - the current parent, null for root
        node - the object to attach
        Returns:
        the generated node
      • buildTree

        protected void buildTree()
        Builds the tree from the current JSON object.
      • showNodePopupMenu

        protected void showNodePopupMenu​(MouseEvent e)
        Shows a popup if possible for the given mouse event.
        Parameters:
        e - the event
      • setDOM

        public void setDOM​(Node value)
        Sets the DOM node object to display.
        Parameters:
        value - the Node object to display
      • getDOM

        public Node getDOM()
        Returns the DOM node object on display.
        Returns:
        the node object, null if none displayed