public class FirableTreeModelWrapper
extends java.lang.Object
implements javax.swing.tree.TreeModel
Constructor and Description |
---|
FirableTreeModelWrapper(javax.swing.tree.TreeModel model) |
Modifier and Type | Method and Description |
---|---|
void |
addTreeModelListener(javax.swing.event.TreeModelListener l) |
protected void |
finishing() |
void |
fireTreeNodesChanged(javax.swing.event.TreeModelEvent e) |
void |
fireTreeNodesInserted(javax.swing.event.TreeModelEvent e) |
void |
fireTreeNodesRemoved(javax.swing.event.TreeModelEvent e) |
void |
fireTreeStructureChanged(javax.swing.event.TreeModelEvent e) |
java.lang.Object |
getChild(java.lang.Object parent,
int index) |
int |
getChildCount(java.lang.Object parent) |
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child) |
javax.swing.tree.TreeModel |
getModel() |
java.lang.Object |
getRoot() |
boolean |
isLeaf(java.lang.Object node) |
void |
removeTreeModelListener(javax.swing.event.TreeModelListener l) |
protected void |
starting() |
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue) |
public FirableTreeModelWrapper(javax.swing.tree.TreeModel model)
public java.lang.Object getRoot()
getRoot
in interface javax.swing.tree.TreeModel
public java.lang.Object getChild(java.lang.Object parent, int index)
getChild
in interface javax.swing.tree.TreeModel
public int getChildCount(java.lang.Object parent)
getChildCount
in interface javax.swing.tree.TreeModel
public boolean isLeaf(java.lang.Object node)
isLeaf
in interface javax.swing.tree.TreeModel
public void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
valueForPathChanged
in interface javax.swing.tree.TreeModel
public int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
getIndexOfChild
in interface javax.swing.tree.TreeModel
public void addTreeModelListener(javax.swing.event.TreeModelListener l)
addTreeModelListener
in interface javax.swing.tree.TreeModel
public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
removeTreeModelListener
in interface javax.swing.tree.TreeModel
public void fireTreeNodesChanged(javax.swing.event.TreeModelEvent e)
public void fireTreeNodesInserted(javax.swing.event.TreeModelEvent e)
public void fireTreeNodesRemoved(javax.swing.event.TreeModelEvent e)
public void fireTreeStructureChanged(javax.swing.event.TreeModelEvent e)
protected void finishing()
protected void starting()
public javax.swing.tree.TreeModel getModel()