public class FontPicker extends Object
A button that displays a font name and allows the user to pick another font.
  • Constructor Details

    • FontPicker

      public FontPicker(org.eclipse.swt.widgets.Composite parent, originalFont)
  • Method Details

    • getSelectedFont

      public getSelectedFont()
      Font selected by the user. Note that it is the responsibility of the client to dispose of this resource.
    • getOriginalFont

      public getOriginalFont()
    • setOriginalFont

      public void setOriginalFont( font)
      Set the selected font. Note that this class will not take ownership of the passed resource. Instead it will create and manage its own internal copy.
    • getButton

      public org.eclipse.swt.widgets.Button getButton()
      the button
    • setLayoutData

      public void setLayoutData(org.eclipse.swt.layout.GridData gridData)