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