Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sshtools.daemon.terminal
Class Editline

    java.lang.Object
      com.sshtools.daemon.terminal.Editline

public class Editline
extends java.lang.Object

DOCUMENT ME!

Constructor Summary
`Editline(TerminalIO io)` Creates a new Editline object.

Method Summary
`void` | `append(char ch)`
`void` | `append(java.lang.String str)`
`void` | `clear()` DOCUMENT ME!
`void` | `draw()`
`int` | `getCursorPosition()`
`java.lang.String` | `getHardwrap()`
`java.lang.String` | `getSoftwrap()`
`java.lang.String` | `getValue()`
`boolean` | `isHardwrapped()`
`boolean` | `isInInsertMode()`
`void` | `maskInput(boolean maskInput)`
`int` | `run()`
`void` | `setCursorPosition(int pos)`
`void` | `setHardwrapped(boolean b)`
`void` | `setInsertMode(boolean b)`
`void` | `setMask(char mask)` DOCUMENT ME!
`void` | `setValue(java.lang.String str)`
`int` | `size()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Editline

    public Editline(TerminalIO io)

  Creates a new Editline object.

Parameters:
  `io` - DOCUMENT ME!

Method Detail

### size

    public int size()

### getValue

    public java.lang.String getValue()

### setValue

    public void setValue(java.lang.String str)
                  throws BufferOverflowException,
                         java.io.IOException

  Throws:
    `BufferOverflowException`
    `java.io.IOException`

### maskInput

    public void maskInput(boolean maskInput)

### setMask

    public void setMask(char mask)

  DOCUMENT ME!

  Parameters:
    `mask` - DOCUMENT ME!

### clear

    public void clear()
               throws java.io.IOException

  DOCUMENT ME!

  Throws:
    `java.io.IOException` - DOCUMENT ME!

### getSoftwrap

    public java.lang.String getSoftwrap()
                                 throws java.lang.IndexOutOfBoundsException,
                                        java.io.IOException

  Throws:
    `java.lang.IndexOutOfBoundsException`
    `java.io.IOException`

### getHardwrap

    public java.lang.String getHardwrap()
                                 throws java.lang.IndexOutOfBoundsException,
                                        java.io.IOException

  Throws:
    `java.lang.IndexOutOfBoundsException`
    `java.io.IOException`

### append

    public void append(char ch)
                throws BufferOverflowException,
                       java.io.IOException

  Throws:
    `BufferOverflowException`
    `java.io.IOException`

### append

    public void append(java.lang.String str)
                throws BufferOverflowException,
                       java.io.IOException

  Throws:
    `BufferOverflowException`
    `java.io.IOException`

### getCursorPosition

    public int getCursorPosition()

### setCursorPosition

    public void setCursorPosition(int pos)

### isInInsertMode

    public boolean isInInsertMode()

### setInsertMode

    public void setInsertMode(boolean b)

### isHardwrapped

    public boolean isHardwrapped()

### setHardwrapped

    public void setHardwrapped(boolean b)

### run

    public int run()

### draw

    public void draw()
              throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD