Skip navigation links

com.diffplug.durian:durian-swt:3.4.0-SNAPSHOT by DiffPlug

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

A

AbstractTypedDropHandler(DndOp) - Constructor for class com.diffplug.common.swt.dnd.StructuredDrop.AbstractTypedDropHandler
 
accept(A, B, C) - Method in interface com.diffplug.common.swt.dnd.StructuredDrag.TriConsumer
 
accept(T) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.AbstractTypedDropHandler
 
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.
active() - Static method in class com.diffplug.common.swt.Shells
Returns the active shell using the following logic: - the active shell needs to be visible, and it can't be a temporary pop-up (it needs to have a toolbar) - if it's invisible or temporary, we trust its top-left position as the "user position" - if there's no shell at all, we use the mouse cursor as the "user position" - we iterate over every shell, and find the ones that are underneath the "user position" - of the candidate shells, we return the one which is nested the deepest on Windows and OS X, the active shell is the one that currently has user focus on Linux, the last created shell (even if it is invisible) will count as the active shell This is a problem because some things create a fake hidden shell to act as a parent for other operations (specifically our right-click infrastructure).
add(TTransfer, Predicate<TValue>, StructuredDrag.TriConsumer<TTransfer, DragSourceEvent, TValue>, StructuredDrag.TypedDragHandler<TValue>) - Method in class com.diffplug.common.swt.dnd.StructuredDrag
Adds a drag for the given transfer.
add(TypedTransfer<TValue>, StructuredDrag.TypedDragHandler<TValue>) - Method in class com.diffplug.common.swt.dnd.StructuredDrag
Adds a drop for the given filetype.
add(TTransfer, BiFunction<TTransfer, DropTargetEvent, TValue>, StructuredDrop.TypedDropHandler<TValue>) - Method in class com.diffplug.common.swt.dnd.StructuredDrop
Adds a drop for the given transfer.
add(TypedTransfer<TValue>, StructuredDrop.TypedDropHandler<TValue>) - Method in class com.diffplug.common.swt.dnd.StructuredDrop
Adds a drop for the given filetype.
add(String, Runnable) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Adds a button with the given text and action, as well as the default width.
add(String, int, Runnable) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Adds a button with the given text, width, and action.
addBypassListener(DropTargetListener) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter
Adds a listener which bypasses the routing mechanism.
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.
addDragSupport(DragSourceListener, Transfer[]) - Method in interface com.diffplug.common.swt.dnd.Draggable
 
addDragSupport(StructuredDrag) - Method in interface com.diffplug.common.swt.dnd.Draggable
 
addDropSupport(DropTargetListener, Transfer[]) - Method in interface com.diffplug.common.swt.dnd.Droppable
 
addDropSupport(StructuredDrop) - Method in interface com.diffplug.common.swt.dnd.Droppable
 
addDropSupport(ToolBarManager, IAction, Transfer[], DropTargetListener) - Static method in class com.diffplug.common.swt.dnd.ToolBarDrop
 
addDropSupport(ToolBarManager, IAction, StructuredDrop.Listener) - Static method in class com.diffplug.common.swt.dnd.ToolBarDrop
 
addDropSupport(ToolItem, Transfer[], DropTargetListener) - Static method in class com.diffplug.common.swt.dnd.ToolBarDrop
 
addDropSupport(ToolItem, StructuredDrop.Listener) - Static method in class com.diffplug.common.swt.dnd.ToolBarDrop
 
addFile(StructuredDrag.TypedDragHandler<ImmutableList<File>>) - Method in class com.diffplug.common.swt.dnd.StructuredDrag
Adds the ability to drop files.
addFile(StructuredDrop.TypedDropHandler<ImmutableList<File>>) - Method in class com.diffplug.common.swt.dnd.StructuredDrop
Adds the ability to drop files.
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>.
addListener(int, Listener) - Method in class com.diffplug.common.swt.widgets.FlatBtn
Adds a listener.
addListener(int, Listener) - Method in class com.diffplug.common.swt.widgets.LinkBtn
Adds a listener.
addOption(T, String) - Method in class com.diffplug.common.swt.widgets.RadioGroup
 
addOptions(Iterable<T>, Function<T, String>) - Method in class com.diffplug.common.swt.widgets.RadioGroup
 
