public class SwtUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static 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 Map<String,javafx.scene.paint.Color> |
loadThemeColours(Object uiObject,
boolean isDispose)
Loads the
ITheme Color instances. |
public static final 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 Map<String,javafx.scene.paint.Color> loadThemeColours(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–2020 OfficeFloor. All rights reserved.