All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class AddEditFpWindow extends AbstractAddEditWindow
Window for adding a STANDARD feature point. It provides a combo box with available feature points.
See Also:
  • Constructor Details

    • AddEditFpWindow

      public AddEditFpWindow(ActionListener actionListener, Component parent, List<String> featurePoints)
      Constructor for adding a feature point using this window.
      Parameters:
      actionListener - action listener for the window
      parent - the parent component, where the window will be shown
      featurePoints - list of available feature points
    • AddEditFpWindow

      public AddEditFpWindow(ActionListener actionListener, Component parent, List<String> featurePoints, String currentName)
      Constructor for editing a feature point using this window.
      Parameters:
      actionListener - action listener for the window
      parent - the parent component, where the window will be shown
      featurePoints - list of available feature points
      currentName - the name of the feature point to be edited
  • Method Details

    • getLandmarkName

      public String getLandmarkName()
      Description copied from class: AbstractAddEditWindow
      Gets the name of the landmark.
      Specified by:
      getLandmarkName in class AbstractAddEditWindow
      Returns:
      the name of the landmark
    • isAddingFeaturePoint

      public boolean isAddingFeaturePoint()
      Description copied from class: AbstractAddEditWindow
      If the window is used for adding a new STANDARD feature point, this method returns true. Otherwise, if the window is used for editing or adding a (user) landmark, it returns false.
      Specified by:
      isAddingFeaturePoint in class AbstractAddEditWindow
      Returns:
      true if the window is used for adding a new feature point, false otherwise