addText(StructuredDrag.TypedDragHandler<String>) - Method in class com.diffplug.common.swt.dnd.StructuredDrag
Adds the ability to drop text.
addText(StructuredDrop.TypedDropHandler<String>) - Method in class com.diffplug.common.swt.dnd.StructuredDrop
Adds the ability to drop text.
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.
applyTo(Control, DndOp) - Method in class com.diffplug.common.swt.dnd.StructuredDrag
 
applyTo(Control, DndOp, DndOp) - Method in class com.diffplug.common.swt.dnd.StructuredDrag
 
applyTo(Control) - Method in class com.diffplug.common.swt.dnd.StructuredDrop
 
applyTo(Control...) - Method in class com.diffplug.common.swt.dnd.StructuredDrop
 
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
Deprecated.

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.
build(Composite) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Creates a button panel on the given Composite.
build(Composite, RxBox<Double>) - Method in class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
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.
builder() - Static method in class com.diffplug.common.swt.widgets.ButtonPanel
Creates a ButtonPanel builder.
Builder() - Constructor for class com.diffplug.common.swt.widgets.ButtonPanel.Builder
 
builder() - Static method in class com.diffplug.common.swt.widgets.ScaleCtl
 
Builder() - Constructor for class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
builderCopy(IAction) - Static method in class com.diffplug.common.swt.jface.Actions
Copies all behavior from the given action.
buildOn(Composite) - Method in class com.diffplug.common.swt.widgets.RadioGroup
 
buildOnGrid(Composite) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Creates a button panel on the given Composite, and returns a LayoutsGridData for manipulating it.
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.
ButtonPanel - Class in com.diffplug.common.swt.widgets
A quick way to make right-justified buttons.
ButtonPanel(Composite, ButtonPanel.Builder) - Constructor for class com.diffplug.common.swt.widgets.ButtonPanel
 
ButtonPanel.Builder - Class in com.diffplug.common.swt.widgets
 

C

canSetValue(T) - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
 
canSetValue(T) - Method in class com.diffplug.common.swt.dnd.TypedTransfer
 
canSetValueNonnull(T) - Method in class com.diffplug.common.swt.dnd.TypedTransfer
 
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.
chit() - Method in class com.diffplug.common.swt.CoatMux.Layer
 
