Class: GxtWidgets::GxtHeaderCell

Inherits:
PageObject::Elements::TableCell
  • Object
show all
Defined in:
lib/gxt-widgets/gxt_header_cell.rb

Instance Method Summary collapse

Constructor Details

#initialize(element, platform, *menu_controls) ⇒ GxtHeaderCell

Returns a new instance of GxtHeaderCell.



4
5
6
7
8
9
# File 'lib/gxt-widgets/gxt_header_cell.rb', line 4

def initialize(element, platform, *menu_controls)
  super(element, platform)
  menu_controls.each do |menu_control|
    self.class.send include, menu_control
  end
end

Instance Method Details

#open_menuObject



11
12
13
# File 'lib/gxt-widgets/gxt_header_cell.rb', line 11

def open_menu
  link_element.fire_event("onclick")
end