Class TreeTable

    • Constructor Detail

      • TreeTable

        public TreeTable​(ParseTreeTableModel treeTableModel)
        Creates TreeTable base on TreeTableModel.
        Parameters:
        treeTableModel - Tree table model
    • Method Detail

      • updateUI

        public void updateUI()
        Overridden to message super and forward the method to the tree. Since the tree is not actually in the component hierarchy it will never receive this unless we forward it in this manner.
        Overrides:
        updateUI in class JTable
      • setRowHeight

        public final void setRowHeight​(int newRowHeight)
        Overridden to pass the new rowHeight to the tree.
        Overrides:
        setRowHeight in class JTable
      • getTree

        public JTree getTree()
        Returns tree.
        Returns:
        the tree that is being shared between the model.
      • setEditor

        public void setEditor​(JTextArea textArea)
        Sets text area editor.
        Parameters:
        textArea - JTextArea component.
      • setLinePositionMap

        public void setLinePositionMap​(List<Integer> linePositionMap)
        Sets line position map.
        Parameters:
        linePositionMap - Line position map.