public abstract class Panel extends Widget
| Constructor and Description |
|---|
Panel() |
| Modifier and Type | Method and Description |
|---|---|
int |
put(java.lang.Iterable<? extends Widget> widgets)
Adds all widgets from given iterable
|
Widget |
put(IWidgetFactory factory)
Creates new widget and puts it to container at first free index
|
abstract int |
put(Widget widget)
Puts widget at first free index
|
java.util.List<Widget> |
putFactories(java.lang.Iterable<? extends IWidgetFactory> factories)
Creates widgets instance from given iterable and adds it to this panel
|
addTo, attach, getData, getID, getName, handleData, sendElementpublic abstract int put(Widget widget)
widget - Widget to putpublic Widget put(IWidgetFactory factory)
factory - Factory of new widgetpublic int put(java.lang.Iterable<? extends Widget> widgets)
widgets - Iterable object containing widgetspublic java.util.List<Widget> putFactories(java.lang.Iterable<? extends IWidgetFactory> factories)
factories - Iterable object containing widget factories