NAME
Term::Fabulous::Widget::FocusableText - The focus role behind Term::Fabulous::Widget::RichText
DESCRIPTION
An abstract Term::Fabulous::Widget::Text that composes Clay::UI::Role::Interaction::Focusable and nothing else. Term::Fabulous::Widget::RichText inherits from it instead of composing the role 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 a RichText take the focus only while it has links ("accepts_focus" in Term::Fabulous::Widget::RichText).
Do not subclass this class; subclass Term::Fabulous::Widget::RichText.
SEE ALSO
Term::Fabulous::Widget::RichText, Term::Fabulous::Widget::TextNode, Clay::UI::Role::Interaction::Focusable.