Package com.luciad.edit.features
Class FeatureEditCandidateEvent
java.lang.Object
com.luciad.edit.features.FeatureEditCandidateEvent
- All Implemented Interfaces:
AutoCloseable
This event provides information about the addition or removal of edit candidates.
See the related guide for an overview of the editing API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new emtpy event. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voideditCandidateAdded(LayerFeatureId editCandidate) Adds information to the event that an edit candidate was added.voideditCandidateRemoved(LayerFeatureId editCandidate) Adds information to the event that an edit candidate was removed.protected voidfinalize()List<@NotNull LayerFeatureId> Returns the added edit candidates.List<@NotNull LayerFeatureId> Returns the removed edit candidates.
-
Constructor Details
-
FeatureEditCandidateEvent
public FeatureEditCandidateEvent()Creates a new emtpy event. -
FeatureEditCandidateEvent
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
editCandidateAdded
Adds information to the event that an edit candidate was added.- Parameters:
editCandidate- the added edit candidate
-
editCandidateRemoved
Adds information to the event that an edit candidate was removed.- Parameters:
editCandidate- the removed edit candidate
-
getAddedEditCandidates
Returns the added edit candidates.- Returns:
- the added edit candidates.
-
getRemovedEditCandidates
Returns the removed edit candidates.- Returns:
- the removed edit candidates.
-