Class FeatureEditCandidateEvent

java.lang.Object
com.luciad.edit.features.FeatureEditCandidateEvent
All Implemented Interfaces:
AutoCloseable

public final class FeatureEditCandidateEvent extends Object implements 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 Details

    • FeatureEditCandidateEvent

      public FeatureEditCandidateEvent()
      Creates a new emtpy event.
    • FeatureEditCandidateEvent

      public FeatureEditCandidateEvent(@NotNull FeatureEditCandidateEvent other)
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • editCandidateAdded

      public void editCandidateAdded(@NotNull LayerFeatureId editCandidate)
      Adds information to the event that an edit candidate was added.
      Parameters:
      editCandidate - the added edit candidate
    • editCandidateRemoved

      public void editCandidateRemoved(@NotNull LayerFeatureId editCandidate)
      Adds information to the event that an edit candidate was removed.
      Parameters:
      editCandidate - the removed edit candidate
    • getAddedEditCandidates

      @NotNull public List<@NotNull LayerFeatureId> getAddedEditCandidates()
      Returns the added edit candidates.
      Returns:
      the added edit candidates.
    • getRemovedEditCandidates

      @NotNull public List<@NotNull LayerFeatureId> getRemovedEditCandidates()
      Returns the removed edit candidates.
      Returns:
      the removed edit candidates.