Class ConfigFieldsPanel

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

public final class ConfigFieldsPanel extends Object
Builds the "Index Fields" section used by ConfigPanel.

Each index is rendered as an expandable group of toggleable export-field checkboxes. The layout wraps so all controls remain visible when a section expands.

  • Constructor Details

  • Method Details

    • build

      public JPanel build(Map<String,JPanel> sectionHeaderRowsOut)
      Builds the Index Fields panel.

      Caller must invoke on the EDT. Sub-panels start collapsed. When sectionHeaderRowsOut is non-null, this method fills it with the header row for each index so callers can enable or disable entire sections.

      Parameters:
      sectionHeaderRowsOut - optional destination for index-name to header-row mappings
      Returns:
      assembled panel containing the section header and per-index groups
    • configureExpandButton

      public static void configureExpandButton(JButton b)
      Configures the shared expand-button style used in the sources and fields sections.
    • setExpanded

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