Class CustomDefaultOutlineModel
- java.lang.Object
-
- org.netbeans.swing.outline.DefaultOutlineModel
-
- fi.tut.mei.rd_editor.custom.table.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 treeObject
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
-
-
-
-
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 modelrowModel
- The row modelisLargeModel
-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:
-
-