class UIView
Public Instance Methods
append(view_or_constant, style=nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 23 def append(view_or_constant, style=nil, opts = {}, &block) rmq(self).append(view_or_constant, style, opts, &block) end
append!(view_or_constant, style=nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 26 def append!(view_or_constant, style=nil, opts = {}, &block) rmq(self).append!(view_or_constant, style, opts, &block) end
apply_style(style_name)
click to toggle source
# File lib/project/ext/ui_view.rb, line 59 def apply_style(style_name) rmq(self).apply_style(style_name) end
build(view, style = nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 44 def build(view, style = nil, opts = {}, &block) rmq(self).build(view, style, opts, &block) end
build!(view, style = nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 47 def build!(view, style = nil, opts = {}, &block) rmq(self).build!(view, style, opts, &block) end
color()
click to toggle source
# File lib/project/ext/ui_view.rb, line 71 def color rmq.color end
create(view_or_constant, style=nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 37 def create(view_or_constant, style=nil, opts = {}, &block) rmq(self).create(view_or_constant, style, opts, &block) end
create!(view_or_constant, style=nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 40 def create!(view_or_constant, style=nil, opts = {}, &block) rmq(self).create!(view_or_constant, style, opts, &block) end
font()
click to toggle source
# File lib/project/ext/ui_view.rb, line 75 def font rmq.font end
image()
click to toggle source
# File lib/project/ext/ui_view.rb, line 79 def image rmq.image end
off(*events)
click to toggle source
# File lib/project/ext/ui_view.rb, line 55 def off(*events) rmq(self).off(*events) end
on(event, args = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 51 def on(event, args = {}, &block) rmq(self).on(event, args, &block) end
on_load()
click to toggle source
# File lib/project/ext/ui_view.rb, line 10 def on_load end
on_styled()
click to toggle source
# File lib/project/ext/ui_view.rb, line 13 def on_styled end
prepend(view_or_constant, style=nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 30 def prepend(view_or_constant, style=nil, opts = {}, &block) rmq(self).prepend(view_or_constant, style, opts, &block) end
prepend!(view_or_constant, style=nil, opts = {}, &block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 33 def prepend!(view_or_constant, style=nil, opts = {}, &block) rmq(self).prepend!(view_or_constant, style, opts, &block) end
reapply_styles()
click to toggle source
# File lib/project/ext/ui_view.rb, line 63 def reapply_styles rmq(self).reapply_styles end
rmq_build()
click to toggle source
rmq_style_applied()
click to toggle source
You can user either rmq_style_applied
or on_styled
, not both. If you have both on_styled
will be ignored, you can however call it from rmq_style_applied. They are the same, on_styled
follows the Promotion style and is recommended.
# File lib/project/ext/ui_view.rb, line 19 def rmq_style_applied on_styled end
style(&block)
click to toggle source
# File lib/project/ext/ui_view.rb, line 67 def style(&block) rmq(self).style(&block) end
stylesheet()
click to toggle source
# File lib/project/ext/ui_view.rb, line 83 def stylesheet rmq.stylesheet end
stylesheet=(value)
click to toggle source
# File lib/project/ext/ui_view.rb, line 87 def stylesheet=(value) rmq.stylesheet = value end