- Actions - Class in com.diffplug.common.swt.jface
-
Provides a fluent interface for constructing actions.
- Actions.Style - Enum in com.diffplug.common.swt.jface
-
Style enum for various kinds of IAction.
- add(Coat, T) - Method in class com.diffplug.common.swt.CoatMux
-
- add(Coat.Returning<T>) - Method in class com.diffplug.common.swt.CoatMux
-
- addCoat(Coat, T) - Method in class com.diffplug.common.swt.CoatMux
-
Adds a persistent
CoatMux.Layer
which will be populated immediately by the given `Coat`, using `value` as the key.
- addCoat(Coat.Returning<T>) - Method in class com.diffplug.common.swt.CoatMux
-
Adds a persistent
CoatMux.Layer
which will be populated immediately by the given `Coat.Returning`, using the return value as the key.
- addColumn() - Method in class com.diffplug.common.swt.ColumnFormat
-
Adds a column to the table.
- addColumn() - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Adds a column to the table.
- addControl(Function<Composite, T>) - Method in class com.diffplug.common.swt.CoatMux
-
Adds a persistent
CoatMux.Layer
which will be populated immediately by the given `Function
`, with the returned control as the key.
- addListener(Widget, int...) - Static method in class com.diffplug.common.swt.SwtRx
-
Subscribes to the given widget and pipes the events to an
Observable
<
Event
>.
- addListener(Widget, Collection<Integer>) - Static method in class com.diffplug.common.swt.SwtRx
-
Subscribes to the given widget and pipes the events to an
Observable
<
Event
>.
- addListener(Widget, Stream<Integer>) - Static method in class com.diffplug.common.swt.SwtRx
-
Subscribes to the given widget and pipes the events to an
Observable
<
Event
>.
- addTrim(boolean) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnPixelDataBuilder
-
Whether to allocate extra width to the column to account for trim taken by the column itself.
- addWrapper(Function<Composite, T>) - Method in class com.diffplug.common.swt.CoatMux
-
Adds a persistent
CoatMux.Layer
which will be populated immediately by the given `Function
`, with the returned control as the key.
- allEvents() - Static method in class com.diffplug.common.swt.SwtDebug
-
Returns a map from the SWT event code to its name, for all SWT events.
- Arch - Enum in com.diffplug.common.swt.os
-
Enum for handling different processor architectures supported by SWT.
- AroundControl(T) - Constructor for class com.diffplug.common.swt.ControlWrapper.AroundControl
-
Creates a ControlWrapper which wraps the given control.
- AroundWrapper(T) - Constructor for class com.diffplug.common.swt.ControlWrapper.AroundWrapper
-
Creates a ControlWrapper which wraps the given control.
- asColumnFormat() - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Returns as a regular non-viewer format.
- asListener(Runnable) - Static method in class com.diffplug.common.swt.SwtMisc
-
- assertClean(Composite) - Static method in class com.diffplug.common.swt.SwtMisc
-
- assertNotUI() - Static method in class com.diffplug.common.swt.SwtMisc
-
Asserts that the user didn't call this from the UI thread.
- assertUI() - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns the Display instance, asserting that the method was called from the UI thread.
- async() - Static method in class com.diffplug.common.swt.SwtExec
-
Returns an "async" SwtExecutor.
- asyncLayout(Composite) - Static method in class com.diffplug.common.swt.SwtMisc
-
Performs an asynchronous layout on the given composite.
- asyncLayoutOnResize(Composite) - Static method in class com.diffplug.common.swt.SwtMisc
-
Performs an asynchronous layout on the given composite anytime that it is resized.
- AUTOCLOSE_KEY - Static variable in class com.diffplug.common.swt.InteractiveTest
-
Key for specifying that autoclose should be used.
- awaitTermination(long, TimeUnit) - Method in class com.diffplug.common.swt.SwtExec
-
Blocks until all tasks have completed execution after a shutdown
request, or the timeout occurs, or the current thread is
interrupted, whichever happens first.
- blockForError(String, String, Shell) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to notify about an error.
- blockForError(String, String) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to notify about an error.
- blockForMessageBox(String, String, Shell, int) - Static method in class com.diffplug.common.swt.SwtMisc
-
Opens a message box with the given title, message, and style and returns its result.
- blockForMessageBox(String, String, int) - Static method in class com.diffplug.common.swt.SwtMisc
-
Opens a message box with the given title, message, and style and returns its result.
- blockForOkCancel(String, String, Shell) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to ask an Ok/Cancel question.
- blockForOkCancel(String, String) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to ask an Ok/Cancel question.
- blockForQuestion(String, String, Shell) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to ask a yes/no question.
- blockForQuestion(String, String) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to ask a yes/no question.
- blockForSuccess(String, String, Shell) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to notify about a success.
- blockForSuccess(String, String) - Static method in class com.diffplug.common.swt.SwtMisc
-
Blocks to notify about a success.
- blocking() - Static method in class com.diffplug.common.swt.SwtExec
-
Returns a "blocking" Executor for the SWT thread.
- bringToTop() - Method in class com.diffplug.common.swt.CoatMux.Layer
-
Brings this layer to the top.
- build() - Method in class com.diffplug.common.swt.jface.Actions
-
Returns an action with the specified properties.
- build() - Method in class com.diffplug.common.swt.jface.LabelProviders.Builder
-
Returns a new ColumnLabelProvider.
- builder() - Static method in class com.diffplug.common.swt.ColumnFormat
-
Creates a `TableFormat` with the given style bits.
- builder() - Static method in class com.diffplug.common.swt.jface.Actions
-
Defaults to a push style with no text, accelerator, or action.
- builder() - Static method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Creates a `TableFormat` with the given style bits.
- builder() - Static method in class com.diffplug.common.swt.jface.LabelProviders
-
- builder(int, Coat) - Static method in class com.diffplug.common.swt.Shells
-
Creates a new Shells for this Coat.
- builderCopy(IAction) - Static method in class com.diffplug.common.swt.jface.Actions
-
Copies all behavior from the given action.
- buildTable(Composite) - Method in class com.diffplug.common.swt.ColumnFormat
-
Builds a
Table
with the specified columns and layout.
- buildTable(Composite, int, boolean, boolean, List<? extends ColumnFormat.ColumnBuilder>) - Static method in class com.diffplug.common.swt.ColumnFormat
-
Builds a table with the given columns.
- buildTable(Composite) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
- buildTree(Composite) - Method in class com.diffplug.common.swt.ColumnFormat
-
Builds a
Tree
with the specified columns and layout.
- buildTree(Composite, int, boolean, boolean, List<? extends ColumnFormat.ColumnBuilder>) - Static method in class com.diffplug.common.swt.ColumnFormat
-
Builds a table with the given columns.
- buildTree(Composite) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
- center(boolean) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
center specifies whether the controls in a row should be
centered vertically in each cell for horizontal layouts,
or centered horizontally in each cell for vertical layouts.
- clean(Composite) - Static method in class com.diffplug.common.swt.SwtMisc
-
Disposes all children of the given composite, and sets the layout to null.
- closeAndFail(Control) - Static method in class com.diffplug.common.swt.InteractiveTest
-
Closes the test for the given control, and fails.
- closeAndPass(Control) - Static method in class com.diffplug.common.swt.InteractiveTest
-
Closes the test for the given control, and passes.
- Coat - Interface in com.diffplug.common.swt
-
A function that can be "put on" a blank
Composite
.
- Coat.Returning<T> - Interface in com.diffplug.common.swt
-
A Coat which returns a handle to the content it created.
- CoatMux - Class in com.diffplug.common.swt
-
A widget that switches between multiple `Coat`s.
- CoatMux(Composite) - Constructor for class com.diffplug.common.swt.CoatMux
-
- CoatMux(Composite, int) - Constructor for class com.diffplug.common.swt.CoatMux
-
- CoatMux.Layer<T> - Class in com.diffplug.common.swt
-
Represents a persistent layer within this `CoatMux`.
- ColorPool - Class in com.diffplug.common.swt
-
Caches
Color
s, and automatically manages their disposal.
- ColumnBuilder() - Constructor for class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- columnBuilders - Variable in class com.diffplug.common.swt.ColumnFormat
-
- ColumnFormat - Class in com.diffplug.common.swt
-
Fluent API for creating
Table
s and
Tree
s with the specified columns and layout.
- ColumnFormat() - Constructor for class com.diffplug.common.swt.ColumnFormat
-
- ColumnFormat.ColumnBuilder - Class in com.diffplug.common.swt
-
Builder for a single TableColumn.
- ColumnFormat.ColumnPixelDataBuilder - Class in com.diffplug.common.swt
-
- ColumnFormat.ColumnWeightDataBuilder - Class in com.diffplug.common.swt
-
- columnsEqualWidth(boolean) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
- ColumnViewerFormat<T> - Class in com.diffplug.common.swt.jface
-
- ColumnViewerFormat.ColumnBuilder<T> - Class in com.diffplug.common.swt.jface
-
Builder for a single TableColumn.
- com.diffplug.common.swt - package com.diffplug.common.swt
-
- com.diffplug.common.swt.jface - package com.diffplug.common.swt.jface
-
- com.diffplug.common.swt.os - package com.diffplug.common.swt.os
-
- combo(Combo, ImmutableList<T>, Function<T, String>) - Static method in class com.diffplug.common.swt.SwtRx
-
Populates a Combo returns an `RxBox` which is bidirectionally bound
to the given combo.
- combo(Combo, ImmutableList<T>, Function<T, String>, RxBox<T>) - Static method in class com.diffplug.common.swt.SwtRx
-
Populates a Combo and bidirectionally binds it to an `RxBox`.
- confirmClose(Shell, String, String, Runnable) - Static method in class com.diffplug.common.swt.Shells
-
Prevents the given shell from closing without prompting.
- ControlWrapper - Interface in com.diffplug.common.swt
-
Wraps an SWT
Control
to encapsulate its API.
- ControlWrapper.AroundControl<T extends Control> - Class in com.diffplug.common.swt
-
- ControlWrapper.AroundWrapper<T extends ControlWrapper> - Class in com.diffplug.common.swt
-
Default implementation of a
ControlWrapper
which wraps some other form of `ControlWrapper` with a new interface.
- copyEvent(Event) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns a deep copy of the given SWT event.
- Corner - Enum in com.diffplug.common.swt
-
Positions within a rectangle (the corners, the center of the lines, and the center).
- create(String, Runnable) - Static method in class com.diffplug.common.swt.jface.Actions
-
Concise method for creating a push action.
- create(String, ImageDescriptor, Runnable) - Static method in class com.diffplug.common.swt.jface.Actions
-
Concise method for creating a push action.
- create(String, ImageDescriptor, int, Runnable) - Static method in class com.diffplug.common.swt.jface.Actions
-
Concise method for creating a push action.
- create(String, Listener) - Static method in class com.diffplug.common.swt.jface.Actions
-
Concise method for creating a push action.
- create(String, ImageDescriptor, Listener) - Static method in class com.diffplug.common.swt.jface.Actions
-
Concise method for creating a push action.
- create(String, ImageDescriptor, int, Listener) - Static method in class com.diffplug.common.swt.jface.Actions
-
Concise method for creating a push action.
- create(WidgetType) - Method in class com.diffplug.common.swt.OnePerWidget
-
Creates a new object for the control.
- createSetter(Widget, Supplier<Image>, Consumer<Image>) - Static method in class com.diffplug.common.swt.jface.ImageDescriptors
-
- createWithImage(Function<? super T, ? extends Image>) - Static method in class com.diffplug.common.swt.jface.LabelProviders
-
- createWithText(Function<? super T, ? extends String>) - Static method in class com.diffplug.common.swt.jface.LabelProviders
-
- createWithTextAndImage(Function<? super T, ? extends String>, Function<? super T, ? extends Image>) - Static method in class com.diffplug.common.swt.jface.LabelProviders
-
- get(String, int, int) - Static method in class com.diffplug.common.swt.Fonts
-
Returns the given font.
- get(Supplier<T>) - Method in class com.diffplug.common.swt.SwtExec.Blocking
-
Performs a blocking get in the UI thread.
- getAcceleratorString(int) - Static method in class com.diffplug.common.swt.jface.Actions
-
Returns the given key accelerator as a string (including shift, control, command, etc).
- getAll() - Static method in class com.diffplug.common.swt.os.SwtPlatform
-
Returns all of the platforms.
- getArch() - Method in enum com.diffplug.common.swt.os.OS
-
Returns the architecture of the given operating system.
- getArch() - Method in class com.diffplug.common.swt.os.SwtPlatform
-
Returns the CPU architecture.
- getColor(RGB) - Method in class com.diffplug.common.swt.ColorPool
-
Returns a Color for the given RGB value.
- getColumnLayoutData() - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- getColumns() - Method in class com.diffplug.common.swt.ColumnFormat
-
Returns the columns array.
- getColumns() - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Returns the columns array.
- getGuard() - Method in class com.diffplug.common.swt.SwtExec.Guarded
-
Returns the guard widget.
- getHandle() - Method in class com.diffplug.common.swt.CoatMux.Layer
-
- getImage() - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- getLabelProvider() - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
- getLayoutData() - Method in interface com.diffplug.common.swt.ControlWrapper
-
Returns the LayoutData for this control.
- getNative() - Static method in enum com.diffplug.common.swt.os.Arch
-
Returns the Arch for the native platform: 32-bit JVM on 64-bit Windows returns Arch.x64.
- getNative() - Static method in enum com.diffplug.common.swt.os.OS
-
Returns the native OS: 32-bit JVM on 64-bit Windows returns OS.WIN_64.
- getNative() - Static method in class com.diffplug.common.swt.os.SwtPlatform
-
Returns the SwtPlatform for the native platform: 32-bit JVM on 64-bit Windows returns x86_64.
- getOs() - Method in class com.diffplug.common.swt.os.SwtPlatform
-
Returns the operating system.
- getParent() - Method in interface com.diffplug.common.swt.ControlWrapper
-
Returns the parent of this Control.
- getPosition(Rectangle) - Method in enum com.diffplug.common.swt.Corner
-
Returns this corner's position within the given rectangle.
- getRaw() - Method in class com.diffplug.common.swt.LayoutsGridData
-
Returns the raw GridData.
- getRaw() - Method in class com.diffplug.common.swt.LayoutsRowData
-
Returns the raw GridData.
- getRaw() - Method in class com.diffplug.common.swt.LayoutWrapper
-
- getRootControl() - Method in class com.diffplug.common.swt.ControlWrapper.AroundControl
-
- getRootControl() - Method in class com.diffplug.common.swt.ControlWrapper.AroundWrapper
-
- getRootControl() - Method in interface com.diffplug.common.swt.ControlWrapper
-
Returns the wrapped
Control
(only appropriate for limited purposes!).
- getRunning() - Static method in enum com.diffplug.common.swt.os.Arch
-
Returns the Arch for the native platform: 32-bit JVM on 64-bit Windows returns Arch.x86.
- getRunning() - Static method in enum com.diffplug.common.swt.os.OS
-
Returns the running OS: 32-bit JVM on 64-bit Windows returns OS.WIN_32.
- getRunning() - Static method in class com.diffplug.common.swt.os.SwtPlatform
-
Returns the SwtPlatform for the running platform: 32-bit JVM on 64-bit Windows returns x86.
- getRxExecutor() - Method in class com.diffplug.common.swt.SwtExec
-
- getShell() - Method in interface com.diffplug.common.swt.ControlWrapper
-
Returns the parent Shell of this Control.
- getStyle() - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- getStyle() - Method in class com.diffplug.common.swt.ColumnFormat
-
Returns the style of this format.
- getSystemColor(int) - Method in class com.diffplug.common.swt.ColorPool
-
Returns a Color for the SWT.COLOR_xxx.
- getSystemColor(int) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns the given system color.
- getText() - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- getTopControl() - Method in class com.diffplug.common.swt.CoatMux
-
The Control at the top of the stack (possibly null).
- getWs() - Method in class com.diffplug.common.swt.os.SwtPlatform
-
Returns the windowing system.
- getWuffString() - Method in class com.diffplug.common.swt.os.SwtPlatform
-
Returns the folder name that
wuff uses for this SwtPlatform.
- globalBounds(Control) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns the bounds of the given control in global coordinates.
- grabAll() - Method in class com.diffplug.common.swt.LayoutsGridData
-
The GridData will grab space in all directions.
- grabExcessHorizontalSpace(boolean) - Method in class com.diffplug.common.swt.LayoutsGridData
-
- grabExcessVerticalSpace(boolean) - Method in class com.diffplug.common.swt.LayoutsGridData
-
- grabHorizontal() - Method in class com.diffplug.common.swt.LayoutsGridData
-
The GridData will grab space horizontally.
- grabVertical() - Method in class com.diffplug.common.swt.LayoutsGridData
-
The GridData will grab space vertically.
- guardOn(Control) - Method in class com.diffplug.common.swt.SwtExec.Blocking
-
Returns an executor which will only execute if the given guard hasn't been disposed.
- guardOn(ControlWrapper) - Method in class com.diffplug.common.swt.SwtExec.Blocking
-
Returns an executor which will only execute if the given guard hasn't been disposed.
- guardOn(Widget) - Method in class com.diffplug.common.swt.SwtExec
-
Returns an API for performing actions which are guarded on the given Widget.
- guardOn(ControlWrapper) - Method in class com.diffplug.common.swt.SwtExec
-
Returns an API for performing actions which are guarded on the given ControlWrapper.
- margin(int) - Method in class com.diffplug.common.swt.LayoutsFillLayout
-
Sets marginWidth and marginHeight to the given value.
- margin(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
Sets marginWidth and marginHeight to the given value, and left/right/top/bottom to 0.
- margin(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
Sets marginWidth and marginHeight to the given value, and left/right/top/bottom to 0.
- margin(int) - Method in class com.diffplug.common.swt.LayoutWrapper
-
Sets all margins to the given value.
- marginBottom(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
- marginBottom(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
- marginHeight(int) - Method in class com.diffplug.common.swt.LayoutsFillLayout
-
- marginHeight(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
- marginHeight(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
- marginLeft(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
- marginLeft(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
- marginLeftRight(int, int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
Sets marginWidth to 0, and left / right to the given values.
- marginLeftRight(int, int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
Sets marginWidth to 0, and left / right to the given values.
- marginRight(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
- marginRight(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
- marginTop(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
- marginTop(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
- marginTopBottom(int, int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
Sets marginHeight to 0, and top / bottom to the given values.
- marginTopBottom(int, int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
Sets marginHeight to 0, and top / bottom to the given values.
- marginWidth(int) - Method in class com.diffplug.common.swt.LayoutsFillLayout
-
- marginWidth(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
- marginWidth(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
- minimumHeight(int) - Method in class com.diffplug.common.swt.LayoutsGridData
-
- minimumSize(Point) - Method in class com.diffplug.common.swt.LayoutsGridData
-
- minimumWidth(int) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnWeightDataBuilder
-
Sets the minimum width in pixels.
- minimumWidth(int) - Method in class com.diffplug.common.swt.LayoutsGridData
-
- modifyFill(Composite) - Static method in class com.diffplug.common.swt.Layouts
-
Returns an API for modifying the already-existing FillLayout on the given Composite.
- modifyGrid(Composite) - Static method in class com.diffplug.common.swt.Layouts
-
Returns an API for modifying the already-existing GridLayout on the given Composite.
- modifyGridData(Control) - Static method in class com.diffplug.common.swt.Layouts
-
Returns an API for modifying the already-existing GridData which has been set on the given Control.
- modifyGridData(ControlWrapper) - Static method in class com.diffplug.common.swt.Layouts
-
Returns an API for modifying the already-existing GridData which has been set on the given ControlWrapper.
- modifyRow(Composite) - Static method in class com.diffplug.common.swt.Layouts
-
Returns an API for modifying the already-existing RowLayout on the given Composite.
- modifyRowData(Control) - Static method in class com.diffplug.common.swt.Layouts
-
Returns an API for modifying the already-existing RowData which has been set on the given Control.
- modifyRowData(ControlWrapper) - Static method in class com.diffplug.common.swt.Layouts
-
Returns an API for modifying the already-existing RowData which has been set on the given ControlWrapper.
- monitorFor(Point) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns the monitor (if any) which contains the given point.
- multiSelectionList(StructuredViewer) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
- multiSelectionList(StructuredViewer, RxBox<ImmutableList<T>>) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
- multiSelectionSet(StructuredViewer) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
- multiSelectionSet(StructuredViewer, RxBox<ImmutableSet<T>>) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
Manipulates the selection of the given viewer with the given `RxBox`.
- sameThread() - Static method in class com.diffplug.common.swt.SwtExec
-
- scaleByFont(int, int) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns a point that represents the size of a (cols x rows) grid of characters printed in the standard system font.
- scaleByFont(String) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns a dimension which is guaranteed to be comfortable for the given string.
- scaleByFontHeight(int, int) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns a size which is scaled by the system font's height.
- scaleByFontHeight(int) - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns a dimension which is scaled by the system font's height.
- schedule(Runnable, long, TimeUnit) - Method in class com.diffplug.common.swt.SwtExec
-
Creates and executes a one-shot action that becomes enabled
after the given delay.
- schedule(Callable<V>, long, TimeUnit) - Method in class com.diffplug.common.swt.SwtExec
-
Creates and executes a ScheduledFuture that becomes enabled after the
given delay.
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.diffplug.common.swt.SwtExec
-
Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the given
period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class com.diffplug.common.swt.SwtExec
-
Creates and executes a periodic action that becomes enabled first
after the given initial delay, and subsequently with the
given delay between the termination of one execution and the
commencement of the next.
- set(Coat.Returning<T>) - Method in class com.diffplug.common.swt.CoatMux
-
- set(Item, ImageDescriptor) - Static method in class com.diffplug.common.swt.jface.ImageDescriptors
-
Sets the given
Item
to have the image described by the given descriptor, maintaining proper reference counting.
- set(Button, ImageDescriptor) - Static method in class com.diffplug.common.swt.jface.ImageDescriptors
-
Sets the given
Button
to have the image described by the given descriptor, maintaining proper reference counting.
- set(Label, ImageDescriptor) - Static method in class com.diffplug.common.swt.jface.ImageDescriptors
-
Sets the given
Label
to have the image described by the given descriptor, maintaining proper reference counting.
- setAccelerator(int) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the keyboard accelerator.
- setBackground(Function<? super T, ? extends Color>) - Method in class com.diffplug.common.swt.jface.LabelProviders.Builder
-
Sets the function used to determine the background color.
- setBackgroundDeep(Composite, Color) - Static method in class com.diffplug.common.swt.SwtMisc
-
Sets the background color of the given composite and all of its children, recursively.
- setCallback(BiConsumer<IAction, Event>) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the callback to be the given BiConsumer.
- setCoat(Coat, T) - Method in class com.diffplug.common.swt.CoatMux
-
Sets the current content of this `CoatMux`, gets disposed as soon as anything else becomes the top layer.
- setCoat(Coat.Returning<T>) - Method in class com.diffplug.common.swt.CoatMux
-
Sets the current content of this `CoatMux`, gets disposed as soon as anything else becomes the top layer.
- setControl(Function<Composite, T>) - Method in class com.diffplug.common.swt.CoatMux
-
Sets the current content of this `CoatMux`, gets disposed as soon as anything else becomes the top layer.
- setEnabledDeep(Composite, boolean) - Static method in class com.diffplug.common.swt.SwtMisc
-
Sets the enabled status of every child, grandchild, etc.
- setFill(Composite) - Static method in class com.diffplug.common.swt.Layouts
-
Sets the composite to have a standard FillLayout, and returns an API for modifying it.
- setFinalSetup(Consumer<? super ViewerColumn>) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
Calls the given consumer after the ColumnViewer has been constructed.
- setFlag(int, boolean, int) - Static method in class com.diffplug.common.swt.SwtMisc
-
Sets whether the flag is set for the given style.
- setFont(Function<? super T, ? extends Font>) - Method in class com.diffplug.common.swt.jface.LabelProviders.Builder
-
Sets the function used to determine the font.
- setForeground(Function<? super T, ? extends Color>) - Method in class com.diffplug.common.swt.jface.LabelProviders.Builder
-
Sets the function used to determine the foreground color.
- setForegroundDeep(Composite, Color) - Static method in class com.diffplug.common.swt.SwtMisc
-
Sets the foreground color of the given composite and all of its children, recursively.
- setGrid(Composite) - Static method in class com.diffplug.common.swt.Layouts
-
Sets the composite to have a standard GridLayout, and returns an API for modifying it.
- setGridData(Control) - Static method in class com.diffplug.common.swt.Layouts
-
Sets the layouData on the Control to a new GridData, and returns an API for modifying it.
- setGridData(ControlWrapper) - Static method in class com.diffplug.common.swt.Layouts
-
Sets the layoutData on the ControlWrapper to a new GridData, and returns an API for modifying it.
- setHeaderVisible(boolean) - Method in class com.diffplug.common.swt.ColumnFormat
-
Sets the header to be visible, defaults to true.
- setHeaderVisible(boolean) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Sets the lines to be visible, defaults to true.
- setImage(Image) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- setImage(ImageDescriptor) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the runnable.
- setImage(Image) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
- setImage(Function<? super T, ? extends Image>) - Method in class com.diffplug.common.swt.jface.LabelProviders.Builder
-
Sets the function used to determine the image.
- setImage(Image) - Method in class com.diffplug.common.swt.Shells
-
Sets the title image for this Shell.
- setLabelProvider(ColumnLabelProvider) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
Uses the given as the label provider.
- setLabelProviderImage(Function<? super T, Image>) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
Uses the given function as the image label provider.
- setLabelProviderText(Function<? super T, String>) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
Uses the given function as the textual label provider.
- setLabelProviderTextAndImage(Function<? super T, String>, Function<? super T, Image>) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
Uses the given function as the textual and image label provider.
- setLayoutData(Object) - Method in interface com.diffplug.common.swt.ControlWrapper
-
Sets the LayoutData for this control.
- setLayoutPixel(int) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- setLayoutWeight(int) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- setLazyTreeContentProvider(TreeViewer, TreeDef.Parented<T>) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
- setLinesVisible(boolean) - Method in class com.diffplug.common.swt.ColumnFormat
-
Sets the lines to be visible, defaults to true.
- setLinesVisible(boolean) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Sets the lines to be visible, defaults to true.
- setListener(Listener) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the callback to be the given Listener.
- setLocation(Point) - Method in class com.diffplug.common.swt.Shells
-
Sets the absolute location of the top-left of this shell.
- setLocation(Corner, Point) - Method in class com.diffplug.common.swt.Shells
-
Sets the absolute location of the the given corner of this shell.
- setMarginAndSpacingToDefault() - Method in class com.diffplug.common.swt.LayoutWrapper
-
- setRow(Composite) - Static method in class com.diffplug.common.swt.Layouts
-
Sets the composite to have a standard RowLayout, and returns an API for modifying it.
- setRowData(Control) - Static method in class com.diffplug.common.swt.Layouts
-
Sets the layouData on the Control to a new GridData, and returns an API for modifying it.
- setRowData(ControlWrapper) - Static method in class com.diffplug.common.swt.Layouts
-
Sets the layoutData on the ControlWrapper to a new RowData, and returns an API for modifying it.
- setRunnable(Runnable) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the callback to be the given Runnable.
- setSize(Point) - Method in class com.diffplug.common.swt.Shells
-
Sets the size for this Shell.
- setSize(int, int) - Method in class com.diffplug.common.swt.Shells
-
- setStyle(int) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- setStyle(int) - Method in class com.diffplug.common.swt.ColumnFormat
-
Sets the SWT style flags.
- setStyle(Actions.Style) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the style.
- setStyle(int) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
- setStyle(int) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Sets the SWT style flags.
- setText(String) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
-
- setText(String) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the text and tooltip.
- setText(String) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat.ColumnBuilder
-
- setText(Function<? super T, ? extends String>) - Method in class com.diffplug.common.swt.jface.LabelProviders.Builder
-
Sets the function used to determine the text.
- setTitle(String) - Method in class com.diffplug.common.swt.Shells
-
Sets the title for this Shell.
- setTooltip(String) - Method in class com.diffplug.common.swt.jface.Actions
-
Sets the tooltip.
- setToolTipAccelAware(IAction, String) - Static method in class com.diffplug.common.swt.jface.Actions
-
Sets the tooltip text for the given action while remaing aware of its accelerator.
- setTreeContentProvider(TreeViewer, TreeDef.Parented<T>) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
- setUseHashLookup(boolean) - Method in class com.diffplug.common.swt.jface.ColumnViewerFormat
-
Sets the whether the viewer is accelerated by a hashtable, defaults to true.
- setWrapper(Function<Composite, T>) - Method in class com.diffplug.common.swt.CoatMux
-
Sets the current content of this `CoatMux`, gets disposed as soon as anything else becomes the top layer.
- Shells - Class in com.diffplug.common.swt
-
A fluent builder for creating SWT
Shell
s.
- shutdown() - Method in class com.diffplug.common.swt.SwtExec
-
Initiates an orderly shutdown in which previously submitted
tasks are executed, but no new tasks will be accepted.
- shutdownNow() - Method in class com.diffplug.common.swt.SwtExec
-
Attempts to stop all actively executing tasks, halts the
processing of waiting tasks, and returns a list of the tasks that were
awaiting execution.
- singleSelection(StructuredViewer) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
- singleSelection(StructuredViewer, RxBox<Optional<T>>) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
-
- sizeHint(Point) - Method in class com.diffplug.common.swt.LayoutsGridData
-
- spacing(int) - Method in class com.diffplug.common.swt.LayoutsFillLayout
-
- spacing(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
-
Sets all margins to the given value.
- spacing(int) - Method in class com.diffplug.common.swt.LayoutsRowLayout
-
Sets the spacing to zero.
- spacing(int) - Method in class com.diffplug.common.swt.LayoutWrapper
-
Sets all spacing to the given value.
- style - Variable in class com.diffplug.common.swt.ColumnFormat
-
- subscribe(Observable<? extends T>, RxListener<T>) - Method in class com.diffplug.common.swt.SwtExec.Guarded
-
- subscribe(ListenableFuture<? extends T>, RxListener<T>) - Method in class com.diffplug.common.swt.SwtExec.Guarded
-
- subscribe(CompletionStage<? extends T>, RxListener<T>) - Method in class com.diffplug.common.swt.SwtExec.Guarded
-
- SwtDebug - Class in com.diffplug.common.swt
-
Helpful utilities for debugging SWT.
- SwtDebug() - Constructor for class com.diffplug.common.swt.SwtDebug
-
- SwtDebug.ObjectIsNull - Class in com.diffplug.common.swt
-
Sentinel class for null objects.
- SwtExec - Class in com.diffplug.common.swt
-
Executors
which execute on the SWT UI thread.
- SwtExec.Blocking - Class in com.diffplug.common.swt
-
- SwtExec.Guarded - Class in com.diffplug.common.swt
-
Executor
and
Rx
for conducting actions which are guarded on an SWT widget.
- SwtMisc - Class in com.diffplug.common.swt
-
Miscellaneous SWT functions.
- SwtMisc() - Constructor for class com.diffplug.common.swt.SwtMisc
-
- swtOnly() - Static method in class com.diffplug.common.swt.SwtExec
-
- SwtPlatform - Class in com.diffplug.common.swt.os
-
Models the platforms that SWT binaries are built for, useful for build tools that interact with SWT jars.
- SwtRx - Class in com.diffplug.common.swt
-
Utilities that convert SWT events into Rx-friendly Observables.
- SwtRx() - Constructor for class com.diffplug.common.swt.SwtRx
-
- SwtThread - Annotation Type in com.diffplug.common.swt
-
Marks that the given code should only be called
from an SWT thread.
- system() - Static method in class com.diffplug.common.swt.Fonts
-
Returns the default font for this system.
- systemBold() - Static method in class com.diffplug.common.swt.Fonts
-
Returns the default bold font for this system.
- systemFontHeight() - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns the height of the system font.
- systemFontSnug() - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns a distance which is a snug fit for a line of text in the system font.
- systemFontWidth() - Static method in class com.diffplug.common.swt.SwtMisc
-
Returns the width of the system font.
- systemLarge() - Static method in class com.diffplug.common.swt.Fonts
-
Returns a largish system font appropriate for dialog headers.
- systemMonospace() - Static method in class com.diffplug.common.swt.Fonts
-
Returns a monospace font for this system.
- systemMonospaceFontData() - Static method in class com.diffplug.common.swt.Fonts
-
Calculates the best monospaced font available on this system, can be called from any thread.