Skip navigation links

com.diffplug.durian:durian-swt:2.0.0 by DiffPlug

A B C D E F G H I J L M N O P R S T U V W X 

A

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
Deprecated.
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
Converts a Runnable into a Listener.
assertClean(Composite) - Static method in class com.diffplug.common.swt.SwtMisc
Throws an IllegalArgumentException iff the given `Composite` has any children or a non-null layout.
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.

B

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
Returns a fluent builder for creating a ColumnLabelProvider.
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
Builds a TableViewer on the given parent.
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
Builds a TreeViewer on the given parent.

C

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 Colors, 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 Tables and Trees 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
A fluent API for manipulating a ColumnPixelData.
ColumnFormat.ColumnWeightDataBuilder - Class in com.diffplug.common.swt
A fluent API for manipulating a ColumnWeightData.
columnsEqualWidth(boolean) - Method in class com.diffplug.common.swt.LayoutsGridLayout
 
ColumnViewerFormat<T> - Class in com.diffplug.common.swt.jface
Fluent API for creating TableViewers and TreeViewers with a certain format.
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
Default implementation of a ControlWrapper which wraps a Control.
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
ImageDescriptor allows an Image to be shared in a pool using reference counting.
createWithImage(Function<? super T, ? extends Image>) - Static method in class com.diffplug.common.swt.jface.LabelProviders
Creates a ColumnLabelProvider for images.
createWithText(Function<? super T, ? extends String>) - Static method in class com.diffplug.common.swt.jface.LabelProviders
Creates a ColumnLabelProvider for text.
createWithTextAndImage(Function<? super T, ? extends String>, Function<? super T, ? extends Image>) - Static method in class com.diffplug.common.swt.jface.LabelProviders
Creates a ColumnLabelProvider for text and images.

D

DEFAULT_COLS - Static variable in class com.diffplug.common.swt.InteractiveTest
Default width of testCoat().
DEFAULT_ROWS - Static variable in class com.diffplug.common.swt.InteractiveTest
Default height of testCoat().
defaultButtonWidth() - Static method in class com.diffplug.common.swt.SwtMisc
Returns the default width of a button, scaled for the system font.
defaultDialogWidth() - Static method in class com.diffplug.common.swt.SwtMisc
Returns the default width of a dialog.
defaultMargin() - Static method in class com.diffplug.common.swt.Layouts
Returns the default margin for layouts.
dispose() - Method in class com.diffplug.common.swt.CoatMux.Layer
Disposes the contents of this layer.
dumpEvent(String, Event) - Static method in class com.diffplug.common.swt.SwtDebug
Dumps the given SWT event to System.out.
dumpEvent(String, Event, StringPrinter) - Static method in class com.diffplug.common.swt.SwtDebug
Dumps the given SWT event to the given StringPrinter.
dumpEvents(String, Widget) - Static method in class com.diffplug.common.swt.SwtDebug
Dumps all events from the given widget to System.out.
dumpEvents(String, Widget, StringPrinter) - Static method in class com.diffplug.common.swt.SwtDebug
Dumps all events from the given widget to the given StringPrinter.
dumpEvents(String, Widget, StringPrinter, Integer...) - Static method in class com.diffplug.common.swt.SwtDebug
Dumps the given events on the widget to the given StringPrinter.
dumpEvents(String, Widget, StringPrinter, Collection<Integer>) - Static method in class com.diffplug.common.swt.SwtDebug
Dumps the given events on the widget to the given StringPrinter.
dumpEvents(String, Widget, StringPrinter, Stream<Integer>) - Static method in class com.diffplug.common.swt.SwtDebug
Dumps the given events on the widget to the given StringPrinter.

E

EMPTY - Static variable in interface com.diffplug.common.swt.Coat
 
empty() - Static method in interface com.diffplug.common.swt.Coat
A Coat which does nothing.
equals(Object) - Method in class com.diffplug.common.swt.os.SwtPlatform
 
eventType(Event) - Static method in class com.diffplug.common.swt.SwtDebug
Returns the name for the given SWT `event`.
eventType(int) - Static method in class com.diffplug.common.swt.SwtDebug
Returns the name for the given SWT `eventType`.
exclude(boolean) - Method in class com.diffplug.common.swt.LayoutsGridData
 
exclude(boolean) - Method in class com.diffplug.common.swt.LayoutsRowData
 
execute(Runnable) - Method in class com.diffplug.common.swt.SwtExec.Blocking
 
