Wt  3.2.3
Public Member Functions | Private Member Functions
Wt::WLayoutItem Class Reference

An abstract base class for items that can participate in a layout. More...

#include <Wt/WLayoutItem>

Inheritance diagram for Wt::WLayoutItem:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~WLayoutItem ()
 Destructor.
virtual WWidgetItemfindWidgetItem (WWidget *widget)=0
 Finds the widget item corresponding to the given widget
virtual WLayoutlayout ()=0
 Returns the layout that implements this WLayoutItem.
virtual WWidgetwidget ()=0
 Returns the widget that is held by this WLayoutItem.
virtual WLayoutparentLayout () const =0
 Returns the layout in which this item is contained.
virtual WLayoutItemImplimpl () const =0
 Returns the implementation for this layout item.

Private Member Functions

virtual void setParentWidget (WWidget *parent)=0
 Internal method.
virtual void setParentLayout (WLayout *parentLayout)=0
 Internal method.

Detailed Description

An abstract base class for items that can participate in a layout.

See also:
WLayout

Member Function Documentation

virtual WWidgetItem* Wt::WLayoutItem::findWidgetItem ( WWidget widget) [pure virtual]

Finds the widget item corresponding to the given widget

The widget is searched for recursively inside nested layouts.

Implemented in Wt::WLayout, and Wt::WWidgetItem.

virtual WLayoutItemImpl* Wt::WLayoutItem::impl ( ) const [pure virtual]

Returns the implementation for this layout item.

The implementation of a layout item depends on the kind of container for which the layout does layout management.

Implemented in Wt::WLayout, and Wt::WWidgetItem.

virtual WLayout* Wt::WLayoutItem::layout ( ) [pure virtual]

Returns the layout that implements this WLayoutItem.

This implements a type-safe upcasting mechanism to a WLayout.

Implemented in Wt::WLayout, and Wt::WWidgetItem.

virtual WWidget* Wt::WLayoutItem::widget ( ) [pure virtual]

Returns the widget that is held by this WLayoutItem.

This implements a type-safe upcasting mechanism to a WWidgetItem.

Implemented in Wt::WLayout, and Wt::WWidgetItem.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator

Generated on Thu Nov 1 2012 for the C++ Web Toolkit (Wt) by doxygen 1.7.5.1