Uses of Class
org.eclipse.swt.graphics.Font

Packages that use Font
Package
Description
SWT Custom widgets.
SWT graphics classes.
SWT widget public API classes.
  • Uses of Font in org.eclipse.swt.custom

    Fields in org.eclipse.swt.custom declared as Font
    Modifier and Type
    Field
    Description
    (package private) Font
    StyledTextRenderer.boldFont
     
    (package private) Font
    StyledTextRenderer.boldItalicFont
     
    private Font
    CTabFolderRenderer.chevronFont
     
    (package private) Font
    CCombo.font
     
    (package private) Font
    CTabItem.font
     
    (package private) Font
    StyledTextRenderer.italicFont
     
    (package private) Font
    CTabFolder.oldFont
     
    (package private) Font
    StyledText.Printing.printerFont
     
    (package private) Font
    StyledTextRenderer.regularFont
     
    Fields in org.eclipse.swt.custom with type parameters of type Font
    Modifier and Type
    Field
    Description
    (package private) List<Font>
    RTFWriter.fontTable
     
    Methods in org.eclipse.swt.custom that return Font
    Modifier and Type
    Method
    Description
    private Font
    CTabFolderRenderer.getChevronFont(Display display)
     
    CTabItem.getFont()
    Returns the font that the receiver will use to paint textual information.
    PopupList.getFont()
    Gets the widget font.
    (package private) Font
    StyledTextRenderer.getFont(int style)
     
    Methods in org.eclipse.swt.custom with parameters of type Font
    Modifier and Type
    Method
    Description
    private static String
    HTMLWriter.appendFont(StringBuilder buffer, Font font, int fontStyle)
     
    private int
    RTFWriter.getFontIndex(Font font)
    Returns the index of the specified color in the RTF color table.
    void
    CCombo.setFont(Font font)
     
    void
    CLabel.setFont(Font font)
     
    void
    CTabFolder.setFont(Font font)
     
    void
    CTabItem.setFont(Font font)
    Sets the font that the receiver will use to paint textual information for this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.
    void
    PopupList.setFont(Font font)
    Sets the widget font.
    void
    StyledText.setFont(Font font)
    Sets a new font to render text with.
    (package private) void
    StyledTextRenderer.setFont(Font font, int tabs)
     
  • Uses of Font in org.eclipse.swt.graphics

    Fields in org.eclipse.swt.graphics declared as Font
    Modifier and Type
    Field
    Description
    GCData.font
     
    (package private) Font
    TextLayout.font
     
    TextStyle.font
    the font of the style
    (package private) Font
    Device.systemFont
     
    Methods in org.eclipse.swt.graphics that return Font
    Modifier and Type
    Method
    Description
    GC.getFont()
    Returns the font currently being used by the receiver to draw and measure text.
    TextLayout.getFont()
    Returns the default font currently being used by the receiver to draw and measure text.
    Device.getSystemFont()
    Returns a reasonable font for applications to use.
    static Font
    Font.gtk_new(Device device, long handle)
    Invokes platform specific functionality to allocate a new font.
    Methods in org.eclipse.swt.graphics with parameters of type Font
    Modifier and Type
    Method
    Description
    (package private) static void
    GC.addCairoString(long cairo, String string, float x, float y, Font font)
     
    void
    Path.addString(String string, float x, float y, Font font)
    Adds to the receiver the pattern of glyphs generated by drawing the given string using the given font starting at the point (x, y).
    (package private) static void
    GC.setCairoFont(long cairo, Font font)
     
    void
    GC.setFont(Font font)
    Sets the font which will be used by the receiver to draw and measure text to the argument.
    void
    TextLayout.setFont(Font font)
    Sets the default font which will be used by the receiver to draw and measure text.
    Constructors in org.eclipse.swt.graphics with parameters of type Font
    Modifier
    Constructor
    Description
     
    TextStyle(Font font, Color foreground, Color background)
    Create a new text style with the specified font, foreground and background.
  • Uses of Font in org.eclipse.swt.widgets

    Fields in org.eclipse.swt.widgets declared as Font
    Modifier and Type
    Field
    Description
    (package private) Font[]
    TableItem.cellFont
     
    (package private) Font[]
    TreeItem.cellFont
     
    (package private) Font
    Caret.font
     
    (package private) Font
    Control.font
     
    (package private) Font
    TableItem.font
     
    (package private) Font
    TreeItem.font
     
    Methods in org.eclipse.swt.widgets that return Font
    Modifier and Type
    Method
    Description
    (package private) Font
    Control.defaultFont()
     
    Caret.getFont()
    Returns the font that the receiver will use to paint textual information.
    Control.getFont()
    Returns the font that the receiver will use to paint textual information.
    TableItem.getFont()
    Returns the font that the receiver will use to paint textual information for this item.
    TableItem.getFont(int index)
    Returns the font that the receiver will use to paint textual information for the specified cell in this item.
    TreeItem.getFont()
    Returns the font that the receiver will use to paint textual information for this item.
    TreeItem.getFont(int index)
    Returns the font that the receiver will use to paint textual information for the specified cell in this item.
    Methods in org.eclipse.swt.widgets with parameters of type Font
    Modifier and Type
    Method
    Description
    void
    Canvas.setFont(Font font)
     
    void
    Caret.setFont(Font font)
    Sets the font that the receiver will use to paint textual information to the font specified by the argument, or to the default font for that kind of control if the argument is null.
    void
    Control.setFont(Font font)
    Sets the font that the receiver will use to paint textual information to the font specified by the argument, or to the default font for that kind of control if the argument is null.
    void
    DateTime.setFont(Font font)
     
    void
    TableItem.setFont(int index, Font font)
    Sets the font that the receiver will use to paint textual information for the specified cell in this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.
    void
    TableItem.setFont(Font font)
    Sets the font that the receiver will use to paint textual information for this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.
    void
    TreeItem.setFont(int index, Font font)
    Sets the font that the receiver will use to paint textual information for the specified cell in this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.
    void
    TreeItem.setFont(Font font)
    Sets the font that the receiver will use to paint textual information for this item to the font specified by the argument, or to the default font for that kind of control if the argument is null.