Class: WebViewWrapper

Inherits:
ViewGroupWrapper show all
Defined in:
lib/droiuby/wrappers/web_view_wrapper.rb

Instance Method Summary collapse

Methods inherited from ViewGroupWrapper

#<<, #append, #child, #children, #count, #form_fields, #inner, #inner=, #remove_all_views, #to_front!

Methods inherited from ViewWrapper

#animate, #background=, #background_color=, #blink, #builder, #click, #data, #enabled=, #enabled?, #find, #gone=, #gone?, #height=, #hidden?, #hide!, #initialize, #invalidate, #native, #p_tree, #parent, #show!, #tag, #to_front!, #to_native, #visible=, #visible?, #width=

Methods included from Droiuby::Wrappers::Listeners

#on

Methods included from Droiuby::ViewHelper

included

Methods included from JavaMethodHelper

included

Constructor Details

This class inherits a constructor from ViewWrapper

Instance Method Details

#reload!Object



10
11
12
# File 'lib/droiuby/wrappers/web_view_wrapper.rb', line 10

def reload!
  @native.reload
end

#srcObject



2
3
4
# File 'lib/droiuby/wrappers/web_view_wrapper.rb', line 2

def src
  @native.getUrl
end

#src=(url) ⇒ Object



6
7
8
# File 'lib/droiuby/wrappers/web_view_wrapper.rb', line 6

def src=(url)
  @native.loadUrl(url)
end