Class FontDialog


  • public class FontDialog
    extends org.eclipse.swt.widgets.Dialog
    The font dialog to choose the font.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      ConstructorDescription
      FontDialog​(org.eclipse.swt.widgets.Shell parent, GFont font)
      Create the dialog.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      GFontopen()
      Open the dialog.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FontDialog

        public FontDialog​(org.eclipse.swt.widgets.Shell parent,
                          GFont font)
        Create the dialog.
    • Method Detail

      • open

        public GFont open()
        Open the dialog.
        Returns:
        the result, or null for cancel.