79 |
protected final HashSet<E> selectionObjects; |
protected final HashSet<E> selectionObjects; |
80 |
|
|
81 |
/** Holds the styled map whose selection is managed by this class. */ |
/** Holds the styled map whose selection is managed by this class. */ |
82 |
protected final StyledLayerInterface<?> styledLayer; |
private final StyledLayerInterface<?> styledLayer; |
83 |
|
|
84 |
|
|
85 |
/** Indicates whether a selection change is a part of multiple |
/** Indicates whether a selection change is a part of multiple |
237 |
* Removes a listener from the listener list. Only alias for {@link #removeListener(PropertyChangeListener)}. |
* Removes a listener from the listener list. Only alias for {@link #removeListener(PropertyChangeListener)}. |
238 |
* @param listener a listener |
* @param listener a listener |
239 |
*/ |
*/ |
240 |
public void removeSelectionListener(StyledLayerSelectionModelSynchronizer<StyledLayerSelectionModel<E>> listener) { |
public boolean removeSelectionListener(StyledLayerSelectionModelSynchronizer<StyledLayerSelectionModel<E>> listener) { |
241 |
this.removeListener(listener); |
return this.removeListener(listener); |
242 |
} |
} |
243 |
|
|
244 |
|
public StyledLayerInterface<?> getStyledLayer() { |
245 |
|
return styledLayer; |
246 |
|
} |
247 |
|
|
248 |
|
|
249 |
} |
} |