Package | Description |
---|---|
org.eclipse.jface.viewers |
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
|
org.eclipse.swt.accessibility |
SWT Accessibility.
|
org.eclipse.swt.custom |
SWT Custom widgets.
|
org.eclipse.swt.graphics |
SWT graphics classes.
|
org.eclipse.swt.widgets |
SWT widget public API classes.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
StyledString.Styler.applyStyles(TextStyle textStyle)
Applies the styles represented by this object to the given textStyle.
|
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 (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.