Class AbstractMutableSelection<E>
- java.lang.Object
-
- com.macrofocus.selection.implementation.AbstractSelection<E>
-
- com.macrofocus.selection.implementation.AbstractMutableSelection<E>
-
- All Implemented Interfaces:
MutableSelection<E>
,Selection<E>
,java.lang.Iterable<E>
- Direct Known Subclasses:
AbstractMutableSingleSelection
,NullSelection
,SimpleSelection
public abstract class AbstractMutableSelection<E> extends AbstractSelection<E> implements MutableSelection<E>
This class provides a skeletal implementation of the MutableSelection interface to minimize the effort required to implement this interface.
-
-
Constructor Summary
Constructors Constructor Description AbstractMutableSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setEnabled(boolean enabled)
-
Methods inherited from class com.macrofocus.selection.implementation.AbstractSelection
addSelectionListener, addWeakSelectionListener, isEnabled, notifySelectedChanged, removeSelectionListener, removeSelectionListeners
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.selection.MutableSelection
clearSelection, setSelected, setSelected, setSelected, setSelected, setSelectedElements, setSelectedIterable
-
Methods inherited from interface com.macrofocus.selection.Selection
addSelectionListener, addWeakSelectionListener, getSelectedCount, getSelectedSet, isActive, isEnabled, isSelected, removeSelectionListener, removeSelectionListeners
-
-
-
-
Method Detail
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfaceMutableSelection<E>
- Overrides:
setEnabled
in classAbstractSelection<E>
-
-