net.sf.jdiskcatalog.view
Class TreeView
java.lang.Object
net.sf.jdiskcatalog.view.TreeView
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.TreeSelectionListener, NodeSelectionListener, View
public class TreeView
- extends java.lang.Object
- implements View, javax.swing.event.TreeSelectionListener
Displays a tree view of all collections, disks and disk content.
- Version:
- $Id$
- Author:
- Przemek Więch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeView
public TreeView()
getComponent
public javax.swing.JComponent getComponent()
- Specified by:
getComponent
in interface View
nodeSelected
public void nodeSelected(Node node)
- Specified by:
nodeSelected
in interface NodeSelectionListener
setDocument
public void setDocument(Document document)
- Specified by:
setDocument
in interface View
refresh
public void refresh()
- Specified by:
refresh
in interface View
setNodeSelectionListener
public void setNodeSelectionListener(NodeSelectionListener listener)
- Specified by:
setNodeSelectionListener
in interface View
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent e)
- Specified by:
valueChanged
in interface javax.swing.event.TreeSelectionListener
Copyright © 2007. All Rights Reserved.