skrueger.geotools.selection
Class StyledLayerSelectionModelSynchronizer<E extends StyledLayerSelectionModel<?>>
java.lang.Object
skrueger.geotools.selection.StyledLayerSelectionModelSynchronizer<E>
- Type Parameters:
E
- The concrete implementation of StyledLayerSelectionModel
that this Synchronizer works on.
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
- Direct Known Subclasses:
- ChartSelectionSynchronizer, FeatureMapLayerSelectionSynchronizer, TableSelectionSynchronizer
public abstract class StyledLayerSelectionModelSynchronizer<E extends StyledLayerSelectionModel<?>>
- extends Object
- implements PropertyChangeListener
The StyledLayerSelectionModelSynchronizer
is the super class for all
- Author:
- mojays
Method Summary |
boolean |
isEnabled()
|
void |
setEnabled(boolean enabled)
Allows to disable this Synchronizer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
protected final Logger LOGGER
selectionChangeCausedByMe
protected boolean selectionChangeCausedByMe
- Flag to avoid event circles between
DpLayerVectorSelectionModel
and ListSelectionModel
of the feature table.
layerSelModel
protected final E extends StyledLayerSelectionModel<?> layerSelModel
- Holds the selection model of the layer to keep synchronized with the
feature table.
StyledLayerSelectionModelSynchronizer
protected StyledLayerSelectionModelSynchronizer(E layerSelModel)
- Creates a new synchronizer
- Parameters:
layerSelModel
- layer selection model to keep synchronized with
setEnabled
public void setEnabled(boolean enabled)
- Allows to disable this Synchronizer. Used to disable the selection
functionality if no corresponding dialog is open.
- Parameters:
enabled
- true
or false
isEnabled
public boolean isEnabled()