Module com.googlecode.lanterna
Interface VirtualTerminalListener
-
- All Superinterfaces:
TerminalResizeListener
public interface VirtualTerminalListener extends TerminalResizeListener
Listener class forVirtualTerminal
that allows you to receive callbacks on certain events. Please note that while this extendsTerminalResizeListener
and can be attached to aVirtualTerminal
throughTerminal.addResizeListener(TerminalResizeListener)
, in that case only the resize event will fire on the listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onBell()
Called when theTerminal.bell()
method is invoked on theVirtualTerminal
void
onClose()
Called when theTerminal.close()
method is invoked on theVirtualTerminal
void
onFlush()
Called when theTerminal.flush()
method is invoked on theVirtualTerminal
-
Methods inherited from interface com.googlecode.lanterna.terminal.TerminalResizeListener
onResized
-
-
-
-
Method Detail
-
onFlush
void onFlush()
Called when theTerminal.flush()
method is invoked on theVirtualTerminal
-
onBell
void onBell()
Called when theTerminal.bell()
method is invoked on theVirtualTerminal
-
onClose
void onClose()
Called when theTerminal.close()
method is invoked on theVirtualTerminal
-
-