@ParametersAreNonnullByDefault
Package com.diffplug.common.swt
-
Interface Summary Interface Description Coat A function that can be "put on" a blankComposite
.Coat.Returning<T> A Coat which returns a handle to the content it created.ControlWrapper Wraps an SWTControl
to encapsulate its API. -
Class Summary Class Description CoatMux A widget that switches between multiple `Coat`s.ColorPool CachesColor
s, 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 aControlWrapper
which wraps aControl
.ControlWrapper.AroundWrapper<T extends ControlWrapper> Default implementation of aControlWrapper
which wraps some other form of `ControlWrapper` with a new interface.ControlWrapper.Transparent<T extends Control> Fonts Registry of fonts, especially system fonts.InteractiveTest 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 SWTShell
s.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 Executors
which execute on the SWT UI thread.SwtExec.Blocking An Executor (obtained viaSwtExec.blocking()
) which adds a blockingget()
method.SwtExec.Guarded SwtMisc Miscellaneous SWT functions.SwtRx Utilities that convert SWT events into Rx-friendly Observables.TypedDataField<T,W extends Widget> Typed utility for getting and setting data using SWT's Widget getData() / setData() API. -
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.