Class: Ext::FieldSet

Inherits:
Panel show all
Defined in:
lib/selenium-extjs/component/FieldSet.rb

Instance Attribute Summary

Attributes inherited from Panel

#items

Attributes inherited from Component

#parent

Instance Method Summary collapse

Methods inherited from Panel

#title

Methods inherited from Component

#getId, #highlight, #initialize, #method_missing, #node, #selector, #wait_for_ajax

Constructor Details

This class inherits a constructor from Ext::Component

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ext::Component

Instance Method Details

#collapsed=(flag) ⇒ Object



8
9
10
11
12
# File 'lib/selenium-extjs/component/FieldSet.rb', line 8

def collapsed=(flag)
  if collapsed != flag
    @selenium.click_at("//fieldset[@id='#{@id}']//*[contains(@class, 'x-tool-toggle') or @type='checkbox']", "0,0")
  end
end

#init_componentObject



4
5
6
# File 'lib/selenium-extjs/component/FieldSet.rb', line 4

def init_component()
  super()
end