Class CustomDefaultOutlineModel

  • All Implemented Interfaces:
    TableModel, TreeModel, org.netbeans.swing.outline.OutlineModel

    public class CustomDefaultOutlineModel
    extends org.netbeans.swing.outline.DefaultOutlineModel
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CustomDefaultOutlineModel​(TreeModel treeModel, org.netbeans.swing.outline.RowModel rowModel, boolean largeModel, String nodesColumnLabel)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.netbeans.swing.outline.OutlineModel createOutlineModel​(TreeModel treeModel, org.netbeans.swing.outline.RowModel rowModel, boolean isLargeModel, String nodesColumnLabel)
      Create an OutlineModel using the supplied tree model and row model, specifying if it is a large-model tree
      Object getRowAt​(int row)
      get object value at row
      • Methods inherited from class org.netbeans.swing.outline.DefaultOutlineModel

        addTableModelListener, addTreeModelListener, areMoreEventsPending, createOutlineModel, createOutlineModel, getChild, getChildCount, getColumnClass, getColumnCount, getColumnName, getIndexOfChild, getLayout, getRoot, getRowCount, getTreePathSupport, getValueAt, isCellEditable, isLargeModel, isLeaf, removeTableModelListener, removeTreeModelListener, setNodesColumnLabel, setTreeValueAt, setValueAt, valueForPathChanged
    • Constructor Detail

      • CustomDefaultOutlineModel

        protected CustomDefaultOutlineModel​(TreeModel treeModel,
                                            org.netbeans.swing.outline.RowModel rowModel,
                                            boolean largeModel,
                                            String nodesColumnLabel)
    • Method Detail

      • createOutlineModel

        public static org.netbeans.swing.outline.OutlineModel createOutlineModel​(TreeModel treeModel,
                                                                                 org.netbeans.swing.outline.RowModel rowModel,
                                                                                 boolean isLargeModel,
                                                                                 String nodesColumnLabel)
        Create an OutlineModel using the supplied tree model and row model, specifying if it is a large-model tree
        Parameters:
        treeModel - The tree model
        rowModel - The row model
        isLargeModel - true if it's a large model tree, false otherwise.
        nodesColumnLabel - Label of the node's column
      • getRowAt

        public Object getRowAt​(int row)
        get object value at row
        Parameters:
        row -
        Returns: