Class: WebViewWrapper

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

Instance Method Summary collapse

Methods inherited from ViewGroupWrapper

#<<, #append, #child, #children, #count, #form_fields, #inner, #inner=, #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



12
13
14
# File 'lib/droiuby/wrappers/web_view.rb', line 12

def reload!
  @native.reload
end

#srcObject



4
5
6
# File 'lib/droiuby/wrappers/web_view.rb', line 4

def src
  @native.getUrl
end

#src=(url) ⇒ Object



8
9
10
# File 'lib/droiuby/wrappers/web_view.rb', line 8

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