Package com.macrofocus.common.selection
Class AbstractMutableSelection<E>
java.lang.Object
com.macrofocus.common.selection.AbstractSelection<E>
com.macrofocus.common.selection.AbstractMutableSelection<E>
- All Implemented Interfaces:
MutableSelection<E>,Selection<E>,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 -
Method Summary
Methods inherited from class com.macrofocus.common.selection.AbstractSelection
addSelectionListener, addWeakSelectionListener, isEnabled, notifySelectedChanged, removeSelectionListener, removeSelectionListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface com.macrofocus.common.selection.MutableSelection
clearSelection, setSelected, setSelectedElements, setSelectedElementsState, setSelectedIterable, setSelectedIterableState, setSelectedStateMethods inherited from interface com.macrofocus.common.selection.Selection
addSelectionListener, addWeakSelectionListener, getSelectedCount, getSelectedSet, isActive, isEnabled, isSelected, removeSelectionListener, removeSelectionListeners
-
Constructor Details
-
AbstractMutableSelection
public AbstractMutableSelection()
-
-
Method Details
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceMutableSelection<E>- Overrides:
setEnabledin classAbstractSelection<E>
-