Class ConfigFieldsPanel

java.lang.Object
ai.attackframework.tools.burp.ui.ConfigFieldsPanel

public final class ConfigFieldsPanel extends Object
Builds the "Index Fields" section panel: per-index expand/collapse groups with checkboxes for toggleable export fields. Layout uses wrapping so all fields are in view when expanded.
  • Constructor Details

  • Method Details

    • build

      public JPanel build(Map<String,JPanel> sectionHeaderRowsOut)
      Builds the Index Fields section: title and one expandable group per index with checkboxes. Sub-panels start collapsed. Caller must invoke on the EDT. If sectionHeaderRowsOut is non-null, it is filled with index name -> header row panel for enable/disable.
    • configureExpandButton

      public static void configureExpandButton(JButton b)
      Configures expand button style (match Data Sources).
    • setExpanded

      public static void setExpanded(JButton expandButton, JPanel subPanel, boolean expanded)
      Sets expand button label and sub-panel visibility.