Uses of Class
org.eclipse.swt.graphics.Font
-
Packages that use Font Package Description org.eclipse.swt.custom org.eclipse.swt.graphics org.eclipse.swt.widgets -
-
Uses of Font in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return Font Modifier and Type Method Description Font
CTabItem. getFont()
Returns the font that the receiver will use to paint textual information.Font
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 Font
GCData. font
Font
TextStyle. font
the font of the styleMethods in org.eclipse.swt.graphics that return Font Modifier and Type Method Description Font
GC. getFont()
Returns the font currently being used by the receiver to draw and measure text.Font
TextLayout. getFont()
Returns the default font currently being used by the receiver to draw and measure text.Font
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(java.lang.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 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 Font
Caret. getFont()
Returns the font that the receiver will use to paint textual information.Font
Control. getFont()
Returns the font that the receiver will use to paint textual information.Font
TableItem. getFont()
Returns the font that the receiver will use to paint textual information for this item.Font
TableItem. getFont(int index)
Returns the font that the receiver will use to paint textual information for the specified cell in this item.Font
TreeItem. getFont()
Returns the font that the receiver will use to paint textual information for this item.Font
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.
-