org.jfree.ui
public class FontChooserDialog extends StandardDialog
Constructor Summary | |
---|---|
FontChooserDialog(Dialog owner, String title, boolean modal, Font font)
Standard constructor - builds a font chooser dialog owned by another dialog.
| |
FontChooserDialog(Frame owner, String title, boolean modal, Font font)
Standard constructor - builds a font chooser dialog owned by a frame.
|
Method Summary | |
---|---|
Font | getSelectedFont()
Returns the selected font.
|
Parameters: owner the dialog that 'owns' this dialog. title the title for the dialog. modal a boolean that indicates whether or not the dialog is modal. font the initial font displayed.
Parameters: owner the frame that 'owns' this dialog. title the title for the dialog. modal a boolean that indicates whether or not the dialog is modal. font the initial font displayed.
Returns: the font.