class Tty extends AnyRef
Provide interactions with the Shell TTY.
- Alphabetic
- By Inheritance
- Tty
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Tty(_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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
-1
if unknown
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
resizehandler(handler: Handler[Unit]): Tty
Set a resize handler, the handler is called when the tty size changes.
Set a resize handler, the handler is called when the tty size changes. * @param handler the resize handler
- returns
this object
-
def
stdinHandler(handler: Handler[String]): Tty
Set a stream handler on the standard input to read the data.
Set a stream handler on the standard input to read the data. * @param handler the standard input
- returns
this object
-
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.
-
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
-1
if unknown
-
def
write(data: String): Tty
Write data to the standard output.
Write data to the standard output. * @param data the data to write
- returns
this object