Package | Description |
---|---|
com.googlecode.lanterna.terminal |
Modifier and Type | Method | Description |
---|---|---|
DefaultTerminalFactory |
DefaultTerminalFactory.addTerminalEmulatorFrameAutoCloseTrigger(TerminalEmulatorAutoCloseTrigger autoCloseTrigger) |
Adds an auto-close trigger to use on created SwingTerminalFrames created by this factory
|
DefaultTerminalFactory |
DefaultTerminalFactory.setAutoOpenTerminalEmulatorWindow(boolean autoOpenTerminalFrame) |
Controls whether a SwingTerminalFrame shall be automatically shown (.setVisible(true)) immediately after
creation.
|
DefaultTerminalFactory |
DefaultTerminalFactory.setForceAWTOverSwing(boolean forceAWTOverSwing) |
Normally when a graphical terminal emulator is created by the factory, it will create a
SwingTerminalFrame unless Swing is not present in the system. |
DefaultTerminalFactory |
DefaultTerminalFactory.setForceTextTerminal(boolean forceTextTerminal) |
Controls whether a text-based Terminal shall be created even if the system
supports a graphical environment
|
DefaultTerminalFactory |
DefaultTerminalFactory.setInitialTerminalSize(TerminalSize initialTerminalSize) |
Sets a hint to the TerminalFactory of what size to use when creating the terminal.
|
DefaultTerminalFactory |
DefaultTerminalFactory.setInputTimeout(int inputTimeout) |
Only for StreamBasedTerminals: After seeing e.g. an Escape (but nothing
else yet), wait up to the specified number of time units for more
bytes to make up a complete sequence.
|
DefaultTerminalFactory |
DefaultTerminalFactory.setMouseCaptureMode(MouseCaptureMode mouseCaptureMode) |
Sets the mouse capture mode the terminal should use.
|
DefaultTerminalFactory |
DefaultTerminalFactory.setPreferTerminalEmulator(boolean preferTerminalEmulator) |
Controls whether a Swing or AWT TerminalFrame shall be preferred if the system
has both a Console and a graphical environment
|
DefaultTerminalFactory |
DefaultTerminalFactory.setTelnetPort(int telnetPort) |
Primarily for debugging applications with mouse interactions:
If no Console is available (e.g. from within an IDE), then fall
back to TelnetTerminal on specified port.
|
DefaultTerminalFactory |
DefaultTerminalFactory.setTerminalEmulatorColorConfiguration(TerminalEmulatorColorConfiguration colorConfiguration) |
Sets the color configuration to use on created SwingTerminalFrames created by this factory
|
DefaultTerminalFactory |
DefaultTerminalFactory.setTerminalEmulatorDeviceConfiguration(TerminalEmulatorDeviceConfiguration deviceConfiguration) |
Sets the device configuration to use on created SwingTerminalFrames created by this factory
|
DefaultTerminalFactory |
DefaultTerminalFactory.setTerminalEmulatorFontConfiguration(AWTTerminalFontConfiguration fontConfiguration) |
Sets the font configuration to use on created SwingTerminalFrames created by this factory
|
DefaultTerminalFactory |
DefaultTerminalFactory.setTerminalEmulatorFrameAutoCloseTrigger(TerminalEmulatorAutoCloseTrigger autoCloseTrigger) |
Sets the auto-close trigger to use on created SwingTerminalFrames created by this factory.
|
DefaultTerminalFactory |
DefaultTerminalFactory.setTerminalEmulatorTitle(String title) |
Sets the title to use on created SwingTerminalFrames created by this factory
|
DefaultTerminalFactory |
DefaultTerminalFactory.setUnixTerminalCtrlCBehaviour(UnixLikeTerminal.CtrlCBehaviour unixTerminalCtrlCBehaviour) |
Sets the default CTRL-C behavior to use for all
UnixTerminal objects created by this factory. |
Copyright © 2020. All rights reserved.