public class TextDisplayHelper extends HelperBase
HelperBase.DATA_TYPE
Modifier and Type | Field and Description |
---|---|
javax.swing.JTextArea |
textArea
The text area in which the data will be displayed.
|
_actor, _currentObj
Constructor and Description |
---|
TextDisplayHelper(java.lang.Object actor,
jdk.nashorn.api.scripting.ScriptObjectMirror currentObj)
Create a text display with no title.
|
TextDisplayHelper(java.lang.Object actor,
jdk.nashorn.api.scripting.ScriptObjectMirror currentObj,
java.lang.String title)
Create a text display with the specified title.
|
Modifier and Type | Method and Description |
---|---|
void |
appendText(java.lang.String text)
Append to any text already displayed starting on a new line.
|
void |
displayText(java.lang.String text)
Display text.
|
_appendNumericToBuffer, _appendToBuffer, _error, _error, _error, _error, _extractFromBuffer, _issueResponse, _removeDuplicates, _sizeOfType, _toJavaBytes, _toJSArray, getHelping
public transient javax.swing.JTextArea textArea
public TextDisplayHelper(java.lang.Object actor, jdk.nashorn.api.scripting.ScriptObjectMirror currentObj)
actor
- The JavaScript actor associated with this helper.currentObj
- The JavaScript object that this is helping (a TextDisplay).public TextDisplayHelper(java.lang.Object actor, jdk.nashorn.api.scripting.ScriptObjectMirror currentObj, java.lang.String title)
actor
- The JavaScript actor associated with this helper.currentObj
- The JavaScript object that this is helping (a TextDisplay).title
- A title to associate with the display.