All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jreqtools.FontRequester

java.lang.Object
   |
   +----jreqtools.AbstractRequester
           |
           +----jreqtools.FontRequester

public class FontRequester
extends AbstractRequester
This is a requester for fonts.

Author:
Markus Hillenbrand

Constructor Index

 o FontRequester()
Constructs a new StringRequester.
 o FontRequester(Font)
Constructs a new StringRequester.
 o FontRequester(String)
Constructs a new StringRequester.
 o FontRequester(String, Font)
Constructs a new StringRequester.

Method Index

 o createJDialog(JFrame)
 o getFont()
 o getFontAsString()
 o getReturnValue()
 o setFixedWidthOnly(boolean)
 o setFont(Font)

Constructors

 o FontRequester
 public FontRequester()
Constructs a new StringRequester.

 o FontRequester
 public FontRequester(String title)
Constructs a new StringRequester.

Parameters:
message - - The message to be shown in the requester.
defaultstring - - The initial value of the text field.
 o FontRequester
 public FontRequester(Font defaultfont)
Constructs a new StringRequester.

Parameters:
defaultstring - - The initial value of the text field.
 o FontRequester
 public FontRequester(String title,
                      Font defaultfont)
Constructs a new StringRequester.

Parameters:
title - - Title of the requester.
message - - The message to be shown in the requester.
defaultstring - - The initial value of the text field.

Methods

 o createJDialog
 protected JDialog createJDialog(JFrame parent)
Overrides:
createJDialog in class AbstractRequester
 o getFont
 public Font getFont()
 o getFontAsString
 public String getFontAsString()
 o getReturnValue
 protected int getReturnValue()
Overrides:
getReturnValue in class AbstractRequester
 o setFixedWidthOnly
 public void setFixedWidthOnly(boolean bool)
 o setFont
 public void setFont(Font newfont)

All Packages  Class Hierarchy  This Package  Previous  Next  Index