Constructor and Description |
---|
PoiTreeModel() |
Modifier and Type | Method and Description |
---|---|
void |
addTreeModelListener(TreeModelListener l) |
Object |
getChild(Object parent,
int index) |
int |
getChildCount(Object parent) |
int |
getIndexOfChild(Object parent,
Object child) |
Object |
getRoot() |
boolean |
isLeaf(Object node) |
void |
removeTreeModelListener(TreeModelListener l) |
void |
setFile(org.apache.poi.poifs.filesystem.POIFSFileSystem file)
Point the model to a file.
|
void |
valueForPathChanged(TreePath path,
Object newValue) |
public void setFile(org.apache.poi.poifs.filesystem.POIFSFileSystem file)
file
- POIFS filepublic int getChildCount(Object parent)
getChildCount
in interface TreeModel
public void valueForPathChanged(TreePath path, Object newValue)
valueForPathChanged
in interface TreeModel
public int getIndexOfChild(Object parent, Object child)
getIndexOfChild
in interface TreeModel
public void addTreeModelListener(TreeModelListener l)
addTreeModelListener
in interface TreeModel
public void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener
in interface TreeModel
Copyright © 2000–2024 Packwood Software. All rights reserved.