Screen<T > class
Methods
activate (Screen <T > popped , Object ? result )
→ void
Called when the screen above this one (popped
) has been popped and this
screen is now the top-most screen. If a value was passed to pop()
, it
will be passed to this as result
.
dirty ()
→ void
Marks the user interface as needing to be rendered.
handleInput (T input )
→ bool
If a keypress has a binding defined for it and is pressed, this will be
called with the bound input when this screen is active.
keyDown (int keyCode , {required bool shift , required bool alt })
→ bool
keyUp (int keyCode , {required bool shift , required bool alt })
→ bool
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render (Terminal terminal )
→ void
resize (Vec size )
→ void
Called when the UserInterface has been bound to a new terminal with a
different size while this Screen is present.
toString ()
→ String
A string representation of this object.
inherited
update ()
→ void