Class: CWM::Page

Inherits:
CustomWidget show all
Defined in:
library/cwm/src/lib/cwm/page.rb

Overview

A page widget is a group of widgets that are contained within it. Several pages are in turn contained within a Pager.

TreePager is a Pager.

Tabs is a Pager and a Tab is its Page.

Instance Attribute Summary collapse

Attributes inherited from AbstractWidget

#handle_all_events, #widget_id

Instance Method Summary collapse

Methods inherited from CustomWidget

#contents, #cwm_contents, #cwm_definition, #find_ids, #ids_in_contents

Methods inherited from AbstractWidget

#cleanup, #cwm_definition, #disable, #enable, #enabled?, #fun_ref, #handle, #help, #init, #my_event?, #opt, #refresh_help, #store, #validate, widget_type=

Instance Attribute Details

#initialBoolean

Returns is this the initially selected tab

Returns:

  • (Boolean)

    is this the initially selected tab



15
16
17
# File 'library/cwm/src/lib/cwm/page.rb', line 15

def initial
  @initial
end

Instance Method Details

#labelString

Returns Label of Tab or of CWM::PagerTreeItem

Returns:



18
# File 'library/cwm/src/lib/cwm/page.rb', line 18

abstract_method :label