Class TabFolder

Description

Instances of this class implement the notebook user interface metaphor.

It allows the user to select a notebook page from set of pages.

Widget
   |
   --Control
      |
      --Scrollable
         |
         --Composite
            |
            --TabFolder
Method Summary
TabFolder TabFolder (mixed &$parent)
TabItem &get_item (integer $index)
integer get_selection_index ()
Methods
Constructor TabFolder
TabFolder TabFolder (mixed &$parent)
get_item

Returns the item at the given, zero-relative index in the receiver.

  • return: the item at the given index
TabItem &get_item (integer $index)
  • integer $index: the index of the item to return
get_selection_index

Returns the zero-relative index of the item which is currently selected in the receiver, or -1 if no item is selected.

  • return: the index of the selected item
integer get_selection_index ()

Inherited Methods

Inherited From Composite

Composite::Composite()
Composite::get_children()
Composite::get_layout()
Composite::layout()
Composite::set_focus()
Composite::set_layout()

Inherited From Scrollable

Scrollable::Scrollable()

Inherited From Control

Control::Control()
Control::add_selection_listener()
Control::force_focus()
Control::get_layout_data()
Control::remove_selection_listener()
Control::set_background()
Control::set_bounds()
Control::set_foreground()
Control::set_layout_data()
Control::set_size()

Inherited From Widget

Widget::Widget()
Widget::dispose()
Widget::get_attribute()
Widget::get_attributes()
Widget::get_style()
Widget::is_disposed()
Widget::paint()
Widget::set_attribute()
Widget::set_style()
Widget::show()
Widget::update()

Documentation generated on Wed, 2 Feb 2005 09:33:51 +0100 by phpDocumentor 1.3.0RC3