@ParametersAreNonnullByDefault
Package com.diffplug.common.swt
-
Interface Summary Interface Description ControlWrapper Wraps an SWTControlto encapsulate its API. -
Class Summary Class Description CoatMux A widget that switches between multiple `Coat`s.ColorPool CachesColors, and automatically manages their disposal.ColumnFormat ColumnFormat.ColumnBuilder Builder for a single TableColumn.ColumnFormat.ColumnPixelDataBuilder A fluent API for manipulating aColumnPixelData.ColumnFormat.ColumnWeightDataBuilder A fluent API for manipulating aColumnWeightData.ControlWrapper.AroundControl<T extends Control> Default implementation of aControlWrapperwhich wraps aControl.ControlWrapper.AroundWrapper<T extends ControlWrapper> Default implementation of aControlWrapperwhich wraps some other form of `ControlWrapper` with a new interface.ControlWrapper.Transparent<T extends Control> Fonts Registry of fonts, especially system fonts.InteractiveTest InteractiveTest opens aCoatorShell, and displays instructions for a human tester to determine whether the test passed or failed.InteractiveTest.FailsWithoutUser Marker class for interactive tests that aren't compatible with auto-close.Layouts Provides fluent utilities for manipulating SWT layouts.LayoutsFillLayout A fluent api for setting and modifying aFillLayout, created byLayouts.LayoutsGridData LayoutsGridLayout A fluent api for setting and modifying aGridLayout, created byLayouts.LayoutsRowData LayoutsRowLayout LayoutWrapper<T extends Layout> Base class to Layouts{X}Layout.OnePerWidget<WidgetType extends Widget,T> Maintains a cache of values which are mapped to SWT widgets.Shells A fluent builder for creating SWTShells.SiliconFix Call these methods whenever a `Table`, `Tree`, or `List` is instantiated and it will do nothing, excpet on Mac Apple Silicon where it will call `setFont(null)` as a workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=575696SwtDebug Helpful utilities for debugging SWT.SwtDebug.ObjectIsNull Sentinel class for null objects.SwtExec Executorswhich execute on the SWT UI thread.SwtExec.Blocking An Executor (obtained viaSwtExec.blocking()) which adds a blockingget()method.SwtExec.Guarded ExecutorandRxfor conducting actions which are guarded on an SWT widget.SwtMisc Miscellaneous SWT functions.SwtRx Utilities that convert SWT events into Rx-friendly Observables.TypedDataField<W extends Widget,T> Typed utility for getting and setting data using SWT's Widget getData() / setData() API.VScrollBubble Bubbles vertical scroll events up to a parent container, so that you don't get stuck. -
Enum Summary Enum Description Corner Positions within a rectangle (the corners, the center of the lines, and the center).MouseClick Enum to help model different mouse clicks.SwtThread.Kind -
Annotation Types Summary Annotation Type Description SwtThread Marks that the given code should only be called from an SWT thread.