Class FontChooser

java.lang.Object
thinletcommons.FontChooser

public class FontChooser extends Object
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 Details

    • FontChooser

      public FontChooser(Frame owner, String title)
    • FontChooser

      public FontChooser(Dialog owner, String title)
  • Method Details

    • show

      public void show()
      Show the modal dialog. This halts the application until the user dismisses the dialog.
    • setSelectedFont

      public void setSelectedFont(Font font)
    • getSelectedFont

      public Font getSelectedFont()
    • init

      public void init(Object fontlist)
      Thinlet callback.
    • ok

      public void ok(Object fontlist, Object fontsize, Object cbBold, Object cbItalic)
      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.