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

Packages that use Font
  • Uses of Font in org.eclipse.swt.custom

    Methods in org.eclipse.swt.custom that return Font
    Modifier and Type
    Method
    Description
    CTabItem.getFont()
    Returns the font that the receiver will use to paint textual information.
    PopupList.getFont()
    Gets the widget font.
    Methods in org.eclipse.swt.custom with parameters of type Font
    Modifier and Type
    Method
    Description
    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.
  • Uses of Font in org.eclipse.swt.graphics

    Fields in org.eclipse.swt.graphics declared as Font
    Modifier and Type
    Field
    Description
    GCData.font
     
    TextStyle.font
    the font of the style
    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
    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).
    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

    Methods in org.eclipse.swt.widgets that return Font
    Modifier and Type
    Method
    Description
    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.