public interface GTextAreaInterface
Modifier and Type | Method and Description |
---|---|
void |
appendLine(String line)
Adds the text to the text area with adding a carriage return at the end.
|
JTextArea |
getJTextArea()
Get the JTextArea associated with the component.
|
void |
reset()
Called when the element is to be reset, so it can perform the actions required to return to inital
state.
|
void |
setCursorPositionAtBottom(boolean flag)
Set if the cursor shall be always at the bottom.
|
void |
setEditable(boolean b)
Sets the specified boolean to indicate whether or not this TextComponent should be editable.
|
void |
setLineWrap(boolean flag)
Sets the specified boolean to indicate whether the lines are wrapped in the widget or not.
|
void appendLine(String line) throws GException
line
- to be appended to the text area.GException
- in case of problem appending the line.void reset() throws GException
GException
- in case of problem while reseting the values.JTextArea getJTextArea()
void setEditable(boolean b)
b
- the boolean to be setvoid setCursorPositionAtBottom(boolean flag)
flag
- true it the cursor shall always be at the bottom of the text view, false otherwise.void setLineWrap(boolean flag)
flag
- true if the lines shall be wrapped, false otherwise.Copyright © 2024. All rights reserved.