fable.gui
Class TabView

java.lang.Object
  extended by fable.gui.TabView
All Implemented Interfaces:
FableListener, ArticleBrowseListener, ExportListener, FeedSelectedListener, FolderSelectedListener, java.util.EventListener

public class TabView
extends java.lang.Object
implements ArticleBrowseListener, FeedSelectedListener, FolderSelectedListener, ExportListener

TabView is the concrete class for tabs

Author:
Christopher Moh, Wonsik Kim

Constructor Summary
TabView(Composite parent, FableManager fbm)
          Creates a new TabView
 
Method Summary
 void articleBrowse(ArticleBrowseEvent e)
          Do appropriate action according to the event.
 void export(ExportEvent ee)
          Do appropriate action according to the event.
 void feedSelected(FeedSelectedEvent e)
          Do appropriate action according to the event.
 void folderSelected(FolderSelectedEvent e)
          Do appropriate action according to the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabView

public TabView(Composite parent,
               FableManager fbm)
Creates a new TabView

Parameters:
parent - Parent Composite
fbm - FableManager of the system
Requires:
parent, fbm != null
Effects:
creates the TabView
Modifies:
this
Method Detail

articleBrowse

public void articleBrowse(ArticleBrowseEvent e)
Description copied from interface: ArticleBrowseListener
Do appropriate action according to the event.

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

feedSelected

public void feedSelected(FeedSelectedEvent e)
Description copied from interface: FeedSelectedListener
Do appropriate action according to the event.

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

folderSelected

public void folderSelected(FolderSelectedEvent e)
Description copied from interface: FolderSelectedListener
Do appropriate action according to the event.

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

export

public void export(ExportEvent ee)
Description copied from interface: ExportListener
Do appropriate action according to the event.

Specified by:
export in interface ExportListener
Parameters:
ee - an event object contains relevant information about the event.