Class: BottomPanel

Inherits:
JPanel
  • Object
show all
Defined in:
lib/life_game_viewer/view/life_game_viewer_frame.rb

Overview

Combines button panel and bottom text panel into a single panel.

Instance Method Summary collapse

Constructor Details

#initialize(table_model, ancestor_window) ⇒ BottomPanel

Returns a new instance of BottomPanel.



107
108
109
110
111
112
113
# File 'lib/life_game_viewer/view/life_game_viewer_frame.rb', line 107

def initialize(table_model, ancestor_window)
  layout = GridLayout.new(0, 1)
  super(layout)
  layout.vgap = 12
  add(ButtonPanel.new(table_model, ancestor_window))
  add(StatusAndLinksPanel.new(table_model))
end