class FixedFrameWrapper
module AbstractFrameWrapper
def hinner_frame raise NoMethodError, "#{self} needs to respond to `:hinner_frame'" end
end
Attributes
domain[RW]
include AbstractFrameWrapper
extension_name[R]
name[R]
title[R]
Public Class Methods
new(_extension, _domain, _name, _title='', _index=0)
click to toggle source
# File lib/a-commons.rb, line 71 def initialize(_extension, _domain, _name, _title='', _index=0) @extension = _extension @extension_name = _extension.name @domain =_domain @name = _name @title = _title @index = _index fixed_frame_forge end
Public Instance Methods
free()
click to toggle source
# File lib/a-commons.rb, line 143 def free Arcadia.layout.unregister_panel(self) @fixed_frame = nil end
hide()
click to toggle source
# File lib/a-commons.rb, line 123 def hide end
hinner_frame()
click to toggle source
# File lib/a-commons.rb, line 86 def hinner_frame fixed_frame_forge @fixed_frame end
maximize()
click to toggle source
# File lib/a-commons.rb, line 135 def maximize Arcadia.layout.domain(@domain)['root'].maximize end
maximized?()
click to toggle source
# File lib/a-commons.rb, line 131 def maximized? Arcadia.layout.domain(@domain) && Arcadia.layout.domain(@domain)['root'].maximized? end
raised?()
click to toggle source
# File lib/a-commons.rb, line 127 def raised? Arcadia.layout.raised?(@domain, @name) end
resize()
click to toggle source
# File lib/a-commons.rb, line 139 def resize Arcadia.layout.domain(@domain)['root'].resize end
root()
click to toggle source
# File lib/a-commons.rb, line 91 def root fixed_frame_forge if Arcadia.layout.domain(@domain) Arcadia.layout.domain(@domain)['root'] else Arcadia.layout.domain('nil')['root'] end end
show()
click to toggle source
def top_text(_top_text=nil)
fixed_frame_forge Arcadia.layout.domain(@domain)['root'].top_text(_top_text) #@arcadia.layout.domain_for_frame(@domain, @name)['root'].top_text(_title)
end
# File lib/a-commons.rb, line 106 def show fixed_frame_forge Arcadia.layout.raise_panel(@domain, @name) end
show_anyway()
click to toggle source
# File lib/a-commons.rb, line 111 def show_anyway self.show if !Arcadia.layout.registered_panel?(self) if domain.nil? self.domain = @extension.frame_domain_default(@index) @extension.frame_domain(@index, self.domain) end Arcadia.layout.register_panel(self, self.hinner_frame) Arcadia.layout.build_invert_menu end end
Private Instance Methods
fixed_frame_forge()
click to toggle source
# File lib/a-commons.rb, line 81 def fixed_frame_forge @fixed_frame = Arcadia.layout.register_panel(self) if @fixed_frame.nil? end