net.sourceforge.pavlov.main
Class AbstractUIFactory

java.lang.Object
  extended by net.sourceforge.pavlov.main.AbstractUIFactory
Direct Known Subclasses:
SwingUIFactory

public abstract class AbstractUIFactory
extends Object

Defines user-interface tasks required by AbstractPavlovApplication.


Constructor Summary
AbstractUIFactory()
           
 
Method Summary
abstract  void closeSplashScreen()
          Describe closeSplashScreen method here.
abstract  boolean confirmQuit()
          Describe confirmQuit method here.
abstract  void createQuizSelector(User user, AbstractLibrary library)
          Describe createQuizSelector method here.
abstract  void setStatus(int x, String msg)
          Describe setStatus method here.
abstract  int showFileChooser(JFileChooser chooser, boolean openMode)
          Describe showFileChooser method here.
abstract  void showIncorrectDialog(String msg)
          Describe showIncorrectDialog method here.
abstract  void showLoginController(LogonListener lis)
           
abstract  void startQuiz(User user, ChapterReference ref)
          Describe startQuiz method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUIFactory

public AbstractUIFactory()
Method Detail

confirmQuit

public abstract boolean confirmQuit()
Describe confirmQuit method here.

Returns:
a boolean value

createQuizSelector

public abstract void createQuizSelector(User user,
                                        AbstractLibrary library)
Describe createQuizSelector method here.

Parameters:
user - an User value
library - an AbstractLibrary value

startQuiz

public abstract void startQuiz(User user,
                               ChapterReference ref)
Describe startQuiz method here.

Parameters:
user - an User value
library - an AbstractLibrary value

closeSplashScreen

public abstract void closeSplashScreen()
Describe closeSplashScreen method here.


setStatus

public abstract void setStatus(int x,
                               String msg)
Describe setStatus method here.

Parameters:
x - an int value
msg - a String value

showIncorrectDialog

public abstract void showIncorrectDialog(String msg)
Describe showIncorrectDialog method here.

Parameters:
msg - a String value

showLoginController

public abstract void showLoginController(LogonListener lis)

showFileChooser

public abstract int showFileChooser(JFileChooser chooser,
                                    boolean openMode)
Describe showFileChooser method here.

Parameters:
chooser - a JFileChooser value
openMode - a boolean value
Returns:
an int value