R - the type of the object model behind each row of the table.public class Table<R> extends Control
configurations| Constructor and Description |
|---|
Table(Container container,
Class<R> itemType) |
| Modifier and Type | Method and Description |
|---|---|
Table<R> |
addColumn(Column<R> column) |
<M> Binding<Collection<R>,Table<R>,TableBuilder<R>> |
bindItems(Observable<M> model)
Asigna el contenido de esta tabla.
|
Binding<Collection<R>,Table<R>,TableBuilder<R>> |
bindItemsToProperty(String propertyName)
Asigna el contenido de esta tabla.
|
<C extends ControlBuilder> |
bindSelectionToProperty(String selected)
Vincula la fila seleccionada de esta tabla con una propiedad del modelo asociado al contenedor.
|
protected TableBuilder<R> |
createBuilder(PanelBuilder container) |
List<Column<R>> |
getColumns() |
Class<R> |
getItemType() |
ViewObservable<Table<R>,TableBuilder<R>> |
items() |
ObservableValue<Control,ControlBuilder> |
selection() |
void |
setItemType(Class<R> itemType) |
Table<R> |
setNumberVisibleRows(int numberVisibleRows) |
background, bindBackground, bindEnabled, bindEnabledToProperty, bindForeground, bindValue, bindValueToProperty, bindVisible, bindVisibleToProperty, enabled, foreground, setHeight, setWidth, tooltip, value, visibleaddBinding, addBinding, addConfiguration, appendYourselfTo, configure, getContainer, getContainerModelObject, nextCaption, showOn, toStringpublic Binding<Collection<R>,Table<R>,TableBuilder<R>> bindItemsToProperty(String propertyName)
propertyName - Nombre de la propiedad del modelo del contenedor desde la cuál se obtendrán los
contenidos de esta tablapublic <M> Binding<Collection<R>,Table<R>,TableBuilder<R>> bindItems(Observable<M> model)
model - Una característica observable del modelo.public ViewObservable<Table<R>,TableBuilder<R>> items()
public <C extends ControlBuilder> Binding<R,Control,C> bindSelectionToProperty(String selected)
Control.bindValueToProperty(String)selected - Nombre de la propiedad contra la cual se desea vincular la fila seleccionada de esta
tabla.public ObservableValue<Control,ControlBuilder> selection()
protected TableBuilder<R> createBuilder(PanelBuilder container)
createBuilder in class WidgetTableBuilder que ya tiene agregadas las columnas de esta tabla.Copyright © 2015 Uqbar Project. All rights reserved.