Class TreeMapTreeTableModel

    • Constructor Detail

      • TreeMapTreeTableModel

        public TreeMapTreeTableModel​(com.macrofocus.treemap.DefaultTreeMapModel model)
    • Method Detail

      • getRoot

        public java.lang.Object getRoot()
      • getColumnCount

        public int getColumnCount()
        Description copied from interface: TreeTableModel
        Returns the number of available columns.
        Returns:
        Number of Columns
      • getColumnName

        public java.lang.String getColumnName​(int columnIndex)
        Description copied from interface: TreeTableModel
        Returns the column name.
        Parameters:
        columnIndex - Column number
        Returns:
        Column name
      • getColumnClass

        public java.lang.Class<?> getColumnClass​(int columnIndex)
        Description copied from interface: TreeTableModel
        Returns the type (class) of a column.
        Parameters:
        columnIndex - Column number
        Returns:
        Class
      • getValueAt

        public java.lang.Object getValueAt​(java.lang.Object n,
                                           int columnIndex)
        Description copied from interface: TreeTableModel
        Returns the value of a node in a column.
        Parameters:
        n - Node
        columnIndex - Column number
        Returns:
        Value of the node in the column
      • isCellEditable

        public boolean isCellEditable​(java.lang.Object node,
                                      int column)
        Description copied from interface: TreeTableModel
        Check if a cell of a node in one column is editable.
        Parameters:
        node - Node
        column - Column number
        Returns:
        true/false
      • setValueAt

        public void setValueAt​(java.lang.Object aValue,
                               java.lang.Object node,
                               int column)
        Description copied from interface: TreeTableModel
        Sets a value for a node in one column.
        Parameters:
        aValue - New value
        node - Node
        column - Column number
      • getChild

        public java.lang.Object getChild​(java.lang.Object p,
                                         int index)
      • getChildCount

        public int getChildCount​(java.lang.Object p)