public ContainerCalendarEventProvider(CollectionContainer<E> container) { this.container = container; collectionChangeListener = this.container.addCollectionChangeListener(this::onCollectionChanged); propertyChangeListener = this.container.addItemPropertyChangeListener(this::onItemPropertyChanged); }
public ContainerOptions(CollectionContainer<E> container) { this.container = container; if (container instanceof HasLoader) { this.loader = ((HasLoader) container).getLoader(); } this.container.addCollectionChangeListener(this::containerCollectionChanged); this.container.addItemPropertyChangeListener(this::containerItemPropertyChanged); }
public ContainerDataGridItems(CollectionContainer<E> container) { this.container = container; this.container.addItemChangeListener(this::containerItemChanged); this.container.addCollectionChangeListener(this::containerCollectionChanged); this.container.addItemPropertyChangeListener(this::containerItemPropertyChanged); }
public ContainerTreeItems(CollectionContainer<E> container, String hierarchyProperty) { this.container = container; this.hierarchyProperty = hierarchyProperty; this.container.addItemChangeListener(this::containerItemChanged); this.container.addCollectionChangeListener(this::containerCollectionChanged); this.container.addItemPropertyChangeListener(this::containerItemPropertyChanged); }
public ContainerTableItems(CollectionContainer<E> container) { this.container = container; this.container.addItemChangeListener(this::containerItemChanged); this.container.addCollectionChangeListener(this::containerCollectionChanged); this.container.addItemPropertyChangeListener(this::containerItemPropertyChanged); this.aggregatableDelegate = createAggregatableDelegate(); }