Class: Soundcloud9000::Views::TracksTable
- Defined in:
- lib/soundcloud9000/views/tracks_table.rb
Overview
this view is responsible for the bar that separates the player and track list
Constant Summary
Constants inherited from UI::Table
Constants inherited from UI::View
UI::View::INTERSECTION, UI::View::LINE_SEPARATOR, UI::View::ROW_SEPARATOR
Instance Attribute Summary
Attributes inherited from UI::Table
#collection, #current, #header, #keys
Attributes inherited from UI::View
Instance Method Summary collapse
-
#initialize(*args) ⇒ TracksTable
constructor
A new instance of TracksTable.
Methods inherited from UI::Table
#bind_to, #body_height, #bottom?, #deselect, #down, #length, #random, #select, #up
Methods inherited from UI::View
#body_width, #clear, #padding, #render, #with_color
Constructor Details
#initialize(*args) ⇒ TracksTable
Returns a new instance of TracksTable.
7 8 9 10 11 |
# File 'lib/soundcloud9000/views/tracks_table.rb', line 7 def initialize(*args) super self.header = %w[Title User Length Likes Comments] self.keys = %i[title username length likes comments] end |