org.stringer.ui
Class TreeViewThreadListener
java.lang.Object
|
+--org.stringer.thread.AbstractThreadListener
|
+--org.stringer.ui.TreeViewThreadListener
- All Implemented Interfaces:
- IThreadListener
- public class TreeViewThreadListener
- extends AbstractThreadListener
- Author:
- R. Kevin Cole kcole@users.sourceforge.net
|
Method Summary |
void |
begin()
Implementation of IThreadListener::begin() |
void |
beginUnit(java.lang.Object o)
Implementation of IThreadListener::beginUnit(). |
void |
complete(java.lang.Object o)
Implementation of IThreadListener::complete. |
protected void |
mapToTree(WorkerTreeNode parent,
Channel channel)
Map a channel-items hierarchy to our JTree. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
static org.apache.log4j.Logger logger
treeview
protected TreeView treeview
TreeViewThreadListener
public TreeViewThreadListener(TreeView treeview,
java.util.Map map)
TreeViewThreadListener
public TreeViewThreadListener(TreeView view,
java.util.Map map,
javax.swing.ProgressMonitor pm)
mapToTree
protected void mapToTree(WorkerTreeNode parent,
Channel channel)
- Map a channel-items hierarchy to our JTree.
complete
public void complete(java.lang.Object o)
- Implementation of IThreadListener::complete.
This is called when the thread has completed its task.
- Specified by:
complete in interface IThreadListener- Overrides:
complete in class AbstractThreadListener
begin
public void begin()
- Implementation of IThreadListener::begin()
- Specified by:
begin in interface IThreadListener- Overrides:
begin in class AbstractThreadListener
beginUnit
public void beginUnit(java.lang.Object o)
- Implementation of IThreadListener::beginUnit().
This is called while updating the subscription list. It is
called when the download of a feed's content is beginning and
is used to update the visual representation of this feed's state
in the subscription tree.
- Specified by:
beginUnit in interface IThreadListener- Overrides:
beginUnit in class AbstractThreadListener
- Parameters:
o - The Item that is currently downloading.
Copyright © R. Kevin Cole. All Rights Reserved.