public class BrowserSelector<T>
extends java.lang.Object
Constructor and Description |
---|
BrowserSelector(org.eclipse.swt.widgets.Composite parent,
java.util.function.Function<T,java.lang.String> toString,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(T item,
boolean isSelected) |
void |
addOnApplyListener(java.util.function.Consumer<BrowserSelector<T>> listener) |
java.util.List<T> |
getAllItems() |
org.eclipse.swt.browser.Browser |
getBrowser() |
java.util.List<T> |
getSelectedItems() |
boolean |
isSelected(T item) |
void |
removeOnApplyListener(java.util.function.Consumer<BrowserSelector<T>> listener) |
void |
setSelected(T item,
boolean selected) |
public BrowserSelector(org.eclipse.swt.widgets.Composite parent, java.util.function.Function<T,java.lang.String> toString, java.lang.String title)
public org.eclipse.swt.browser.Browser getBrowser()
public void addItem(T item, boolean isSelected)
public void addOnApplyListener(java.util.function.Consumer<BrowserSelector<T>> listener)
public void removeOnApplyListener(java.util.function.Consumer<BrowserSelector<T>> listener)
public java.util.List<T> getSelectedItems()
public boolean isSelected(T item)
public void setSelected(T item, boolean selected)
public java.util.List<T> getAllItems()