Package burp.api.montoya.ui.editor
Interface RawEditor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteArraygetContents()voidsetContents(ByteArray contents)This method can be used to set content within the text editor programmatically.voidsetEditable(boolean editable)-
Methods inherited from interface burp.api.montoya.ui.editor.Editor
caretPosition, isModified, selection, setSearchExpression, uiComponent
-
-
-
-
Method Detail
-
setEditable
void setEditable(boolean editable)
- Parameters:
editable- Boolean flag to toggle if this text editor is editable or not.
-
getContents
ByteArray getContents()
- Returns:
- The contents of the text editor.
-
setContents
void setContents(ByteArray contents)
This method can be used to set content within the text editor programmatically. The default system charset is used when encoding to a String.- Parameters:
contents- The content to set in the text editor.
-
-