APIdia Launch Partner
Top Description Fields Methods
jdk.internal.org.jline.terminal.spi

public Interface TerminalExt

extends Terminal
Known Direct Implementers
jdk.internal.org.jline.terminal.impl.AbstractTerminal
Imports
jdk.internal.org.jline.terminal.Terminal

The TerminalExt interface is implemented by Terminals and provides access to the Terminal's internals.

Field Summary

Inherited from jdk.internal.org.jline.terminal.Terminal:
TYPE_DUMBTYPE_DUMB_COLOR

Method Summary

Modifier and TypeMethod and Description
public TerminalProvider
getProvider()

Returns the TerminalProvider that created this terminal or null if the terminal was created with no provider.

public SystemStream
getSystemStream()

The underlying system stream, may be SystemStream#Output, SystemStream#Error, or null if this terminal is not bound to a system stream.

Inherited from jdk.internal.org.jline.terminal.Terminal:
canPauseResumeechoechoencodingenterRawModeflushgetAttributesgetBooleanCapabilitygetBufferSizegetCursorPositiongetHeightgetNamegetNumericCapabilitygetPalettegetSizegetStringCapabilitygetTypegetWidthhandlehasFocusSupporthasMouseSupportinputoutputpausepausepausedputsraisereaderreadMouseEventreadMouseEventresumesetAttributessetSizetrackFocustrackMousewriter

Method Detail

getProviderback to summary
public TerminalProvider getProvider()

Returns the TerminalProvider that created this terminal or null if the terminal was created with no provider.

getSystemStreamback to summary
public SystemStream getSystemStream()

The underlying system stream, may be SystemStream#Output, SystemStream#Error, or null if this terminal is not bound to a system stream.