Class: BottomPanel
- Inherits:
-
JPanel
- Object
- JPanel
- BottomPanel
- 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
-
#initialize(table_model, ancestor_window) ⇒ BottomPanel
constructor
A new instance of BottomPanel.
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 |