Package eu.webtoolkit.jwt
Class WWidgetItem
java.lang.Object
eu.webtoolkit.jwt.WWidgetItem
- All Implemented Interfaces:
WLayoutItem
A layout item that holds a single widget.
-
Constructor Summary
Constructors -
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.voiditerateWidgets(HandleWidgetMethod method) voidsetParentLayout(WLayout parentLayout) Internal method.voidsetParentWidget(WWidget parent) Internal method.
-
Constructor Details
-
WWidgetItem
Creates a new item for the given widget.
-
-
Method Details
-
getWidget
Description copied from interface:WLayoutItemReturns the widget that is held by thisWLayoutItem.This implements a type-safe upcasting mechanism to a
WWidgetItem.- Specified by:
getWidgetin interfaceWLayoutItem
-
getLayout
Description copied from interface:WLayoutItemReturns the layout that implements thisWLayoutItem.This implements a type-safe upcasting mechanism to a
WLayout.- Specified by:
getLayoutin interfaceWLayoutItem
-
getParentLayout
Description copied from interface:WLayoutItemReturns the layout in which this item is contained.- Specified by:
getParentLayoutin interfaceWLayoutItem
-
getParentWidget
- Specified by:
getParentWidgetin interfaceWLayoutItem
-
findWidgetItem
Description copied from interface:WLayoutItemFinds the widget item corresponding to the given widgetThe widget is searched for recursively inside nested layouts.
- Specified by:
findWidgetItemin interfaceWLayoutItem
-
getImpl
- Specified by:
getImplin interfaceWLayoutItem
-
getTakeWidget
-
iterateWidgets
- Specified by:
iterateWidgetsin interfaceWLayoutItem
-
setParentWidget
Description copied from interface:WLayoutItemInternal method.- Specified by:
setParentWidgetin interfaceWLayoutItem
-
setParentLayout
Description copied from interface:WLayoutItemInternal method.- Specified by:
setParentLayoutin interfaceWLayoutItem
-