@Test public void testAddTreeModelListener() { model.addTreeModelListener(tListener); assertEquals(1, model.listenerList.getListenerCount()); model.removeTreeModelListener(tListener); assertEquals(0, model.listenerList.getListenerCount()); }
public void addTreeModelListener(TreeModelListener l) { listenerList.add(TreeModelListener.class, l); }
AbstractTreeTableModel implements TreeTableModel { public void addTreeModelListener(TreeModelListener l) { listenerList.add(TreeModelListener.class, l); } }
AbstractTreeTableModel implements TreeTableModel { public void addTreeModelListener(TreeModelListener l) { listenerList.add(TreeModelListener.class, l); } AbstractTreeTableModel(Object root); }
AbstractTreeTableModel implements TreeTableModel { public void addTreeModelListener(TreeModelListener l) { listenerList.add(TreeModelListener.class, l); } AbstractTreeTableModel(Object root); Object getRoot(); boolean isLeaf(Object node); void valueForPathChanged(TreePath path, Object newValue); int getIndexOfChild(Object parent, Object child); void addTreeModelListener(TreeModelListener l); void removeTreeModelListener(TreeModelListener l); Class<?> getColumnClass(int column); boolean isCellEditable(Object node, int column); void setValueAt(Object aValue, Object node, int column); }
AbstractTreeTableModel implements TreeTableModel { public void addTreeModelListener(TreeModelListener l) { listenerList.add(TreeModelListener.class, l); } AbstractTreeTableModel(Object root); Object getRoot(); boolean isLeaf(Object node); void valueForPathChanged(TreePath path, Object newValue); int getIndexOfChild(Object parent, Object child); void addTreeModelListener(TreeModelListener l); void removeTreeModelListener(TreeModelListener l); Class<?> getColumnClass(int column); boolean isCellEditable(Object node, int column); void setValueAt(Object aValue, Object node, int column);  }