-
- All Known Implementing Classes:
BufferImpl
public interface Buffer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intatChar(int i)booleanbackspace()intbackspace(int num)booleanclear()Buffercopy()voidcopyFrom(Buffer buffer)intcurrChar()booleancurrChar(int c)intcursor()booleancursor(int position)booleandelete()intdelete(int num)booleandown()intlength()intmove(int num)booleanmoveXY(int dx, int dy)intnextChar()intprevChar()Stringsubstring(int start)Stringsubstring(int start, int end)StringtoString()booleanup()StringupToCursor()voidwrite(int c)voidwrite(int c, boolean overTyping)voidwrite(CharSequence str)voidwrite(CharSequence str, boolean overTyping)
-
-
-
Method Detail
-
cursor
int cursor()
-
atChar
int atChar(int i)
-
length
int length()
-
currChar
int currChar()
-
prevChar
int prevChar()
-
nextChar
int nextChar()
-
cursor
boolean cursor(int position)
-
move
int move(int num)
-
up
boolean up()
-
down
boolean down()
-
moveXY
boolean moveXY(int dx, int dy)
-
clear
boolean clear()
-
currChar
boolean currChar(int c)
-
write
void write(int c)
-
write
void write(int c, boolean overTyping)
-
write
void write(CharSequence str)
-
write
void write(CharSequence str, boolean overTyping)
-
backspace
boolean backspace()
-
backspace
int backspace(int num)
-
delete
boolean delete()
-
delete
int delete(int num)
-
substring
String substring(int start)
-
substring
String substring(int start, int end)
-
upToCursor
String upToCursor()
-
copy
Buffer copy()
-
copyFrom
void copyFrom(Buffer buffer)
-
-