net.sourceforge.pavlov.controllers
Class LibraryController

java.lang.Object
  extended by net.sourceforge.sillyview.Widget
      extended by net.sourceforge.pavlov.controllers.LibraryController

public class LibraryController
extends Widget

Since:
1.1

Field Summary
static String BOOK
          Description of the Field
static String BOOK_NAME
          Description of the Field
static String CHAPTER
          Description of the Field
static String CHAPTER_NAME
          Description of the Field
static String START_QUIZ
          Description of the Field
static String START_QUIZ_COMMAND
          Description of the Field
 
Fields inherited from class net.sourceforge.sillyview.Widget
view
 
Constructor Summary
LibraryController(WidgetView vu, AbstractLibrary lib)
          Constructor for the LibraryController object
 
Method Summary
 void setBaseDirectory(File baseDir)
          Sets the template attribute of the LibraryController object
 void setHyperlinkListener(HyperlinkListener h)
          Sets the hyperlinkListener attribute of the LibraryController object
 void setTemplate(String tmp, File baseDir)
          Sets the template attribute of the LibraryController object
 
Methods inherited from class net.sourceforge.sillyview.Widget
getView, setView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOK

public static final String BOOK
Description of the Field

See Also:
Constant Field Values

CHAPTER

public static final String CHAPTER
Description of the Field

See Also:
Constant Field Values

START_QUIZ

public static final String START_QUIZ
Description of the Field

See Also:
Constant Field Values

START_QUIZ_COMMAND

public static final String START_QUIZ_COMMAND
Description of the Field

See Also:
Constant Field Values

BOOK_NAME

public static final String BOOK_NAME
Description of the Field

See Also:
Constant Field Values

CHAPTER_NAME

public static final String CHAPTER_NAME
Description of the Field

See Also:
Constant Field Values
Constructor Detail

LibraryController

public LibraryController(WidgetView vu,
                         AbstractLibrary lib)
                  throws IOException,
                         Exception
Constructor for the LibraryController object

Parameters:
vu - A WidgetView to display the library
lib - A library to render
Throws:
IOException - Description of the Exception
Exception - Description of the Exception
Method Detail

setTemplate

public void setTemplate(String tmp,
                        File baseDir)
Sets the template attribute of the LibraryController object

Parameters:
tmp - The new template value
baseDir - The new template value

setBaseDirectory

public void setBaseDirectory(File baseDir)
Sets the template attribute of the LibraryController object

Parameters:
tmp - The new template value
baseDir - The new template value

setHyperlinkListener

public void setHyperlinkListener(HyperlinkListener h)
Sets the hyperlinkListener attribute of the LibraryController object

Parameters:
h - The new hyperlinkListener value