Package | Description |
---|---|
org.eclipse.swt.custom | |
org.eclipse.swt.graphics | |
org.eclipse.swt.ole.win32 | |
org.eclipse.swt.widgets |
Modifier and Type | Method and Description |
---|---|
Font |
TableTreeItem.getFont()
Deprecated.
Returns the font that the receiver will use to paint textual information for this item.
|
Font |
TableTree.getFont()
Deprecated.
|
Font |
PopupList.getFont()
Gets the widget font.
|
Font |
CTabItem.getFont()
Returns the font that the receiver will use to paint textual information.
|
Modifier and Type | Method and Description |
---|---|
void |
TableTreeItem.setFont(Font font)
Deprecated.
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 |
TableTree.setFont(Font font)
Deprecated.
|
void |
StyledText.setFont(Font font)
Sets a new font to render text with.
|
void |
PopupList.setFont(Font font)
Sets the widget 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 |
CTabFolder.setFont(Font font) |
void |
CLabel.setFont(Font font) |
void |
CCombo.setFont(Font font) |
Modifier and Type | Field and Description |
---|---|
Font |
TextStyle.font
the font of the style
|
Font |
GCData.font |
Modifier and Type | Method and Description |
---|---|
Font |
TextLayout.getFont()
Returns the default font currently being used by the receiver
to draw and measure text.
|
Font |
GC.getFont()
Returns the 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.win32_new(Device device,
long handle)
Invokes platform specific functionality to allocate a new font.
|
Modifier and Type | Method and 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 |
TextLayout.setFont(Font font)
Sets the default font which will be used by the receiver
to draw and measure text.
|
void |
GC.setFont(Font font)
Sets the font which will be used by the receiver
to draw and measure text to the argument.
|
Constructor and Description |
---|
TextStyle(Font font,
Color foreground,
Color background)
Create a new text style with the specified font, foreground
and background.
|
Modifier and Type | Method and Description |
---|---|
Font |
OleControlSite.getFont() |
Modifier and Type | Method and Description |
---|---|
void |
OleControlSite.setFont(Font font) |
Modifier and Type | Method and Description |
---|---|
Font |
TreeItem.getFont()
Returns the font that the receiver will use to paint textual information for this item.
|
Font |
TableItem.getFont()
Returns the font that the receiver will use to paint textual information for this item.
|
Font |
Control.getFont()
Returns the font that the receiver will use to paint textual information.
|
Font |
Caret.getFont()
Returns the font that the receiver will use to paint textual information.
|
Font |
TreeItem.getFont(int index)
Returns the font that the receiver will use to paint textual information
for the specified cell in 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 |
Display.getSystemFont()
Returns a reasonable font for applications to use.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
Tree.setFont(Font font) |
void |
ToolBar.setFont(Font font) |
void |
Text.setFont(Font font) |
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 |
Table.setFont(Font font) |
void |
TabFolder.setFont(Font font) |
void |
List.setFont(Font font) |
void |
Group.setFont(Font font) |
void |
ExpandBar.setFont(Font font) |
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 |
Combo.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 |
Canvas.setFont(Font font) |
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 |
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.
|
Copyright © 2017. All Rights Reserved.