chit(ControlWrapper) - Static method in class com.diffplug.common.swt.SwtRx
Wraps the given ControlWrapper in an Chit.
chit(Widget) - Static method in class com.diffplug.common.swt.SwtRx
Wraps the given Widget in an Chit.
clean(Composite) - Static method in class com.diffplug.common.swt.SwtMisc
Disposes all children of the given composite, and sets the layout to null.
clicked() - Method in class com.diffplug.common.swt.widgets.NoBorderBtn
Returns an Observable which responds to clicks.
closeAndFail(Control, Throwable) - 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`.
code() - Method in enum com.diffplug.common.swt.MouseClick
 
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.dnd - package com.diffplug.common.swt.dnd
 
com.diffplug.common.swt.jface - package com.diffplug.common.swt.jface
 
com.diffplug.common.swt.widgets - package com.diffplug.common.swt.widgets
 
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.
ControlWrapper.Transparent<T extends Control> - Class in com.diffplug.common.swt
 
copyEvent(Event) - Static method in class com.diffplug.common.swt.SwtMisc
Returns a deep copy of the given SWT event.
copyToClipboard() - Method in class com.diffplug.common.swt.dnd.StructuredDrag.Listener
 
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.
create(String) - Static method in class com.diffplug.common.swt.TypedDataField
Creates a TypedDataField for `setData(String key, Object value)`.
create() - Static method in class com.diffplug.common.swt.TypedDataField
Creates a TypedDataField for `setData(Object value)`.
create() - Static method in class com.diffplug.common.swt.widgets.RadioGroup
Guava-style constructor.
create(RxBox<T>) - Static method in class com.diffplug.common.swt.widgets.RadioGroup
Guava-style constructor.
createImage(DragSourceEvent) - Method in class com.diffplug.common.swt.dnd.CustomDragImageListener
Creates the image to put under the cursor during drag.
createManagedImage(ImageData, Widget) - Static method in class com.diffplug.common.swt.jface.ImageDescriptors
Creates an image from the given data, and disposes it when the lifecycle widget is disposed.
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.
CustomDragImageListener - Class in com.diffplug.common.swt.dnd
Custom implementation of a local transfer class.
CustomDragImageListener(DragSourceListener) - Constructor for class com.diffplug.common.swt.dnd.CustomDragImageListener
 
CustomLocalTransfer<T> - Class in com.diffplug.common.swt.dnd
Custom implementation of a local transfer class.
CustomLocalTransfer() - Constructor for class com.diffplug.common.swt.dnd.CustomLocalTransfer
 

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.
digitsAfterDecimatPoint(int) - Method in class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
dispose() - Method in class com.diffplug.common.swt.CoatMux.Layer
Disposes the contents of this layer.
dispose() - Method in interface com.diffplug.common.swt.ControlWrapper
Disposes the underlying control.
DndOp - Enum in com.diffplug.common.swt.dnd
 
dontSetPositionOrSize() - Method in class com.diffplug.common.swt.Shells
Prevents setting any size or position.
dragAll() - Static method in enum com.diffplug.common.swt.dnd.DndOp
Returns DND.DROP_COPY | DND.DROP_MOVE;
dragEnter(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
dragFinished(DragSourceEvent) - Method in class com.diffplug.common.swt.dnd.CustomDragImageListener
 
dragFinished(DragSourceEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrag.Listener
 
Draggable - Interface in com.diffplug.common.swt.dnd
Generic interface for a custom widget which supports dragging.
dragInProgress() - Method in class com.diffplug.common.swt.dnd.StructuredDrag
 
dragLeave(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
dragOperationChanged(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter.Disposable
 
dragOperationChanged(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
dragOver(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter.Disposable
 
dragOver(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
dragSetData(DragSourceEvent) - Method in class com.diffplug.common.swt.dnd.CustomDragImageListener
 
dragSetData(DragSourceEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrag.Listener
 
DragSourceRouter - Class in com.diffplug.common.swt.dnd
Provides a mechanism for a single control to route its DragSourceEvents to various listeners.
dragStart(DragSourceEvent) - Method in class com.diffplug.common.swt.dnd.CustomDragImageListener
 
dragStart(DragSourceEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrag.Listener
 
dragStartData(DragSourceEvent) - Method in interface com.diffplug.common.swt.dnd.StructuredDrag.TypedDragHandler
DragSourceEvent will be null if it's starting from a 'Ctrl+C' copy.
drop(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter.Disposable
 
drop(DropTargetEvent, T, boolean) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.AbstractTypedDropHandler
 
drop(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
dropAccept(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter.Disposable
 
dropAccept(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
dropAll() - Static method in enum com.diffplug.common.swt.dnd.DndOp
Returns DND.DROP_DEFAULT | DND.DROP_COPY | DND.DROP_MOVE;
Droppable - Interface in com.diffplug.common.swt.dnd
Generic interface for a custom widget which supports dropping.
dropped(DragSourceEvent, T, StructuredDrag.DropResult) - Method in interface com.diffplug.common.swt.dnd.StructuredDrag.TypedDragHandler
 
DropTargetRouter - Class in com.diffplug.common.swt.dnd
 
DropTargetRouter.Disposable - Class in com.diffplug.common.swt.dnd
 
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.
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.

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.
flag() - Method in enum com.diffplug.common.swt.dnd.DndOp
Return DND.DROP_COPY or DND.DROP_MOVE, as appropriate.
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`.
FlatBtn - Class in com.diffplug.common.swt.widgets
Creates a flat button that raises a little on mouseOver.
FlatBtn(Composite, int) - Constructor for class com.diffplug.common.swt.widgets.FlatBtn
 
Fonts - Class in com.diffplug.common.swt
Registry of fonts, especially system fonts.
forControl(Control) - Static method in class com.diffplug.common.swt.dnd.DragSourceRouter
Returns the MultipleDragSource for the given Control.
forControl(Control, Transfer[]) - Static method in class com.diffplug.common.swt.dnd.DropTargetRouter
Returns the MultipleDragSource for the given Control.
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.

G

get() - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
 
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.
get(Widget) - Method in class com.diffplug.common.swt.TypedDataField
 
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).
getButton(String) - Method in class com.diffplug.common.swt.widgets.ButtonPanel
 
getButtons() - Method in class com.diffplug.common.swt.widgets.ButtonPanel
 
getCoat() - Method in class com.diffplug.common.swt.widgets.RadioGroup
 
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.
getFromPool(Widget, ImageDescriptor) - Static method in class com.diffplug.common.swt.jface.ImageDescriptors
Returns an image which will be bound to the lifecycle of the owner 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
 
