public class PartialFontChooserDialog
extends StandardDialog
Constructor and Description |
---|
PartialFontChooserDialog(Dialog owner,
String title,
boolean modal,
Font font,
boolean style,
boolean size)
Standard constructor - builds a font chooser dialog owned by another dialog.
|
PartialFontChooserDialog(Frame owner,
String title,
boolean modal,
Font font,
boolean style,
boolean size)
Standard constructor - builds a font chooser dialog owned by a frame.
|
public PartialFontChooserDialog(Dialog owner, String title, boolean modal, Font font, boolean style, boolean size)
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.public PartialFontChooserDialog(Frame owner, String title, boolean modal, Font font, boolean style, boolean size)
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.public Font getSelectedFont()