Modifier and Type | Class and Description |
---|---|
class |
Composite
A composite is a widget that can contain other
Widget instances, following the composite pattern. |
Modifier and Type | Method and Description |
---|---|
Widget |
Panel.getFocus()
Gets the widget that is the focus owner of this panel.
|
Widget |
Composite.getFocus()
Gets the widget that is the focus owner or that owns (recursively) the focus owner in this composite.
|
Widget |
Panel.getWidget()
Gets the widget attached to this panel.
|
Widget |
Composite.getWidget(int index)
Gets the widget at the specified position in this composite.
|
Widget |
Widget.getWidgetAt(int x,
int y)
Gets the widget at the specified location.
|
Widget |
Panel.getWidgetAt(int x,
int y)
Returns the child widget at the specified location.
|
Widget |
Composite.getWidgetAt(int x,
int y)
Returns the child widget that is at the specified location.
|
Widget[] |
Composite.getWidgets()
Gets the list of children in this composite.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Widget> |
Composite.iterator()
Gets an iterator over the composite children widgets in proper sequence.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Composite.add(Widget widget)
Adds the specified widget to the end of the list of children of this composite.
|
protected void |
Composite.remove(Widget widget)
Removes the specified widget from the list of children of this composite.
|
void |
Panel.setFocus(Widget widget)
Sets the specified widget as the current focus owner of this panel.
|
void |
Panel.setWidget(Widget widget)
Attach the specified widget to this panel.
|