Class MyDataModel

All Implemented Interfaces:
MyTreeTableModel, TreeModel

public class MyDataModel extends MyAbstractTreeTableModel
  • Field Details

    • columnNames

      protected static String[] columnNames
    • columnTypes

      protected static Class<?>[] columnTypes
  • Constructor Details

    • MyDataModel

      public MyDataModel(MyDataNode rootNode)
  • Method Details

    • getChild

      public Object getChild(Object parent, int index)
    • getChildCount

      public int getChildCount(Object parent)
    • getColumnCount

      public int getColumnCount()
    • getColumnName

      public String getColumnName(int column)
    • getColumnClass

      public Class<?> getColumnClass(int column)
    • getValueAt

      public Object getValueAt(Object node, int column)
    • isCellEditable

      public boolean isCellEditable(Object node, int column)
    • setValueAt

      public void setValueAt(Object aValue, Object node, int column)