Package | Description |
---|---|
org.eclipse.swt.accessibility | |
org.eclipse.swt.custom | |
org.eclipse.swt.graphics | |
org.eclipse.swt.widgets |
Modifier and Type | Field and Description |
---|---|
TextStyle |
AccessibleTextAttributeEvent.textStyle
[in/out] the TextStyle of the character range
|
Modifier and Type | Class and Description |
---|---|
class |
StyleRange
StyleRange defines a set of styles for a specified
range of text. |
Constructor and Description |
---|
StyleRange(TextStyle style)
Create a new style range from an existing text style.
|
Modifier and Type | Method and Description |
---|---|
TextStyle |
TextLayout.getStyle(int offset)
Gets the style of the receiver at the specified character offset.
|
TextStyle[] |
TextLayout.getStyles()
Gets all styles of the receiver.
|
Modifier and Type | Method and Description |
---|---|
void |
TextLayout.setStyle(TextStyle style,
int start,
int end)
Sets the style of the receiver for the specified range.
|
Constructor and Description |
---|
TextStyle(TextStyle style)
Create a new text style from an existing text style.
|
Modifier and Type | Method and Description |
---|---|
TextStyle[] |
IME.getStyles()
Returns the styles for the ranges.
|
Copyright © 2017. All Rights Reserved.