getImage() - Method in class com.diffplug.common.swt.widgets.FlatBtn
Returns the image.
getItem() - Method in class com.diffplug.common.swt.widgets.FlatBtn
 
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.
getListener() - Method in class com.diffplug.common.swt.dnd.StructuredDrag
 
getListener() - Method in class com.diffplug.common.swt.dnd.StructuredDrop
 
getNullable(Widget) - Method in class com.diffplug.common.swt.TypedDataField
 
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.
getPosition(Control) - Method in enum com.diffplug.common.swt.Corner
Returns this corner's position on the given control in display coordinates.
getPosition(ControlWrapper) - Method in enum com.diffplug.common.swt.Corner
Returns this corner's position on the given control in display coordinates.
getPosition(ToolItem) - Method in enum com.diffplug.common.swt.Corner
Returns this corner's position on the given ToolItem in display coordinates.
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!).
getRootControl() - Method in class com.diffplug.common.swt.ControlWrapper.Transparent
 
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.
getSystemCursor(int) - Static method in class com.diffplug.common.swt.SwtMisc
Returns the given system color.
getSystemIcon(int) - Static method in class com.diffplug.common.swt.SwtMisc
Returns the given system icon.
getText() - Method in class com.diffplug.common.swt.ColumnFormat.ColumnBuilder
 
getText() - Method in class com.diffplug.common.swt.widgets.FlatBtn
Returns the text.
getText() - Method in class com.diffplug.common.swt.widgets.LinkBtn
Returns the text.
getTopControl() - Method in class com.diffplug.common.swt.CoatMux
The Control at the top of the stack (possibly null).
getTypeIds() - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
 
getTypeNames() - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
 
