Font chooser
- Author
- Bernard Bou
◆ FontChooserDialog()
grammarscope.browser.dialog.FontChooserDialog.FontChooserDialog |
( |
final Frame |
owner, |
|
|
final Font |
font, |
|
|
final Color |
color |
|
) |
| |
Constructor
- Parameters
-
owner | parent frame owner |
font | font |
color | color |
◆ cancel()
void grammarscope.browser.dialog.FontChooserDialog.cancel |
( |
| ) |
|
|
protected |
◆ getSelectedColor()
Color grammarscope.browser.dialog.FontChooserDialog.getSelectedColor |
( |
| ) |
|
Get font color
- Returns
- selected color
◆ getSelectedFont()
Font grammarscope.browser.dialog.FontChooserDialog.getSelectedFont |
( |
| ) |
|
Get font
- Returns
- selected font
◆ isOk()
boolean grammarscope.browser.dialog.FontChooserDialog.isOk |
( |
| ) |
|
Get ok pressed status
- Returns
- ok pressed status
◆ makeNameComboBox()
static JComboBox<String> grammarscope.browser.dialog.FontChooserDialog.makeNameComboBox |
( |
| ) |
|
|
staticprivate |
Make font name combobox
- Returns
- font name combobox
◆ makeSizeSpinner()
static JSpinner grammarscope.browser.dialog.FontChooserDialog.makeSizeSpinner |
( |
| ) |
|
|
staticprivate |
Make font size spinner
- Returns
- spinner
◆ ok()
void grammarscope.browser.dialog.FontChooserDialog.ok |
( |
| ) |
|
|
protected |
◆ setVisible()
void grammarscope.browser.dialog.FontChooserDialog.setVisible |
( |
final boolean |
show | ) |
|
◆ update()
void grammarscope.browser.dialog.FontChooserDialog.update |
( |
| ) |
|
|
protected |
Update display. Make a new font for the preview label
◆ updatePreviewColor()
void grammarscope.browser.dialog.FontChooserDialog.updatePreviewColor |
( |
| ) |
|
|
protected |
Update preview color. get the appropriate color from chooser and update the preview label
◆ updatePreviewFont()
void grammarscope.browser.dialog.FontChooserDialog.updatePreviewFont |
( |
| ) |
|
|
protected |
Update preview font. Get the appropriate font and update the preview label
◆ boldCheckBox
final JCheckBox grammarscope.browser.dialog.FontChooserDialog.boldCheckBox |
|
private |
◆ color
Color grammarscope.browser.dialog.FontChooserDialog.color |
|
private |
◆ colorChooser
final JColorChooser grammarscope.browser.dialog.FontChooserDialog.colorChooser |
|
private |
◆ font
Font grammarscope.browser.dialog.FontChooserDialog.font |
|
private |
◆ fontNameComboBox
final JComboBox<String> grammarscope.browser.dialog.FontChooserDialog.fontNameComboBox |
|
private |
◆ fontSizeSpinner
final JSpinner grammarscope.browser.dialog.FontChooserDialog.fontSizeSpinner |
|
private |
◆ isBold
boolean grammarscope.browser.dialog.FontChooserDialog.isBold |
|
private |
◆ isItalic
boolean grammarscope.browser.dialog.FontChooserDialog.isItalic |
|
private |
◆ italicCheckBox
final JCheckBox grammarscope.browser.dialog.FontChooserDialog.italicCheckBox |
|
private |
◆ name
String grammarscope.browser.dialog.FontChooserDialog.name |
|
private |
◆ ok
boolean grammarscope.browser.dialog.FontChooserDialog.ok |
|
private |
Whether ok button was pressed
◆ previewLabel
final JLabel grammarscope.browser.dialog.FontChooserDialog.previewLabel |
|
private |
◆ serialVersionUID
final long grammarscope.browser.dialog.FontChooserDialog.serialVersionUID = 1L |
|
staticprivate |
◆ size
int grammarscope.browser.dialog.FontChooserDialog.size |
|
private |
The documentation for this class was generated from the following file: