Package com.macrofocus.selection
Interface MutableSingleSelection<E>
-
- All Superinterfaces:
java.lang.Iterable<E>
,MutableSelection<E>
,Selection<E>
,SingleSelection<E>
- All Known Implementing Classes:
AbstractMutableSingleSelection
,BeanSingleSelection
,NullSingleSelection
,PropertySingleSelection
,SimpleSingleSelection
@JsType public interface MutableSingleSelection<E> extends SingleSelection<E>, MutableSelection<E>
Defines the requirements for a single selection that can change.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setSelected(E element)
Change the selection to the given element.-
Methods inherited from interface com.macrofocus.selection.MutableSelection
clearSelection, setEnabled, setSelected, setSelected, setSelected, setSelectedElements, setSelectedIterable
-
Methods inherited from interface com.macrofocus.selection.Selection
addSelectionListener, addWeakSelectionListener, getSelectedCount, getSelectedSet, isActive, isEnabled, isSelected, removeSelectionListener, removeSelectionListeners
-
Methods inherited from interface com.macrofocus.selection.SingleSelection
addSingleSelectionListener, addWeakSingleSelectionListener, getSelected, removeSingleSelectionListener
-
-
-
-
Method Detail
-
setSelected
void setSelected(E element)
Change the selection to the given element.- Specified by:
setSelected
in interfaceMutableSelection<E>
- Parameters:
element
- the element to replace the current selection.
-
-