public final class FeatureEditCandidateEvent extends Object implements AutoCloseable
See the related guide for an overview of the editing API.
Constructor and Description |
---|
FeatureEditCandidateEvent()
Creates a new emtpy event.
|
FeatureEditCandidateEvent(FeatureEditCandidateEvent other) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
editCandidateAdded(LayerFeatureId editCandidate)
Adds information to the event that an edit candidate was added.
|
void |
editCandidateRemoved(LayerFeatureId editCandidate)
Adds information to the event that an edit candidate was removed.
|
protected void |
finalize() |
List<LayerFeatureId> |
getAddedEditCandidates() |
List<LayerFeatureId> |
getRemovedEditCandidates() |
public FeatureEditCandidateEvent()
public FeatureEditCandidateEvent(@NotNull FeatureEditCandidateEvent other)
public void close()
close
in interface AutoCloseable
public void editCandidateAdded(@NotNull LayerFeatureId editCandidate)
editCandidate
- the added edit candidatepublic void editCandidateRemoved(@NotNull LayerFeatureId editCandidate)
editCandidate
- the removed edit candidate@NotNull public List<LayerFeatureId> getAddedEditCandidates()
@NotNull public List<LayerFeatureId> getRemovedEditCandidates()