public interface IndexedPanel
InsertPanel
Modifier and Type | Interface and Description |
---|---|
static interface |
IndexedPanel.ForIsWidget
Extends this interface with convenience methods to handle
IsWidget . |
Modifier and Type | Method and Description |
---|---|
Widget |
getWidget(int index)
Gets the child widget at the specified index.
|
int |
getWidgetCount()
Gets the number of child widgets in this panel.
|
int |
getWidgetIndex(Widget child)
Gets the index of the specified child widget.
|
boolean |
remove(int index)
Removes the widget at the specified index.
|
Widget getWidget(int index)
index
- the child widget's indexint getWidgetCount()
int getWidgetIndex(Widget child)
child
- the widget to be found-1
if it is not a child of this
panelboolean remove(int index)
index
- the index of the widget to be removedfalse
if the widget is not presentCopyright © 2018. All rights reserved.