getValue(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
Returns the underlying value.
getValue(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.TypedTransfer
 
globalBounds(Control) - Static method in class com.diffplug.common.swt.SwtMisc
Returns the bounds of the given control in global coordinates.
globalBounds(ControlWrapper) - Static method in class com.diffplug.common.swt.SwtMisc
Returns the global bounds of the given ControlWrapper.
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(Chit) - Method in class com.diffplug.common.swt.SwtExec
Returns an API for performing actions which are guarded on the given Widget.
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

handler(DndOp, Consumer<T>) - Static method in class com.diffplug.common.swt.dnd.StructuredDrop
 
handler(DndOp, BiConsumer<DropTargetEvent, T>) - Static method in class com.diffplug.common.swt.dnd.StructuredDrop
 
hasHandlerFor(Transfer) - Method in class com.diffplug.common.swt.dnd.StructuredDrag
Returns true if it contains a handler for this transfer type.
hasHandlerFor(Transfer) - Method in class com.diffplug.common.swt.dnd.StructuredDrop
Returns true if it contains a handler for this transfer type.
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.
isCompact(boolean) - Method in class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
isDisposed() - Method in interface com.diffplug.common.swt.ControlWrapper
Returns true iff the underlying control is disposed.
isRunningOnUI() - Static method in class com.diffplug.common.swt.SwtExec
Returns true iff called from the UI thread.
isShutdown() - Method in class com.diffplug.common.swt.SwtExec
Deprecated.
isTerminated() - Method in class com.diffplug.common.swt.SwtExec
Deprecated.

J

javaToNative(Object, TransferData) - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
 
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.
layout(Composite, boolean) - Method in class com.diffplug.common.swt.widgets.LayoutableLayout
 
LayoutableLayout - Class in com.diffplug.common.swt.widgets
A Layout which allows anyone to call its layout method manually.
LayoutableLayout() - Constructor for class com.diffplug.common.swt.widgets.LayoutableLayout
 
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
 
leftSide(Coat) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Adds an OK button.
linesVisible - Variable in class com.diffplug.common.swt.ColumnFormat
 
LinkBtn - Class in com.diffplug.common.swt.widgets
Added a control that uses an SWT Link to implement the standard Button interface.
LinkBtn(Composite, int) - Constructor for class com.diffplug.common.swt.widgets.LinkBtn
 
Listener(RxBox<Boolean>, ImmutableMap<Transfer, StructuredDrag.Handler>) - Constructor for class com.diffplug.common.swt.dnd.StructuredDrag.Listener
 
Listener(ImmutableMap<Transfer, StructuredDrop.Handler>) - Constructor for class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
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(CompletionStage<T>) - Static method in class com.diffplug.common.swt.SwtMisc
Runs the display loop until the given future has returned.

M

map(Function<T, R>) - Method in interface com.diffplug.common.swt.dnd.StructuredDrag.TypedDragHandler
 
map(Function<? super R, ? extends T>) - Method in interface com.diffplug.common.swt.dnd.StructuredDrop.TypedDropHandler
 
mapDrag(StructuredDrag.TypeMapper<T>) - Method in class com.diffplug.common.swt.dnd.TypedTransfer
Called after every call to StructuredDrag.add(TypedTransfer, com.diffplug.common.swt.dnd.StructuredDrag.TypedDragHandler) and StructuredDrag.TypeMapper#mapTo(TypedTransfer, com.diffplug.common.base.Converter).
mapDrop(StructuredDrop.TypeMapper<T>) - Method in class com.diffplug.common.swt.dnd.TypedTransfer
mapFrom(TypedTransfer<R>, Function<? super R, ? extends T>) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.TypeMapper
 
mapFromFile(Function<ImmutableList<File>, ? extends T>) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.TypeMapper
 
mapFromText(Function<String, ? extends T>) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.TypeMapper
 
mapTo(TypedTransfer<R>, Function<T, R>) - Method in class com.diffplug.common.swt.dnd.StructuredDrag.TypeMapper
 
mapToFile(Function<T, ImmutableList<File>>) - Method in class com.diffplug.common.swt.dnd.StructuredDrag.TypeMapper
 
mapToText(Function<T, String>) - Method in class com.diffplug.common.swt.dnd.StructuredDrag.TypeMapper
 
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.
MouseClick - Enum in com.diffplug.common.swt
Enum to help model different mouse clicks.
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

name(String) - Method in class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
nativeToJava(TransferData) - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
 
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.
newGridRow(Composite, Coat) - Static method in class com.diffplug.common.swt.Layouts
Quick shortcut to add a row to to this parent.
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.
NoBorderBtn - Class in com.diffplug.common.swt.widgets
Regular buttons have different margins on each platform, which makes it difficult to make small buttons, such as expand / collapse.
NoBorderBtn(Composite) - Constructor for class com.diffplug.common.swt.widgets.NoBorderBtn
 
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.
ok(Runnable) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Adds an OK button.
okCancel(Runnable, Runnable) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Adds an OK and Cancel button.
okCancel(Consumer<Boolean>) - Method in class com.diffplug.common.swt.widgets.ButtonPanel.Builder
Adds an OK and Cancel button.
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
 
onEvent(StructuredDrop.DropMethod, DropTargetEvent, T) - Method in class com.diffplug.common.swt.dnd.StructuredDrop.AbstractTypedDropHandler
 
onEvent(StructuredDrop.DropMethod, DropTargetEvent, T) - Method in interface com.diffplug.common.swt.dnd.StructuredDrop.TypedDropHandler
If it's the result of a "paste", then DropTargetEvent will be null.
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.
operation - Variable in class com.diffplug.common.swt.dnd.StructuredDrop.AbstractTypedDropHandler
 

P

pack(boolean) - Method in class com.diffplug.common.swt.LayoutsRowLayout
pack specifies whether all controls in the layout take their preferred size.
pasteFromClipboard() - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
preferDropTransfer(DropTargetEvent, Transfer[]) - Static method in class com.diffplug.common.swt.dnd.StructuredDrop
Sets event.currentDataType to the most preferred possible.
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

RadioGroup<T> - Class in com.diffplug.common.swt.widgets
 
RadioGroup(Optional<RxBox<T>>) - Constructor for class com.diffplug.common.swt.widgets.RadioGroup
 
rangeArithmetic(double, double) - Method in class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
rangeGeometric(double, double) - Method in class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
removeBypassListener(DropTargetListener) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter
Adds a listener which bypasses the routing mechanism.
removeListener(int, Listener) - Method in class com.diffplug.common.swt.widgets.FlatBtn
Removes a listener.
removeListener(int, Listener) - Method in class com.diffplug.common.swt.widgets.LinkBtn
Removes a listener.
requestLayout(Control) - Static method in class com.diffplug.common.swt.SwtMisc
Deprecated.
As of SWT 4.6 (Neon), this functionality is Control.requestLayout().
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.
RIGHT_CLICK_EVENT - Static variable in enum com.diffplug.common.swt.MouseClick
Should we use MouseDown or MouseUp for right-clicks? This (down) is the answer.
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.
run(IAction) - Static method in class com.diffplug.common.swt.jface.Actions
Updates the `isChecked()` property of the given IAction (if necessary), then calls IAction::run.
run(IAction, Event) - Static method in class com.diffplug.common.swt.jface.Actions
Updates the `isChecked()` property of the given IAction (if necessary), then calls IAction::runWithEvent.
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.
ScaleCtl - Class in com.diffplug.common.swt.widgets
 
ScaleCtl(Composite, ScaleCtl.Builder, RxBox<Double>) - Constructor for class com.diffplug.common.swt.widgets.ScaleCtl
 
ScaleCtl.Builder - Class in com.diffplug.common.swt.widgets
 
schedule(Runnable, long, TimeUnit) - Method in class com.diffplug.common.swt.SwtExec.Guarded
Same as SwtExec.schedule(Runnable, long, TimeUnit) but automatically cancels when the guard is disposed.
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.Guarded
Same as SwtExec.scheduleAtFixedRate(Runnable, long, long, TimeUnit) but automatically cancels when the guard is disposed.
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.Guarded
Same as SwtExec.scheduleWithFixedDelay(Runnable, long, long, TimeUnit) but automatically cancels when the guard is disposed.
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(T) - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
 
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.
set(W, T) - Method in class com.diffplug.common.swt.TypedDataField
 
setAccelerator(int) - Method in class com.diffplug.common.swt.jface.Actions
Sets the keyboard accelerator.
setActiveListener(DragSourceListener, Transfer[]) - Method in class com.diffplug.common.swt.dnd.DragSourceRouter
Sets the DragSourceListener which will get called for this DragSource.
setAlpha(int) - Method in class com.diffplug.common.swt.Shells
Sets the alpha for this Shell.
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.
setBackground(Color) - Method in class com.diffplug.common.swt.widgets.FlatBtn
Sets the background color of the button.
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.
setBounds(Rectangle) - Method in class com.diffplug.common.swt.Shells
Sets the full bounds for this shell.
setBounds(Control) - Method in class com.diffplug.common.swt.Shells
Calls Shells.setBounds(Rectangle) to match this control.
setBounds(ControlWrapper) - Method in class com.diffplug.common.swt.Shells
Calls Shells.setBounds(Rectangle) to match this control.
setCallback(BiConsumer<IAction, Event>) - Method in class com.diffplug.common.swt.jface.Actions
Sets the callback to be the given BiConsumer.
setCloseOnEscape(boolean) - Method in class com.diffplug.common.swt.Shells
Determines whether the shell will close on escape, defaults to false.
setCoat(Coat) - 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.
setCoatReturning(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.
setDontOpen(boolean) - Method in class com.diffplug.common.swt.Shells
If true, the "openOn" methods will create the shell but not actually open them.
setEmpty() - Method in class com.diffplug.common.swt.CoatMux
Sets the mux to be empty.
setEnabled(boolean) - Method in class com.diffplug.common.swt.widgets.FlatBtn
Determines whether this FlatBtn is enabled or not.
setEnabled(boolean) - Method in class com.diffplug.common.swt.widgets.LinkBtn
Determines whether this FlatBtn is enabled or not.
setEnabled(boolean) - Method in class com.diffplug.common.swt.widgets.NoBorderBtn
Sets the enabled state of the TightButton.
setEnabled(boolean) - Method in class com.diffplug.common.swt.widgets.ScaleCtl
 
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.
setFinalSetup(BiConsumer<ColumnViewer, ? 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.
setImage(Image) - Method in class com.diffplug.common.swt.widgets.FlatBtn
Sets the image.
setImage(Image) - Method in class com.diffplug.common.swt.widgets.NoBorderBtn
Sets the image on this TightButton.
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().
setNullable(W, T) - Method in class com.diffplug.common.swt.TypedDataField
 
setParent(Composite) - Method in interface com.diffplug.common.swt.ControlWrapper
Changes the parent of the widget to be the one provided.
setPositionIncludesTrim(boolean) - Method in class com.diffplug.common.swt.Shells
If true, size and location will set the the "outside" of the Shell - including the trim.
setRectangle(Rectangle) - Method in class com.diffplug.common.swt.Shells
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.
setSelection(boolean) - Method in class com.diffplug.common.swt.widgets.FlatBtn
Sets the selection state.
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.
setText(String) - Method in class com.diffplug.common.swt.widgets.FlatBtn
Sets the text.
setText(String) - Method in class com.diffplug.common.swt.widgets.LinkBtn
 
setTexts(String...) - Method in class com.diffplug.common.swt.widgets.ButtonPanel
 
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.
setValue(DragSourceEvent, T) - Method in class com.diffplug.common.swt.dnd.CustomLocalTransfer
Sets the underlying value.
setValue(DragSourceEvent, T) - Method in class com.diffplug.common.swt.dnd.TypedTransfer
 
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
Deprecated.
shutdownNow() - Method in class com.diffplug.common.swt.SwtExec
Deprecated.
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.
StructuredDrag - Class in com.diffplug.common.swt.dnd
Typed mechanism for implementing drag listeners.
StructuredDrag() - Constructor for class com.diffplug.common.swt.dnd.StructuredDrag
 
StructuredDrag.DropResult - Enum in com.diffplug.common.swt.dnd
 
StructuredDrag.Listener - Class in com.diffplug.common.swt.dnd
 
StructuredDrag.TriConsumer<A,B,C> - Interface in com.diffplug.common.swt.dnd
 
StructuredDrag.TypedDragHandler<T> - Interface in com.diffplug.common.swt.dnd
 
StructuredDrag.TypeMapper<T> - Class in com.diffplug.common.swt.dnd
 
StructuredDrop - Class in com.diffplug.common.swt.dnd
Typed mechanism for implementing drop listeners.
StructuredDrop() - Constructor for class com.diffplug.common.swt.dnd.StructuredDrop
 
StructuredDrop.AbstractTypedDropHandler<T> - Class in com.diffplug.common.swt.dnd
 
StructuredDrop.DropMethod - Enum in com.diffplug.common.swt.dnd
 
StructuredDrop.Listener - Class in com.diffplug.common.swt.dnd
 
StructuredDrop.TypedDropHandler<T> - Interface in com.diffplug.common.swt.dnd
 
StructuredDrop.TypeMapper<T> - Class in com.diffplug.common.swt.dnd
 
style - Variable in class com.diffplug.common.swt.ColumnFormat
 
subscribe(DropTargetListener, DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter
Sets the DropTargetListener which will get called for this DropTarget.
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.
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.
SwtThread.Kind - Enum in com.diffplug.common.swt
 
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

test(Event) - Method in enum com.diffplug.common.swt.MouseClick
 
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.
ToolBarDrop - Class in com.diffplug.common.swt.dnd
Mechanism for adding drop to toolbars.
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`.
transferArray() - Method in class com.diffplug.common.swt.dnd.StructuredDrag.Listener
 
transferArray() - Method in class com.diffplug.common.swt.dnd.StructuredDrop.Listener
 
transparent(T) - Static method in interface com.diffplug.common.swt.ControlWrapper
Most-efficient way to transparently pass a Control to a ControlWrapper API.
Transparent(T) - Constructor for class com.diffplug.common.swt.ControlWrapper.Transparent
Creates a ControlWrapper which wraps the given control.
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
trySetDetail(DropTargetEvent) - Method in enum com.diffplug.common.swt.dnd.DndOp
Attempts to set the detail of this event, if possible.
TypedDataField<T,W extends Widget> - Class in com.diffplug.common.swt
Typed utility for getting and setting data using SWT's Widget getData() / setData() API.
TypedTransfer<T> - Class in com.diffplug.common.swt.dnd
A strongly-typed custom transfer type.
TypedTransfer() - Constructor for class com.diffplug.common.swt.dnd.TypedTransfer
 

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.
units(String) - Method in class com.diffplug.common.swt.widgets.ScaleCtl.Builder
 
unsubscribe(DropTargetEvent) - Method in class com.diffplug.common.swt.dnd.DropTargetRouter.Disposable
Call dragLeave on unsubscribe.

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.dnd.DndOp
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diffplug.common.swt.dnd.StructuredDrag.DropResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diffplug.common.swt.dnd.StructuredDrop.DropMethod
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.MouseClick
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.diffplug.common.swt.SwtThread.Kind
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.dnd.DndOp
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.dnd.StructuredDrag.DropResult
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.dnd.StructuredDrop.DropMethod
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.MouseClick
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.SwtThread.Kind
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
 
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.
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.ControlWrapper.Transparent
The wrapped control.
wrapped - Variable in class com.diffplug.common.swt.LayoutWrapper
 
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links

com.diffplug.durian:durian-swt:3.4.0-SNAPSHOT by DiffPlug