Package ai.attackframework.tools.burp.ui
Class ConfigControlPanel
java.lang.Object
ai.attackframework.tools.burp.ui.ConfigControlPanel
Config Control section: Import / Export actions, Start/Stop export, and their status rows.
Responsibilities: render control panel and expose the assembled panel.
Callers supply actions and a status configurator for consistent text-area setup. A single
Start/Stop button toggles RuntimeConfig.setExportRunning(boolean); its label and
tooltip show "Start" when stopped and "Stop" when running. The indicator shows starting
(yellow), running (green), or stopped (red), and the control status reflects those states.
Threading: created/used on the EDT. build() mounts status text areas
into their wrapper panels so callers can update them via
StatusViews.setStatus(javax.swing.JTextArea, javax.swing.JPanel, String, int, int).
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConfigControlPanel(JTextArea importExportStatus, JPanel importExportStatusWrapper, JTextArea controlStatus, JPanel controlStatusWrapper, int indent, int rowGap, Consumer<JTextArea> statusConfigurator, Runnable importAction, Runnable exportAction, Consumer<ConfigControlPanel.StartUiCallbacks> startAction, Runnable stopAction) Canonical constructor with null checks. -
Method Summary
-
Constructor Details
-
ConfigControlPanel
public ConfigControlPanel(JTextArea importExportStatus, JPanel importExportStatusWrapper, JTextArea controlStatus, JPanel controlStatusWrapper, int indent, int rowGap, Consumer<JTextArea> statusConfigurator, Runnable importAction, Runnable exportAction, Consumer<ConfigControlPanel.StartUiCallbacks> startAction, Runnable stopAction) Canonical constructor with null checks.
-
-
Method Details
-
build
Builds and returns the Config Control panel.
-