jline
public class CursorBuffer extends Object
Field Summary | |
---|---|
int | cursor |
Method Summary | |
---|---|
boolean | clearBuffer() |
char | current() |
StringBuffer | getBuffer() |
boolean | isOvertyping() |
int | length() |
void | setBuffer(StringBuffer buffer) |
void | setOvertyping(boolean b) |
String | toString() |
void | write(char c)
Write the specific character into the buffer, setting the cursor position
ahead one. |
void | write(String str)
Insert the specified String into the buffer, setting the cursor
to the end of the insertion point.
|
Parameters: c the character to insert
Parameters: str the String to insert. Must not be null.