Class: Tuile::Component::List::Cursor::None
- Inherits:
-
Tuile::Component::List::Cursor
- Object
- Tuile::Component::List::Cursor
- Tuile::Component::List::Cursor::None
- Defined in:
- lib/tuile/component/list.rb
Overview
No cursor — cursor is disabled.
Instance Attribute Summary
Attributes inherited from Tuile::Component::List::Cursor
Instance Method Summary collapse
- #candidate_positions(_line_count) ⇒ Array<Integer>
- #handle_key(_key, _line_count, _viewport_lines) ⇒ Boolean
- #handle_mouse(_line, _event, _line_count) ⇒ Boolean
-
#initialize ⇒ None
constructor
A new instance of None.
Methods inherited from Tuile::Component::List::Cursor
Constructor Details
#initialize ⇒ None
Returns a new instance of None.
280 281 282 283 |
# File 'lib/tuile/component/list.rb', line 280 def initialize super(position: -1) freeze end |
Instance Method Details
#candidate_positions(_line_count) ⇒ Array<Integer>
303 304 305 |
# File 'lib/tuile/component/list.rb', line 303 def candidate_positions(_line_count) [] end |
#handle_key(_key, _line_count, _viewport_lines) ⇒ Boolean
289 290 291 |
# File 'lib/tuile/component/list.rb', line 289 def handle_key(_key, _line_count, ) false end |
#handle_mouse(_line, _event, _line_count) ⇒ Boolean
297 298 299 |
# File 'lib/tuile/component/list.rb', line 297 def handle_mouse(_line, _event, _line_count) false end |