Class StatusViews
java.lang.Object
ai.attackframework.tools.burp.ui.primitives.StatusViews
Helpers for status-area configuration and message updates.
EDT: callers must invoke on the EDT.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureTextArea(JTextArea area) Configures a statusJTextAreafor compact, monospaced, non-editable output.static voidconfigureWrapper(JPanel wrapper, JTextArea area) Configures a wrapper panel around a status area for compact bordered output.static voidUpdates text and sizes the status area invalid input: '&' wrapper to the message content.
-
Method Details
-
configureTextArea
Configures a statusJTextAreafor compact, monospaced, non-editable output. -
configureWrapper
Configures a wrapper panel around a status area for compact bordered output.EDT: caller must invoke on the EDT.
- Parameters:
wrapper- container that hosts the status areaarea- configured status text area
-
setStatus
public static void setStatus(JTextArea area, JPanel wrapper, String message, int minCols, int maxCols) Updates text and sizes the status area invalid input: '&' wrapper to the message content.- Parameters:
area- the status text areawrapper- parent wrapper (visibility toggled on update)message- status message (can be multi-line)minCols- minimum columns to showmaxCols- maximum columns to clamp to
-