Interface Buffer

All Known Implementing Classes:
BufferImpl

public interface Buffer
  • Method Details

    • 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()
    • toString

      String toString()
      Overrides:
      toString in class Object
    • copy

      Buffer copy()
    • copyFrom

      void copyFrom(Buffer buffer)
    • zeroOut

      void zeroOut()
      Clear any internal buffer.