class Activity
Public Class Methods
rmq_style_sheet_class()
click to toggle source
# File lib/project/ext/activity.rb, line 55 def rmq_style_sheet_class @rmq_style_sheet_class end
stylesheet(style_sheet_class)
click to toggle source
# File lib/project/ext/activity.rb, line 51 def stylesheet(style_sheet_class) @rmq_style_sheet_class = style_sheet_class end
Public Instance Methods
append(view_or_class, style=nil, opts={}, dummy=nil)
click to toggle source
# File lib/project/ext/activity.rb, line 41 def append(view_or_class, style=nil, opts={}, dummy=nil) self.rmq.append(view_or_class, style, opts) end
append!(view_or_class, style=nil, opts={})
click to toggle source
# File lib/project/ext/activity.rb, line 45 def append!(view_or_class, style=nil, opts={}) self.rmq.append(view_or_class, style, opts).get end
color(*params)
click to toggle source
# File lib/project/ext/activity.rb, line 29 def color(*params) RMQ.color(*params) end
font()
click to toggle source
# File lib/project/ext/activity.rb, line 33 def font rmq.font end
image()
click to toggle source
# File lib/project/ext/activity.rb, line 37 def image rmq.image end
rmq(*working_selectors)
click to toggle source
# File lib/project/ext/activity.rb, line 11 def rmq(*working_selectors) crmq = (rmq_data.cached_rmq ||= RMQ.create_with_selectors([], self)) if working_selectors.length == 0 crmq else RMQ.create_with_selectors(working_selectors, self, crmq) end end
rmq_data()
click to toggle source
# File lib/project/ext/activity.rb, line 7 def rmq_data @_rmq_data ||= RMQActivityData.new end
root_view()
click to toggle source
# File lib/project/ext/activity.rb, line 3 def root_view @_root_view ||= getWindow.getDecorView.findViewById(Android::R::Id::Content) end
stylesheet()
click to toggle source
# File lib/project/ext/activity.rb, line 21 def stylesheet self.rmq.stylesheet end
stylesheet=(value)
click to toggle source
# File lib/project/ext/activity.rb, line 25 def stylesheet=(value) self.rmq.stylesheet = value end