Class: MarsBase10::VariableBothPane
- Defined in:
- lib/mars_base_10/pane.rb
Instance Attribute Summary
Attributes inherited from Pane
#cur_draw_col, #cur_draw_row, #extended_lines, #height_pct, #highlight, #index, #latch, #left_edge_col, #subject, #top_row, #viewport, #width_pct
Instance Method Summary collapse
Methods inherited from Pane
#active?, #clear, #current_item_index, #current_subject_index, #draw, #draw_border, #draw_line, #draw_title, #first_drawable_col, #first_drawable_row, #gutter_width, #initialize, #last_drawable_row, #last_visible_row, #latched?, #max_contents_rows, #min_column_width, #prepare_for_writing_contents, #process, #reset, #right_pad, #scroll_to_row, #set_row, #view, #visible_content_range, #visible_content_shift, #window
Constructor Details
This class inherits a constructor from MarsBase10::Pane
Instance Method Details
#last_col ⇒ Object
278 279 280 |
# File 'lib/mars_base_10/pane.rb', line 278 def last_col self..max_cols - self.left_edge_col end |
#last_row ⇒ Object
282 283 284 |
# File 'lib/mars_base_10/pane.rb', line 282 def last_row self..max_rows - self.top_row end |