Class AbstractTreeTableModel
- java.lang.Object
-
- com.macrofocus.high_d.treetable.swing.AbstractTreeTableModel
-
- All Implemented Interfaces:
TreeTableModel
,javax.swing.tree.TreeModel
- Direct Known Subclasses:
TreeMapTreeTableModel
public abstract class AbstractTreeTableModel extends java.lang.Object implements TreeTableModel
Created by luc on 28/05/15.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.event.EventListenerList
listenerList
-
Constructor Summary
Constructors Constructor Description AbstractTreeTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTreeModelListener(javax.swing.event.TreeModelListener l)
protected void
fireTreeNodesChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
protected void
fireTreeNodesInserted(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
protected void
fireTreeNodesRemoved(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
protected void
fireTreeStructureChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
int
getIndexOfChild(java.lang.Object parent, java.lang.Object child)
Die Methode wird normalerweise nicht aufgerufen.boolean
isLeaf(java.lang.Object node)
void
removeTreeModelListener(javax.swing.event.TreeModelListener l)
void
valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.high_d.treetable.swing.TreeTableModel
getColumnClass, getColumnCount, getColumnName, getValueAt, isCellEditable, setValueAt
-
-
-
-
Method Detail
-
isLeaf
public boolean isLeaf(java.lang.Object node)
- Specified by:
isLeaf
in interfacejavax.swing.tree.TreeModel
-
valueForPathChanged
public void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
- Specified by:
valueForPathChanged
in interfacejavax.swing.tree.TreeModel
-
getIndexOfChild
public int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
Die Methode wird normalerweise nicht aufgerufen.- Specified by:
getIndexOfChild
in interfacejavax.swing.tree.TreeModel
-
addTreeModelListener
public void addTreeModelListener(javax.swing.event.TreeModelListener l)
- Specified by:
addTreeModelListener
in interfacejavax.swing.tree.TreeModel
-
removeTreeModelListener
public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
- Specified by:
removeTreeModelListener
in interfacejavax.swing.tree.TreeModel
-
fireTreeNodesChanged
protected void fireTreeNodesChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
-
fireTreeNodesInserted
protected void fireTreeNodesInserted(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
-
fireTreeNodesRemoved
protected void fireTreeNodesRemoved(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
-
fireTreeStructureChanged
protected void fireTreeStructureChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
-
-