fable.gui
Class FeedListTree

java.lang.Object
  extended by fable.gui.AbstractFeedListTree
      extended by fable.gui.FeedListTree
All Implemented Interfaces:
ArticleMarkChangeListener, StructuralChangeListener, FableListener, CensorshipChangedListener, java.util.EventListener

public class FeedListTree
extends AbstractFeedListTree
implements StructuralChangeListener, ArticleMarkChangeListener, CensorshipChangedListener

FeedListTree class fully functional with message handling behavior.

Author:
Wonsik Kim, Weijie Yuan

Constructor Summary
FeedListTree(Composite parent, FableManager fbm)
          Construct a new FeedListTree object with its parent.
 
Method Summary
 void articleMarkChanged(ArticleMarkChangeEvent amce)
          Invoked when mark of an article is changed.
 void censorshipChanged(CensorshipChangedEvent e)
          Do appropriate action according to the event.
 void structureChanged(StructuralChangeEvent sce)
          Invoked when structure of ADT is changed.
 
Methods inherited from class fable.gui.AbstractFeedListTree
setRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeedListTree

public FeedListTree(Composite parent,
                    FableManager fbm)
Construct a new FeedListTree object with its parent.

Parameters:
parent - parent of this FeedListTree.
fbm - FableManager
Requires:
parent, fbm != null
Effects:
Creates the FeedListTree
Modifies:
this
Method Detail

structureChanged

public void structureChanged(StructuralChangeEvent sce)
Description copied from interface: StructuralChangeListener
Invoked when structure of ADT is changed.

Specified by:
structureChanged in interface StructuralChangeListener
Parameters:
sce - StructuralChangeEvent object containing information about the event.

articleMarkChanged

public void articleMarkChanged(ArticleMarkChangeEvent amce)
Description copied from interface: ArticleMarkChangeListener
Invoked when mark of an article is changed.

Specified by:
articleMarkChanged in interface ArticleMarkChangeListener
Parameters:
amce - ArticleMarkChangeEvent object containing information about the event.

censorshipChanged

public void censorshipChanged(CensorshipChangedEvent e)
Description copied from interface: CensorshipChangedListener
Do appropriate action according to the event.

Specified by:
censorshipChanged in interface CensorshipChangedListener
Parameters:
e - an event object contains relevant information about the event.