NAME

Term::Fabulous::Widget::TextNode - The Clay::UI roles behind Term::Fabulous::Widget::Text

DESCRIPTION

An abstract class that composes Clay::UI::Text and Clay::UI::Role::Interaction::Focusable, and nothing else. Term::Fabulous::Widget::Text inherits from it instead of composing the roles directly, because an Object::Pad class cannot override a method of a role it composes, while a subclass can override an inherited method. This lets Term::Fabulous::Widget::Text accept every Term::Fabulous::Color format in text_color, and take the focus only while it has links.

Do not subclass this class; subclass Term::Fabulous::Widget::Text.

SEE ALSO

Term::Fabulous::Widget::Text, Clay::UI::Text, Clay::UI::Role::Interaction::Focusable.