class Term extends Tty
The terminal.
- Alphabetic
- By Inheritance
- Term
- Tty
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new Term(_asJava: AnyRef)
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        asJava: AnyRef
      
      
      - Definition Classes
- Tty
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        close(): Unit
      
      
      Close the connection to terminal. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        closeHandler(handler: Handler[Unit]): Term
      
      
      Set a handler that will be called when the terminal is closed. Set a handler that will be called when the terminal is closed. * @param handler the handler - returns
- a reference to this, so the API can be used fluently 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        echo(text: String): Term
      
      
      Echo some text in the terminal, escaped if necessary. Echo some text in the terminal, escaped if necessary. - text
- the text to echo 
- returns
- a reference to this, so the API can be used fluently 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        height(): Int
      
      
      - returns
- the current height, i.e the number of columns or - -1if unknown
 - Definition Classes
- Tty
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        interruptHandler(handler: SignalHandler): Term
      
      
      Set an interrupt signal handler on the term. Set an interrupt signal handler on the term. * @param handler the interrupt handler - returns
- a reference to this, so the API can be used fluently 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        lastAccessedTime(): Long
      
      
      - returns
- the last time this term received input 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        readline(prompt: String, lineHandler: Handler[String], completionHandler: Handler[Completion]): Unit
      
      
      Prompt the user a line of text, providing a completion handler to handle user's completion. Prompt the user a line of text, providing a completion handler to handle user's completion. * @param prompt the displayed prompt - lineHandler
- the line handler called with the line 
- completionHandler
- the completion handler 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        readline(prompt: String, lineHandler: Handler[String]): Unit
      
      
      Prompt the user a line of text. Prompt the user a line of text. * @param prompt the displayed prompt - lineHandler
- the line handler called with the line 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        resizehandler(handler: Handler[Unit]): Term
      
      
      Set a resize handler, the handler is called when the tty size changes. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        setSession(session: Session): Term
      
      
      Associate the term with a session. Associate the term with a session. * @param session the session to set - returns
- a reference to this, so the API can be used fluently 
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        stdinHandler(handler: Handler[String]): Term
      
      
      Set a stream handler on the standard input to read the data. 
- 
      
      
      
        
      
    
      
        
        def
      
      
        suspendHandler(handler: SignalHandler): Term
      
      
      Set a suspend signal handler on the term. Set a suspend signal handler on the term. * @param handler the suspend handler - returns
- a reference to this, so the API can be used fluently 
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        type(): String
      
      
      - returns
- the declared tty type, for instance - vt100,- xterm-256, etc... it can be null when the tty does not have declared its type.
 - Definition Classes
- Tty
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        width(): Int
      
      
      - returns
- the current width, i.e the number of rows or - -1if unknown
 - Definition Classes
- Tty
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        write(data: String): Term
      
      
      Write data to the standard output.