Class: Opine::Window
- Defined in:
- lib/opine/widgets/table.rb,
lib/opine/widgets/window.rb
Direct Known Subclasses
Constant Summary collapse
Instance Attribute Summary collapse
-
#content_view ⇒ Object
Returns the value of attribute content_view.
-
#frame ⇒ Object
Returns the value of attribute frame.
-
#title ⇒ Object
Returns the value of attribute title.
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
Methods inherited from Widget
Constructor Details
This class inherits a constructor from Opine::Widget
Instance Attribute Details
#content_view ⇒ Object
Returns the value of attribute content_view.
2 3 4 |
# File 'lib/opine/widgets/window.rb', line 2 def content_view @content_view end |
#frame ⇒ Object
Returns the value of attribute frame.
2 3 4 |
# File 'lib/opine/widgets/window.rb', line 2 def frame @frame end |
#title ⇒ Object
Returns the value of attribute title.
2 3 4 |
# File 'lib/opine/widgets/window.rb', line 2 def title @title end |
#window ⇒ Object
Returns the value of attribute window.
2 3 4 |
# File 'lib/opine/widgets/window.rb', line 2 def window @window end |
Instance Method Details
#table(resources, options = {}, &block) ⇒ Object
10 11 12 |
# File 'lib/opine/widgets/table.rb', line 10 def table(resources, ={}, &block) "Opine::#{Opine::Application.theme.to_s.camelize}::Table".constantize.new(self,resources, , &block) end |