All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.jslider.gui.GenerateDialog

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----org.jfouffa.jslider.gui.GenerateDialog

public class GenerateDialog
extends Dialog
implements GeneratorObserver
Creates a dialog which is poped when the slides are generated.


Constructor index

 o GenerateDialog(Frame)
Constructs an initially invisible GenerateDialog with a title.

Method index

 o notifyConnection(URL)
Notifies the connection to the document
 o notifyEndDocument(URL, String, int)
Notifies the end of the document
 o notifyError(URL)
Notifies an error with the document
 o notifyMainTitle(URL, String)
Notifies the TITLE element.
 o notifyNewSlideFound(URL, String, int, int)
Notifies a new slide.
 o notifyWrite(URL, String, int)
Notifies a new slide and his page number.

Constructors

 o GenerateDialog
 public GenerateDialog(Frame f)
Constructs an initially invisible GenerateDialog with a title.

Parameters:
parent - the parent of this dialog

Methods

 o notifyConnection
 public void notifyConnection(URL document)
Notifies the connection to the document

Parameters:
document - the URL of the main document
 o notifyMainTitle
 public void notifyMainTitle(URL toc,
                             String title)
Notifies the TITLE element.

Parameters:
toc - the URL of the table of contents
title - The title of the document.
 o notifyNewSlideFound
 public void notifyNewSlideFound(URL slide,
                                 String title,
                                 int pageNumber,
                                 int line)
Notifies a new slide.

Parameters:
slide - the URL of the new slide
title - the title of the slide
pageNumber - the page number of the slide
line - the line number in the main document
 o notifyEndDocument
 public void notifyEndDocument(URL document,
                               String title,
                               int numberOfPage)
Notifies the end of the document

Parameters:
document - the URL of the main document
title - the title of the document
numberOfPage - the number of slides for this document
 o notifyWrite
 public void notifyWrite(URL slide,
                         String title,
                         int pageNumber)
Notifies a new slide and his page number.

Parameters:
slide - the URL of the new slide
title - the title of the slide
pageNumber - the page number of the slide
line - the line number in the main document
 o notifyError
 public void notifyError(URL document)
Notifies an error with the document

Parameters:
document - the URL of the main document