org.apache.fop.render.awt.viewer

Class GoToPageDialog


public class GoToPageDialog
extends JDialog

Go to Page Dialog. Originally contributed by: Juergen Verwohlt: Juergen.Verwohlt@jCatalog.com, Rainer Steinkuhle: Rainer.Steinkuhle@jCatalog.com, Stanislav Gorkhover: Stanislav.Gorkhover@jCatalog.com

Constructor Summary

GoToPageDialog(Frame frame, String title, Translator translator)
Creates modal dialog with a given title, attached to a given frame.

Method Summary

int
getPageNumber()
Returns page number, entered by user.

Constructor Details

GoToPageDialog

public GoToPageDialog(Frame frame,
                      String title,
                      Translator translator)
Creates modal dialog with a given title, attached to a given frame.
Parameters:
frame - Frame to attach to
title - dialog title
translator - translator for localization

Method Details

getPageNumber

public int getPageNumber()
Returns page number, entered by user.
Returns:
the page number

Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.