|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.tree.DefaultTreeModel
ch.randelshofer.gui.tree.DefaultMutableTreeModel
ch.randelshofer.view.ZipTreeModel
public class ZipTreeModel
| Nested Class Summary | |
|---|---|
static class |
ZipTreeModel.ZipNode
|
| Field Summary |
|---|
| Fields inherited from class ch.randelshofer.gui.tree.DefaultMutableTreeModel |
|---|
childTypes, listFlavor, objectFlavor |
| Fields inherited from class javax.swing.tree.DefaultTreeModel |
|---|
asksAllowsChildren, listenerList, root |
| Constructor Summary | |
|---|---|
ZipTreeModel()
Creates a new instance of ZipTreeModel |
|
| Method Summary | |
|---|---|
javax.activation.DataSource |
createDataSource(ZipTreeModel.ZipNode zipNode)
Creates a JavaBeans Activation Framework data source for the given zip node. |
void |
dispose()
|
java.util.zip.ZipFile |
getZipFile()
Returns the zip file used as a data source. |
void |
setModel(java.io.File file)
Sets the zip file as the data source of the tree model. |
void |
setModel(java.io.InputStream inputStream)
Sets the zip input stream as the data source of the tree model. |
| Methods inherited from class ch.randelshofer.gui.tree.DefaultMutableTreeModel |
|---|
createNodeAt, exportTransferable, getCreatableNodeType, getCreatableNodeTypes, getNodeActions, importTransferable, insertAllInto, insertNodeInto, isEditable, isEnabled, isImportable, isNodeAddable, isNodeEditable, isNodeRemovable, removeNode, setEditable, setEnabled, setInsertableNodeTypes, setRoot |
| Methods inherited from class javax.swing.tree.DefaultTreeModel |
|---|
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, valueForPathChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ch.randelshofer.gui.tree.MutableTreeModel |
|---|
removeNodeFromParent |
| Methods inherited from interface javax.swing.tree.TreeModel |
|---|
addTreeModelListener, getChild, getChildCount, getIndexOfChild, getRoot, isLeaf, removeTreeModelListener, valueForPathChanged |
| Constructor Detail |
|---|
public ZipTreeModel()
| Method Detail |
|---|
public java.util.zip.ZipFile getZipFile()
public void setModel(java.io.File file)
throws java.io.IOException
java.io.IOException
public void setModel(java.io.InputStream inputStream)
throws java.io.IOException
java.io.IOExceptionpublic void dispose()
public javax.activation.DataSource createDataSource(ZipTreeModel.ZipNode zipNode)
|
Copyright 2012-02-25 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||