Package eu.webtoolkit.jwt
Interface WLayoutItem
- All Known Implementing Classes:
WBorderLayout
,WBoxLayout
,WFitLayout
,WGridLayout
,WHBoxLayout
,WLayout
,WVBoxLayout
,WWidgetItem
public interface WLayoutItem
An abstract base class for items that can participate in a layout.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfindWidgetItem
(WWidget widget) Finds the widget item corresponding to the given widgetgetImpl()
Returns the layout that implements thisWLayoutItem
.Returns the layout in which this item is contained.Returns the widget that is held by thisWLayoutItem
.void
iterateWidgets
(HandleWidgetMethod method) void
setParentLayout
(WLayout parentLayout) Internal method.void
setParentWidget
(WWidget parent) Internal method.
-
Method Details
-
findWidgetItem
Finds the widget item corresponding to the given widgetThe widget is searched for recursively inside nested layouts.
-
getLayout
WLayout getLayout()Returns the layout that implements thisWLayoutItem
.This implements a type-safe upcasting mechanism to a
WLayout
. -
getWidget
WWidget getWidget()Returns the widget that is held by thisWLayoutItem
.This implements a type-safe upcasting mechanism to a
WWidgetItem
. -
getParentLayout
WLayout getParentLayout()Returns the layout in which this item is contained. -
getParentWidget
WWidget getParentWidget() -
getImpl
WLayoutItemImpl getImpl() -
iterateWidgets
-
setParentWidget
Internal method. -
setParentLayout
Internal method.
-