public class ExclusiveSelection extends Object implements DisposeListener, Listener
on(Control...)
factory
method. You may add(Control...)
or remove(Control...)
controls from the list of managed items later.
If the user selects something in one of the controls managed by this class,
the selections from all other controls managed are removed.Modifier | Constructor and Description |
---|---|
protected |
ExclusiveSelection(Control... controls) |
Modifier and Type | Method and Description |
---|---|
void |
add(Control... targets) |
void |
handleEvent(Event event) |
static ExclusiveSelection |
on(Control... controls) |
void |
remove(Control... targets) |
void |
widgetDisposed(DisposeEvent e) |
protected ExclusiveSelection(Control... controls)
public static ExclusiveSelection on(Control... controls)
public void add(Control... targets)
public void remove(Control... targets)
public void widgetDisposed(DisposeEvent e)
widgetDisposed
in interface DisposeListener
public void handleEvent(Event event)
handleEvent
in interface Listener