Class FpListInfoPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FpListInfoPanel extends FpListAbstractPanel<FpListInfoPanel.Row>
Panel with a list of feature points and their colors based on their distance from the face mesh.
See Also:
  • Field Details

  • Constructor Details

    • FpListInfoPanel

      public FpListInfoPanel()
  • Method Details

    • initComponents

      public void initComponents(ActionListener action, DrawableFeaturePoints drFeaturePoints, boolean onlyStandardFp)
      Initializes the panel with the list of feature points and their colors.
      Parameters:
      action - action listener
      drFeaturePoints - feature points
      onlyStandardFp - true to show only standard feature points, false to show only user-defined landmarks
    • refreshPanel

      public void refreshPanel(ActionListener action, DrawableFeaturePoints drFeaturePoints, List<Landmark> selectedFeaturePoints)
      Refreshes the panel.
      Parameters:
      action - action listener
      drFeaturePoints - feature points
      selectedFeaturePoints - selected feature points
    • setCheckboxActions

      protected void setCheckboxActions()
      Description copied from class: FpListAbstractPanel
      If the feature point is (un)checked, then ACTION_COMMAND_FEATURE_POINT_SELECT is triggered in the action listener.
      Overrides:
      setCheckboxActions in class FpListAbstractPanel<FpListInfoPanel.Row>
    • setHoverActions

      protected void setHoverActions()
      Description copied from class: FpListAbstractPanel
      If the mouse pointer hovers over a feature point, then ACTION_COMMAND_FEATURE_POINT_HOVER_IN and ACTION_COMMAND_FEATURE_POINT_HOVER_OUT are triggered in the action listener.
      Overrides:
      setHoverActions in class FpListAbstractPanel<FpListInfoPanel.Row>
    • setEnabledEditButtons

      public void setEnabledEditButtons(boolean enabled)
      Sets the enabled state of the edit buttons.
      Parameters:
      enabled - true to enable, false to disable