Class: Watobo::Gui::BrowserControl
- Inherits:
-
Object
- Object
- Watobo::Gui::BrowserControl
- Defined in:
- lib/watobo/gui/browser_preview.rb
Direct Known Subclasses
Instance Method Summary collapse
- #busy? ⇒ Boolean
- #close ⇒ Object
- #connect ⇒ Object
- #getDoc ⇒ Object
-
#initialize ⇒ BrowserControl
constructor
A new instance of BrowserControl.
- #navigate(url) ⇒ Object
- #ready? ⇒ Boolean
- #visible=(status) ⇒ Object
- #watobo_enabled? ⇒ Boolean
Constructor Details
#initialize ⇒ BrowserControl
Returns a new instance of BrowserControl.
31 32 33 |
# File 'lib/watobo/gui/browser_preview.rb', line 31 def initialize() end |
Instance Method Details
#busy? ⇒ Boolean
48 49 50 |
# File 'lib/watobo/gui/browser_preview.rb', line 48 def busy?() # wait until loading url has finished end |
#close ⇒ Object
56 57 58 |
# File 'lib/watobo/gui/browser_preview.rb', line 56 def close() end |
#connect ⇒ Object
39 40 41 42 |
# File 'lib/watobo/gui/browser_preview.rb', line 39 def connect() # check if browser is controlable. If not, create new instance. raise "Connect-Method not defined" end |
#getDoc ⇒ Object
52 53 54 |
# File 'lib/watobo/gui/browser_preview.rb', line 52 def getDoc() raise "GetDocument-Method not defined" end |
#navigate(url) ⇒ Object
35 36 37 |
# File 'lib/watobo/gui/browser_preview.rb', line 35 def navigate(url) raise "Navigate-Method not defined" end |
#ready? ⇒ Boolean
44 45 46 |
# File 'lib/watobo/gui/browser_preview.rb', line 44 def ready?() # running? can be controlled? end |
#visible=(status) ⇒ Object
60 61 62 |
# File 'lib/watobo/gui/browser_preview.rb', line 60 def visible=(status) end |
#watobo_enabled? ⇒ Boolean
64 65 66 67 |
# File 'lib/watobo/gui/browser_preview.rb', line 64 def watobo_enabled?() # check if necessary plugins, etc. are installed # e.g. jssh for Firefox end |