Module com.googlecode.lanterna
Interface VirtualTerminalListener
- All Superinterfaces:
TerminalResizeListener
Listener class for
VirtualTerminal
that allows you to receive callbacks on certain events. Please note that
while this extends TerminalResizeListener
and can be attached to a VirtualTerminal
through
Terminal.addResizeListener(TerminalResizeListener)
, in that case only the
resize event will fire on the listener.-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
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
-