execute(Runnable) - Method in class com.diffplug.common.swt.SwtExec
Executes the given command at some time in the future.
execute(Runnable) - Method in class com.diffplug.common.swt.SwtExec.Guarded
Runs the given runnable iff the guard widget is not disposed.

F

FailsWithoutUser() - Constructor for class com.diffplug.common.swt.InteractiveTest.FailsWithoutUser
 
fill(boolean) - Method in class com.diffplug.common.swt.LayoutsRowLayout
fill specifies whether the controls in a row should be all the same height for horizontal layouts, or the same width for vertical layouts.
flagIsSet(int, int) - Static method in class com.diffplug.common.swt.SwtMisc
Returns true if `flag` is set in `style`.
flagIsSet(int, Widget) - Static method in class com.diffplug.common.swt.SwtMisc
Returns true if `flag` is set in the style value of `widget`.
Fonts - Class in com.diffplug.common.swt
Registry of fonts, especially system fonts.
forEachDeep(Composite, Consumer<Control>) - Static method in class com.diffplug.common.swt.SwtMisc
Calls the given consumer on the given composite and all of its children, recursively.
forWidget(Widget) - Static method in class com.diffplug.common.swt.ColorPool
Returns a ColorPool for the given Widget, creating one if necessary.
forWidget(ControlWrapper) - Static method in class com.diffplug.common.swt.ColorPool
Returns a ColorPool for the given ControlWrapper, creating one if necessary.
forWidget(WidgetType) - Method in class com.diffplug.common.swt.OnePerWidget
Returns the object for the given control.
from(Function<? super WidgetType, ? extends T>) - Static method in class com.diffplug.common.swt.OnePerWidget
Creates a OnePerWidget instance where objects are created using the given function.
fromNonReturning(Coat, T) - Static method in interface com.diffplug.common.swt.Coat.Returning
Converts a non-returning Coat to a Coat.Returning.
fromOS(OS) - Static method in class com.diffplug.common.swt.os.SwtPlatform
Converts an OS to an SwtPlatform.

G

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
The handle which was returned by the Coat.Returning.
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
Returns an instance of RxExecutor.
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.

H

hashCode() - Method in class com.diffplug.common.swt.os.SwtPlatform
 
headerVisible - Variable in class com.diffplug.common.swt.ColumnFormat
 
height(int) - Method in class com.diffplug.common.swt.LayoutsRowData
 
