NAME
UI::Various::PoorTerm::Window - concrete implementation of UI::Various::Window
SYNOPSIS
# This module should never be used directly!
# It is used indirectly via the following:
use UI::Various::Window;
ABSTRACT
This module is the specific minimal fallback implementation of UI::Various::Window. It manages and hides everything specific to the last resort UI.
DESCRIPTION
The documentation of this module is only intended for developers of the package itself.
METHODS
_show - print UI element
$ui_element->_show;
description:
Show the complete window by printing its title and all its elements. Active elements (basically everything not just simple Text) are numbered to allow later interaction with them. The method should only be called from _process!
_process - handle action of UI element
$ui_element->_process;
description:
Handle the action of the UI element. For a PoorTerm's window this means a loop of printing the window's elements and allowing to select one of the active ones for processing until the window is exited or destroyed.
destroy - remove window from application
PoorTerm's concrete implementation of UI::Various::Window::destroy sets a flag for auto-destruction in _process.
SEE ALSO
UI::Various, UI::Various::Window
LICENSE
Copyright (C) Thomas Dorner.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.
AUTHOR
Thomas Dorner <dorner (at) cpan (dot) org>