Class: GwtWidgets::StackPanel
- Inherits:
-
PageObject::Elements::Table
- Object
- PageObject::Elements::Table
- GwtWidgets::StackPanel
- Defined in:
- lib/gwt_widgets/stack_panel.rb
Instance Method Summary collapse
Instance Method Details
#labels ⇒ Object
11 12 13 |
# File 'lib/gwt_widgets/stack_panel.rb', line 11 def labels div_elements(:class => 'cw-StackPanelHeader').map(&:text) end |
#select(label) ⇒ Object
3 4 5 |
# File 'lib/gwt_widgets/stack_panel.rb', line 3 def select(label) div_element(:class => 'cw-StackPanelHeader', :text => label).click end |
#selected ⇒ Object
7 8 9 |
# File 'lib/gwt_widgets/stack_panel.rb', line 7 def selected cell_element(:class => 'gwt-StackPanelItem-selected').text end |