public abstract class LinePanel extends Panel
| Constructor and Description |
|---|
LinePanel() |
| Modifier and Type | Method and Description |
|---|---|
int |
put(java.lang.Iterable<? extends Widget> widgets,
int startIndex)
Adds all widgets from given iterable
|
Widget |
put(IWidgetFactory factory,
int index)
Creates new widget and puts it to container
|
abstract LinePanel |
put(Widget widget,
int index)
Puts new widget to the container
|
java.util.List<Widget> |
putFactories(java.lang.Iterable<? extends IWidgetFactory> factories,
int startIndex)
Creates widgets instance from given iterable and adds it to this panel
|
put, put, put, putFactoriesaddTo, attach, getData, getID, getName, handleData, sendElementpublic abstract LinePanel put(Widget widget, int index)
widget - Widget to putindex - id of 'cell' in the container to put widget to(numbered from 0)public Widget put(IWidgetFactory factory, int index)
factory - Factory of new widgetindex - index id of 'cell' in the container to put widget to(numbered from 0)public int put(java.lang.Iterable<? extends Widget> widgets, int startIndex)
widgets - Iterable object containing widgetsstartIndex - index at wich adding will startpublic java.util.List<Widget> putFactories(java.lang.Iterable<? extends IWidgetFactory> factories, int startIndex)
factories - Iterable object containing widget factories