Class FeaturePointListPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
cz.fidentis.analyst.gui.task.featurepoints.FeaturePointListPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FeaturePointListPanel extends JPanel
See Also:
  • Field Details

    • ACTION_COMMAND_FEATURE_POINT_HOVER_IN

      public static final String ACTION_COMMAND_FEATURE_POINT_HOVER_IN
      See Also:
    • ACTION_COMMAND_FEATURE_POINT_HOVER_OUT

      public static final String ACTION_COMMAND_FEATURE_POINT_HOVER_OUT
      See Also:
    • ACTION_COMMAND_FEATURE_POINT_SELECT

      public static final String ACTION_COMMAND_FEATURE_POINT_SELECT
      See Also:
  • Constructor Details

    • FeaturePointListPanel

      public FeaturePointListPanel()
  • Method Details

    • initComponents

      public void initComponents(ActionListener action, DrawableFeaturePoints featurePoints)
      Constructor.
      Parameters:
      action - Action listener
      featurePoints - List of all feature points
    • selectFeaturePoint

      public void selectFeaturePoint(int index, boolean selected)
      (De)selects given feature point
      Parameters:
      index - Index of the feature point
      selected - true if a feature point checkbox is to be selected, false otherwise
    • refreshPanel

      public void refreshPanel(ActionListener action, DrawableFeaturePoints featurePoints, List<Landmark> selectedFeaturePoints)
      Refreshes the panel
      Parameters:
      action -
      featurePoints -
    • createListener

      protected final ActionListener createListener(ActionListener action, String command, Object data)
      Creates and returns action listener that can be connected with a low-level GUI element (e.g., a button). Action event of triggered low-level element is redirected to the given action. The listener may also carry additional data as a payload.
      Parameters:
      action - Action listener
      command - Control panel command
      data - Payload data of the action listener
      Returns:
      Action listener
    • addRow

      protected void addRow(int row, ActionListener action, DrawableFeaturePoints featurePoints)