|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WWidgetItem
public class WWidgetItem
A layout item that holds a single widget.
WLayout.addWidget(WWidget w)| Constructor Summary | |
|---|---|
WWidgetItem(WWidget widget)
Creates a new item for the given widget. |
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WWidgetItem(WWidget widget)
| Method Detail |
|---|
public WWidget getWidget()
WLayoutItemWLayoutItem.
This implements a type-safe upcasting mechanism to a WWidgetItem.
getWidget in interface WLayoutItempublic WLayout getLayout()
WLayoutItemWLayoutItem.
This implements a type-safe upcasting mechanism to a WLayout.
getLayout in interface WLayoutItempublic WLayout getParentLayout()
WLayoutItem
getParentLayout in interface WLayoutItempublic WWidgetItem findWidgetItem(WWidget widget)
WLayoutItemThe widget is searched for recursively inside nested layouts.
findWidgetItem in interface WLayoutItempublic WLayoutItemImpl getImpl()
WLayoutItemThe implementation of a layout item depends on the kind of container for which the layout does layout management.
getImpl in interface WLayoutItempublic void setParentWidget(WWidget parent)
WLayoutItem
setParentWidget in interface WLayoutItempublic void setParentLayout(WLayout parentLayout)
WLayoutItem
setParentLayout in interface WLayoutItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||