Class: FixedFrameWrapper
- Inherits:
-
AbstractFrameWrapper
- Object
- AbstractFrameWrapper
- FixedFrameWrapper
- Defined in:
- lib/a-commons.rb
Overview
module AbstractFrameWrapper
def hinner_frame
raise NoMethodError, "#{self} needs to respond to `:hinner_frame'"
end
end
Instance Attribute Summary collapse
-
#domain ⇒ Object
include AbstractFrameWrapper.
-
#extension ⇒ Object
readonly
Returns the value of attribute extension.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
- #free ⇒ Object
- #hide ⇒ Object
- #hinner_frame ⇒ Object
-
#initialize(_extension, _domain, _name, _title = '') ⇒ FixedFrameWrapper
constructor
A new instance of FixedFrameWrapper.
- #raised? ⇒ Boolean
- #show ⇒ Object
- #top_text(_top_text = nil) ⇒ Object
Constructor Details
#initialize(_extension, _domain, _name, _title = '') ⇒ FixedFrameWrapper
Returns a new instance of FixedFrameWrapper.
71 72 73 74 75 76 77 |
# File 'lib/a-commons.rb', line 71 def initialize(_extension, _domain, _name, _title='') @extension = _extension @domain =_domain @name = _name @title = _title fixed_frame_forge end |
Instance Attribute Details
#domain ⇒ Object
include AbstractFrameWrapper
67 68 69 |
# File 'lib/a-commons.rb', line 67 def domain @domain end |
#extension ⇒ Object (readonly)
Returns the value of attribute extension.
70 71 72 |
# File 'lib/a-commons.rb', line 70 def extension @extension end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
68 69 70 |
# File 'lib/a-commons.rb', line 68 def name @name end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
69 70 71 |
# File 'lib/a-commons.rb', line 69 def title @title end |
Instance Method Details
#free ⇒ Object
107 108 109 110 |
# File 'lib/a-commons.rb', line 107 def free Arcadia.layout.unregister_panel(self) @fixed_frame = nil end |
#hide ⇒ Object
100 101 |
# File 'lib/a-commons.rb', line 100 def hide end |
#hinner_frame ⇒ Object
84 85 86 87 |
# File 'lib/a-commons.rb', line 84 def hinner_frame fixed_frame_forge @fixed_frame end |
#raised? ⇒ Boolean
103 104 105 |
# File 'lib/a-commons.rb', line 103 def raised? Arcadia.layout.raised?(@domain, @name) end |