public class SwtUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BACKGROUND_COLOR
Name of the background.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
autoHideScrollbars(org.eclipse.swt.custom.StyledText text)
Provides auto hiding of the scroll bars.
|
static void |
autoHideScrollbars(org.eclipse.swt.widgets.Text text)
Provides auto hiding of the scroll bars.
|
static org.eclipse.jface.fieldassist.ControlDecoration |
errorDecoration(org.eclipse.swt.widgets.Control control,
int style)
Creates error decoration on the
Control. |
static java.util.Map<java.lang.String,javafx.scene.paint.Color> |
loadThemeColours(java.lang.Object uiObject,
boolean isDispose)
Loads the
ITheme Color instances. |
public static final java.lang.String BACKGROUND_COLOR
public static void autoHideScrollbars(org.eclipse.swt.widgets.Text text)
text - Text.public static void autoHideScrollbars(org.eclipse.swt.custom.StyledText text)
text - StyledText.public static org.eclipse.jface.fieldassist.ControlDecoration errorDecoration(org.eclipse.swt.widgets.Control control,
int style)
Control.control - Control to have error decoration.style - SWT style.ControlDecoration.public static java.util.Map<java.lang.String,javafx.scene.paint.Color> loadThemeColours(java.lang.Object uiObject,
boolean isDispose)
ITheme Color instances.uiObject - UI object to extract Color instances.isDispose - Indicates to dispose the Widget once complete.Map of CSS property to Color.Copyright © 2005–2018. All rights reserved.