Package thinletcommons
Class FontChooser
java.lang.Object
thinletcommons.FontChooser
A Thinlet font chooser dialog.
The dialog is modal and blocks the calling frame/dialog. It is therefore displayed in a separate window.
- Author:
- Dirk Moebius
-
Constructor Summary
ConstructorsConstructorDescriptionFontChooser(Dialog owner, String title) FontChooser(Frame owner, String title) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Thinlet callback.voidfontChanged(Object fontlist, Object fontsize, Object cbBold, Object cbItalic, Object preview, Object bOk) Thinlet callback.voidThinlet callback.voidThinlet callback.voidsetSelectedFont(Font font) voidshow()Show the modal dialog.
-
Constructor Details
-
FontChooser
-
FontChooser
-
-
Method Details
-
show
public void show()Show the modal dialog. This halts the application until the user dismisses the dialog. -
setSelectedFont
-
getSelectedFont
-
init
Thinlet callback. -
ok
Thinlet callback. -
close
public void close()Thinlet callback. -
fontChanged
public void fontChanged(Object fontlist, Object fontsize, Object cbBold, Object cbItalic, Object preview, Object bOk) Thinlet callback.
-