heightHint(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 
horizontal() - Method in class com.diffplug.common.swt.LayoutsFillLayout
 
horizontal() - Method in class com.diffplug.common.swt.LayoutsRowLayout
Makes this a horizontal layout.
horizontalAlignment(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 
horizontalIndent(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 
horizontalSpacing(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
 
horizontalSpan(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 

I

ImageDescriptors - Class in com.diffplug.common.swt.jface
Utilities for using ImageDescriptors correctly.
ImageDescriptors() - Constructor for class com.diffplug.common.swt.jface.ImageDescriptors
 
immediate() - Static method in class com.diffplug.common.swt.SwtExec
Returns an "immediate" SwtExecutor.
InteractiveTest - Class in com.diffplug.common.swt
InteractiveTest opens a Coat or Shell, and displays instructions for a human tester to determine whether the test passed or failed.
InteractiveTest.FailsWithoutUser - Class in com.diffplug.common.swt
Marker class for interactive tests that aren't compatible with auto-close.
isLinux() - Method in enum com.diffplug.common.swt.os.OS
 
isMac() - Method in enum com.diffplug.common.swt.os.OS
 
isMacOrLinux() - Method in enum com.diffplug.common.swt.os.OS
 
isShutdown() - Method in class com.diffplug.common.swt.SwtExec
Returns true if this executor has been shut down.
isTerminated() - Method in class com.diffplug.common.swt.SwtExec
Returns true if all tasks have completed following shut down.
isWindows() - Method in enum com.diffplug.common.swt.os.OS
 

J

JFaceRx - Class in com.diffplug.common.swt.jface
Utilities that convert JFace events into Rx-friendly Observables.
JFaceRx() - Constructor for class com.diffplug.common.swt.jface.JFaceRx
 
jfaceStyle - Variable in enum com.diffplug.common.swt.jface.Actions.Style
 
justify(boolean) - Method in class com.diffplug.common.swt.LayoutsRowLayout
justify specifies whether the controls in a row should be fully justified, with any extra space placed between the controls.

L

LabelProviders - Class in com.diffplug.common.swt.jface
Utilities for creating JFace CellLabelProvider (which is also appropriate for plain-jane ILabelProvider).
LabelProviders() - Constructor for class com.diffplug.common.swt.jface.LabelProviders
 
LabelProviders.Builder<T> - Class in com.diffplug.common.swt.jface
A fluent API for creating a ColumnLabelProvider.
Layouts - Class in com.diffplug.common.swt
Provides fluent utilities for manipulating SWT layouts.
LayoutsFillLayout - Class in com.diffplug.common.swt
A fluent api for setting and modifying a FillLayout, created by Layouts.
LayoutsGridData - Class in com.diffplug.common.swt
A fluent api for setting and modifying a GridData, created by Layouts.
LayoutsGridLayout - Class in com.diffplug.common.swt
A fluent api for setting and modifying a GridLayout, created by Layouts.
LayoutsRowData - Class in com.diffplug.common.swt
A fluent api for setting and modifying a RowData, created by Layouts.
LayoutsRowLayout - Class in com.diffplug.common.swt
A fluent api for setting and modifying a RowLayout, created by Layouts.
LayoutWrapper<T extends Layout> - Class in com.diffplug.common.swt
Base class to Layouts{X}Layout.
LayoutWrapper(T) - Constructor for class com.diffplug.common.swt.LayoutWrapper
 
linesVisible - Variable in class com.diffplug.common.swt.ColumnFormat
 
loopUntil(Predicate<Display>) - Static method in class com.diffplug.common.swt.SwtMisc
Runs the display loop until the given `Predicate` returns false.
loopUntilDisposed(Widget) - Static method in class com.diffplug.common.swt.SwtMisc
Runs the display loop until the `widget` has been disposed.
loopUntilGet(ListenableFuture<T>) - Static method in class com.diffplug.common.swt.SwtMisc
Runs the display loop until the given future has returned.
loopUntilGet(CompletionStage<T>) - Static method in class com.diffplug.common.swt.SwtMisc
Runs the display loop until the given future has returned.
loopUntilGetChecked(ListenableFuture<T>, Class<E>) - Static method in class com.diffplug.common.swt.SwtMisc
Runs the display loop until the given future has returned.
loopUntilGetChecked(CompletionStage<T>, Class<E>) - Static method in class com.diffplug.common.swt.SwtMisc
Runs the display loop until the given future has returned.

M

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
Returns a thread-safe `RxBox` for manipulating the selection of a StructuredViewer created with SWT.MULTI.
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
Returns a thread-safe `RxBox` for manipulating the selection of a StructuredViewer created with SWT.MULTI.
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`.

N

newGridPlaceholder(Composite) - Static method in class com.diffplug.common.swt.Layouts
Creates an invisible `org.eclipse.swt.widgets.Label`, and returns an API for setting its GridData.
newRowPlaceholder(Composite) - Static method in class com.diffplug.common.swt.Layouts
Creates an invisible `org.eclipse.swt.widgets.Label`, and returns an API for setting its RowData.
numColumns(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
 

O

ObjectIsNull() - Constructor for class com.diffplug.common.swt.SwtDebug.ObjectIsNull
 
of(IAction) - Static method in enum com.diffplug.common.swt.jface.Actions.Style
Returns the Style of the given IAction.
OnePerWidget<WidgetType extends Widget,T> - Class in com.diffplug.common.swt
Maintains a cache of values which are mapped to SWT widgets.
OnePerWidget() - Constructor for class com.diffplug.common.swt.OnePerWidget
 
openOn(Shell) - Method in class com.diffplug.common.swt.Shells
Opens the shell on this parent shell.
openOnActive() - Method in class com.diffplug.common.swt.Shells
Opens the shell on the currently active shell.
openOnActiveBlocking() - Method in class com.diffplug.common.swt.Shells
Opens the shell on the currently active shell and blocks.
openOnAndBlock(Shell) - Method in class com.diffplug.common.swt.Shells
Deprecated.
for Shells.openOnBlocking(Shell) - same behavior, but name is consistent with the others.
openOnBlocking(Shell) - Method in class com.diffplug.common.swt.Shells
Opens the shell on this parent and blocks.
openOnDisplay() - Method in class com.diffplug.common.swt.Shells
Opens the shell as a root shell.
openOnDisplayBlocking() - Method in class com.diffplug.common.swt.Shells
Opens the shell as a root shell and blocks.
OS - Enum in com.diffplug.common.swt.os
Enum representing an OS and its underlying CPU architecture.

P

pack(boolean) - Method in class com.diffplug.common.swt.LayoutsRowLayout
pack specifies whether all controls in the layout take their preferred size.
parseWsOsArch(String) - Static method in class com.diffplug.common.swt.os.SwtPlatform
Parses ws.os.arch strings (which is how SWT bundles are specified).
platformFilter() - Method in class com.diffplug.common.swt.os.SwtPlatform
Returns a string appropriate as an Eclipse-PlatformFilter in a MANIFEST.MF
platformProperties() - Method in class com.diffplug.common.swt.os.SwtPlatform
Returns a map containing the platform properties.
putOn(Composite) - Method in interface com.diffplug.common.swt.Coat
Populates the given composite.
putOn(Composite) - Method in interface com.diffplug.common.swt.Coat.Returning
Populates the given composite, and returns a handle for communicating with the created GUI.

R

requestLayout(Control) - Static method in class com.diffplug.common.swt.SwtMisc
Backport of Eclipse Neon's `Composite.requestLayout()` method - this will be deprecated when Neon comes out.
resizable(boolean) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnPixelDataBuilder
Determines whether the column is resizable.
resizable(boolean) - Method in class com.diffplug.common.swt.ColumnFormat.ColumnWeightDataBuilder
Determines whether the column is resizable.
rightClickGlobal(Control) - Static method in class com.diffplug.common.swt.SwtRx
Returns an Observable<Point> of the right-click mouse-up on the given control, in global coordinates.
rightClickLocal(Control) - Static method in class com.diffplug.common.swt.SwtRx
Returns an Observable<Point> of the right-click mouse-up on the given control, in local coordinates.
rootShell(Control) - Static method in class com.diffplug.common.swt.SwtMisc
Returns the root shell of the given control.
rxCurrent() - Method in class com.diffplug.common.swt.CoatMux
The current layer (if any).
rxExecutor - Variable in class com.diffplug.common.swt.SwtExec
 
rxOnTop() - Method in class com.diffplug.common.swt.CoatMux.Layer
RxGetter which keeps track of whether this `Layer` is currently on top.

S

sameThread() - Static method in class com.diffplug.common.swt.SwtExec
UNLESS YOU HAVE PERFORMANCE PROBLEMS, USE SwtExec.immediate() INSTEAD.
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
Sets an ILazyTreeContentProvider implemented by the given TreeDef.Parented.
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
Sets the margin and spacing to Layouts.defaultMargin().
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
Sets an ITreeContentProvider implemented by the given TreeDef.Parented.
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 Shells.
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
Returns a thread-safe `RxBox` for manipulating the selection of a StructuredViewer created with SWT.SINGLE.
singleSelection(StructuredViewer, RxBox<Optional<T>>) - Static method in class com.diffplug.common.swt.jface.ViewerMisc
Returns a thread-safe `RxBox` for manipulating the selection of a StructuredViewer created with SWT.SINGLE.
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
An Executor (obtained via SwtExec.blocking()) which adds a blocking get() method.
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
UNLESS YOU HAVE PERFORMANCE PROBLEMS, USE SwtExec.immediate() INSTEAD.
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.

T

testCoat(String, Coat) - Static method in class com.diffplug.common.swt.InteractiveTest
 
testCoat(String, int, int, Coat) - Static method in class com.diffplug.common.swt.InteractiveTest
 
testCoat(String, Point, Coat) - Static method in class com.diffplug.common.swt.InteractiveTest
 
testShell(String, Function<Display, Shell>) - Static method in class com.diffplug.common.swt.InteractiveTest
 
testShellWithoutHandle(String, Consumer<Display>) - Static method in class com.diffplug.common.swt.InteractiveTest
Same as testShell, but for situations where it is impossible to return the shell handle.
textConfirmed(Text) - Static method in class com.diffplug.common.swt.SwtRx
Returns an RxBox which contains the content of the text box only when it has been confirmed by: programmer setting the RxBox user hitting enter focus leaving the text
textImmediate(Text) - Static method in class com.diffplug.common.swt.SwtRx
Returns an RxBox which contains the content of the text box.
timerExec(int, Runnable) - Method in class com.diffplug.common.swt.SwtExec.Guarded
Runs the given runnable after the given delay iff the guard widget is not disposed.
timerExec(int, Runnable) - Static method in class com.diffplug.common.swt.SwtExec
Executes the given runnable in the UI thread after the given delay.
toDisplay(Control, Rectangle) - Static method in class com.diffplug.common.swt.SwtMisc
Converts a rectangle to global coordinates using the given control as a reference frame.
toggle(IAction) - Static method in class com.diffplug.common.swt.jface.JFaceRx
Returns an `RxBox` for the toggle state of the given action as an RxBox.
toggle(Button) - Static method in class com.diffplug.common.swt.SwtRx
Returns an `RxBox` for the toggle state of the given button as an RxBox.
topLeftRequiredFor(Rectangle, Point) - Method in enum com.diffplug.common.swt.Corner
If you move the topLeft of `rectangle` to the returned point, then this corner will be at `position`.
toString() - Method in class com.diffplug.common.swt.os.SwtPlatform
Returns "ws.os.arch", which is how SWT bundles are named.
treeDefComposite() - Static method in class com.diffplug.common.swt.SwtMisc
treeDefControl() - Static method in class com.diffplug.common.swt.SwtMisc
treeDefShell() - Static method in class com.diffplug.common.swt.SwtMisc

U

UC_ARROW_DOWN - Static variable in class com.diffplug.common.swt.jface.Actions
 
UC_ARROW_LEFT - Static variable in class com.diffplug.common.swt.jface.Actions
 
UC_ARROW_RIGHT - Static variable in class com.diffplug.common.swt.jface.Actions
 
UC_ARROW_UP - Static variable in class com.diffplug.common.swt.jface.Actions
Unicode for arrows.
UC_CMD - Static variable in class com.diffplug.common.swt.jface.Actions
Unicode for the Mac cmd icon.
unsupportedException(Arch) - Static method in enum com.diffplug.common.swt.os.Arch
Returns an UnsupportedOperationException for the given arch.
unsupportedException(OS) - Static method in enum com.diffplug.common.swt.os.OS
Returns an UnsupportedOperationException for the given OS.

V

valueOf(String) - Static method in enum com.diffplug.common.swt.Corner
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diffplug.common.swt.jface.Actions.Style
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diffplug.common.swt.os.Arch
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diffplug.common.swt.os.OS
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.diffplug.common.swt.Corner
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diffplug.common.swt.jface.Actions.Style
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diffplug.common.swt.os.Arch
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.diffplug.common.swt.os.OS
Returns an array containing the constants of this enum type, in the order they are declared.
vertical() - Method in class com.diffplug.common.swt.LayoutsFillLayout
 
vertical() - Method in class com.diffplug.common.swt.LayoutsRowLayout
Makes this a vertical layout.
verticalAlignment(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 
verticalIndent(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 
verticalSpacing(int) - Method in class com.diffplug.common.swt.LayoutsGridLayout
 
verticalSpan(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 
ViewerMisc - Class in com.diffplug.common.swt.jface
Utilities for manipulating and creating JFace viewers.
ViewerMisc() - Constructor for class com.diffplug.common.swt.jface.ViewerMisc
 

W

width(int) - Method in class com.diffplug.common.swt.LayoutsRowData
 
widthHint(int) - Method in class com.diffplug.common.swt.LayoutsGridData
 
winMacLinux(T, T, T) - Method in enum com.diffplug.common.swt.os.OS
Returns the appropriate value depending on the OS.
withGcCompute(Function<GC, T>) - Static method in class com.diffplug.common.swt.SwtMisc
Computes some function using a temporary GC.
withGcRun(Consumer<GC>) - Static method in class com.diffplug.common.swt.SwtMisc
Runs some function using a temporary GC.
wrap(FillLayout) - Static method in class com.diffplug.common.swt.Layouts
Returns an API for modifying the given FillLayout.
wrap(GridLayout) - Static method in class com.diffplug.common.swt.Layouts
Returns an API for modifying the given GridLayout.
wrap(GridData) - Static method in class com.diffplug.common.swt.Layouts
Returns an API for modifying the given GridData.
wrap(RowLayout) - Static method in class com.diffplug.common.swt.Layouts
Returns an API for modifying the given RowLayout.
wrap(RowData) - Static method in class com.diffplug.common.swt.Layouts
Returns an API for modifying the given RowData.
wrap(boolean) - Method in class com.diffplug.common.swt.LayoutsRowLayout
wrap specifies whether a control will be wrapped to the next row if there is insufficient space on the current row.
wrap(Runnable) - Method in class com.diffplug.common.swt.SwtExec.Guarded
Creates a runnable which runs on this Executor iff the guard widget is not disposed.
wrapped - Variable in class com.diffplug.common.swt.ControlWrapper.AroundControl
The wrapped control.
wrapped - Variable in class com.diffplug.common.swt.ControlWrapper.AroundWrapper
The wrapped control.
wrapped - Variable in class com.diffplug.common.swt.LayoutWrapper
 

X

x86x64(T, T) - Method in enum com.diffplug.common.swt.os.Arch
Returns the appropriate value depending on the arch.
A B C D E F G H I J L M N O P R S T U V W X 
Skip navigation links

com.diffplug.durian:durian-swt:2.0.0 by DiffPlug