|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WLayoutItem
An abstract base class for items that can participate in a layout.
WLayout| Method Summary | |
|---|---|
WWidgetItem |
findWidgetItem(WWidget widget)
Finds the widget item corresponding to the given widget. |
WLayoutItemImpl |
getImpl()
Returns the implementation for this layout item. |
WLayout |
getLayout()
Returns the layout that implements this WLayoutItem. |
WLayout |
getParentLayout()
Returns the layout in which this item is contained. |
WWidget |
getWidget()
Returns the widget that is held by this WLayoutItem. |
void |
setParentLayout(WLayout parentLayout)
Internal method. |
void |
setParentWidget(WWidget parent)
Internal method. |
| Method Detail |
|---|
WWidgetItem findWidgetItem(WWidget widget)
The widget is searched for recursively inside nested layouts.
WLayout getLayout()
WLayoutItem.
This implements a type-safe upcasting mechanism to a WLayout.
WWidget getWidget()
WLayoutItem.
This implements a type-safe upcasting mechanism to a WWidgetItem.
WLayout getParentLayout()
WLayoutItemImpl getImpl()
The implementation of a layout item depends on the kind of container for which the layout does layout management.
void setParentWidget(WWidget parent)
void setParentLayout(WLayout parentLayout)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||