com.vaadin.data.Container.ItemSetChangeEvent Java Examples
The following examples show how to use
com.vaadin.data.Container.ItemSetChangeEvent.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CommonDialogWindow.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
private void removeItemSetChangeistener(final AbstractField<?> field) { if (!(field instanceof Table)) { return; } for (final Object listener : field.getListeners(ItemSetChangeEvent.class)) { if (listener instanceof ChangeListener) { ((Table) field).removeItemSetChangeListener((ChangeListener) listener); } } }
Example #2
Source File: CommonDialogWindow.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
@Override public void containerItemSetChange(final ItemSetChangeEvent event) { if (!(field instanceof Table)) { return; } final Table table = (Table) field; saveButton.setEnabled( isSaveButtonEnabledAfterValueChange(table, table.getContainerDataSource().getItemIds())); }
Example #3
Source File: ItemSetChangeNotifier.java From XACML with MIT License | 5 votes |
/** * Sends an Item set change event to all registered interested listeners. * * @param event * the item set change event to send, optionally with additional * information */ protected void fireItemSetChange(ItemSetChangeEvent event) { if (getItemSetChangeListeners() != null) { final Object[] l = getItemSetChangeListeners().toArray(); for (int i = 0; i < l.length; i++) { ((Container.ItemSetChangeListener) l[i]) .containerItemSetChange(event); } } }
Example #4
Source File: EntityItemIdStrategy.java From jdal with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ public void containerItemSetChange(ItemSetChangeEvent event) { // TODO Auto-generated method stub }
Example #5
Source File: PkItemIdStrategy.java From jdal with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ public void containerItemSetChange(ItemSetChangeEvent event) { getItemIds(); }
Example #6
Source File: PageableTable.java From jdal with Apache License 2.0 | 4 votes |
/** * {@inheritDoc} */ public void containerItemSetChange(ItemSetChangeEvent event) { this.paginator.refresh(); }
Example #7
Source File: IndexedItemIdStrategy.java From jdal with Apache License 2.0 | 2 votes |
/** * {@inheritDoc} */ public void containerItemSetChange(ItemSetChangeEvent event) { }