Class Group

Description

Instances of this class provide a border with an optional title.

Widget
   |
   --Control
      |
      --Scrollable
         |
         --Composite
            |
            --Group
Method Summary
Group Group (Composite &$parent)
string get_text ()
void set_text (string $text)
Methods
Constructor Group

Constructs a new instance of this class given its parent.

Group Group (Composite &$parent)
  • Composite $parent: - a composite control which will be the parent of the new instance (cannot be null)
get_text

Returns the receiver's text, which is the string that the is used as the title. If the text has not previously been set, returns an empty string.

  • return: the text
string get_text ()
set_text

Sets the receiver's text, which is the string that will be displayed as the receiver's title, to the argument.

void set_text (string $text)
  • string $text: - the new text.

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:50 +0100 by phpDocumentor 1.3.0RC3