public class SelectionAwareTable extends com.vaadin.ui.Table implements SelectionListener, SelectionNotifier
com.vaadin.ui.Table.CellStyleGenerator, com.vaadin.ui.Table.ColumnGenerator, com.vaadin.ui.Table.ColumnReorderEvent, com.vaadin.ui.Table.ColumnReorderListener, com.vaadin.ui.Table.ColumnResizeEvent, com.vaadin.ui.Table.ColumnResizeListener, com.vaadin.ui.Table.FooterClickEvent, com.vaadin.ui.Table.FooterClickListener, com.vaadin.ui.Table.GeneratedRow, com.vaadin.ui.Table.HeaderClickEvent, com.vaadin.ui.Table.HeaderClickListener, com.vaadin.ui.Table.RowGenerator, com.vaadin.ui.Table.TableDragMode, com.vaadin.ui.Table.TableDropCriterion, com.vaadin.ui.Table.TableTransferable
com.vaadin.ui.AbstractSelect.AbstractSelectTargetDetails, com.vaadin.ui.AbstractSelect.AcceptItem, com.vaadin.ui.AbstractSelect.CaptionChangeListener, com.vaadin.ui.AbstractSelect.DefaultNewItemHandler, com.vaadin.ui.AbstractSelect.Filtering, com.vaadin.ui.AbstractSelect.ItemDescriptionGenerator, com.vaadin.ui.AbstractSelect.MultiSelectMode, com.vaadin.ui.AbstractSelect.NewItemHandler, com.vaadin.ui.AbstractSelect.TargetItemIs, com.vaadin.ui.AbstractSelect.VerticalLocationIs
com.vaadin.ui.AbstractField.FocusShortcut, com.vaadin.ui.AbstractField.ReadOnlyStatusChangeEvent
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.vaadin.data.Container.Editor, com.vaadin.data.Container.Filter, com.vaadin.data.Container.Filterable, com.vaadin.data.Container.Hierarchical, com.vaadin.data.Container.Indexed, com.vaadin.data.Container.ItemSetChangeEvent, com.vaadin.data.Container.ItemSetChangeListener, com.vaadin.data.Container.ItemSetChangeNotifier, com.vaadin.data.Container.Ordered, com.vaadin.data.Container.PropertySetChangeEvent, com.vaadin.data.Container.PropertySetChangeListener, com.vaadin.data.Container.PropertySetChangeNotifier, com.vaadin.data.Container.SimpleFilterable, com.vaadin.data.Container.Sortable, com.vaadin.data.Container.Viewer
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener
com.vaadin.ui.Field.ValueChangeEvent
com.vaadin.data.Buffered.SourceException
com.vaadin.data.Property.ConversionException, com.vaadin.data.Property.Editor, com.vaadin.data.Property.ReadOnlyException, com.vaadin.data.Property.ReadOnlyStatusChangeListener, com.vaadin.data.Property.ReadOnlyStatusChangeNotifier, com.vaadin.data.Property.ValueChangeListener, com.vaadin.data.Property.ValueChangeNotifier, com.vaadin.data.Property.Viewer
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, alwaysRecalculateColumnWidths, CELL_FIRSTCOL, CELL_GENERATED_ROW, CELL_HEADER, CELL_ICON, CELL_ITEMID, CELL_KEY, COLUMN_HEADER_MODE_EXPLICIT, COLUMN_HEADER_MODE_EXPLICIT_DEFAULTS_ID, COLUMN_HEADER_MODE_HIDDEN, COLUMN_HEADER_MODE_ID, ROW_HEADER_MODE_EXPLICIT, ROW_HEADER_MODE_EXPLICIT_DEFAULTS_ID, ROW_HEADER_MODE_HIDDEN, ROW_HEADER_MODE_ICON_ONLY, ROW_HEADER_MODE_ID, ROW_HEADER_MODE_INDEX, ROW_HEADER_MODE_ITEM, ROW_HEADER_MODE_PROPERTY
Constructor and Description |
---|
SelectionAwareTable(String caption,
OnmsDaoContainer container)
Leave OnmsDaoContainer without generics; the Aries blueprint code cannot match up
the arguments if you put the generic types in.
|
Modifier and Type | Method and Description |
---|---|
void |
addSelectionListener(SelectionListener listener)
Delegate
SelectionNotifier calls to the container. |
void |
containerItemSetChange(com.vaadin.data.Container.ItemSetChangeEvent event) |
void |
removeSelectionListener(SelectionListener listener)
Delegate
SelectionNotifier calls to the container. |
void |
selectionChanged(SelectionContext selectionManager) |
void |
setCellStyleGenerator(com.vaadin.ui.Table.CellStyleGenerator generator)
Call this method before any of the
SelectionNotifier methods to ensure
that the SelectionListener instances are registered with all of the
ColumnGenerator classes that also implement SelectionNotifier . |
void |
setColumnGenerators(Map generators)
Call this method before any of the
SelectionNotifier methods to ensure
that the SelectionListener instances are registered with all of the
ColumnGenerator classes that also implement SelectionNotifier . |
void |
setSelectionListeners(Set<SelectionListener> listeners)
Delegate
SelectionNotifier calls to the container. |
addActionHandler, addContainerProperty, addContainerProperty, addGeneratedColumn, addItem, addItemAfter, addItemAfter, addListener, addListener, addListener, addListener, addListener, attach, bindPropertyToField, changeVariables, containerPropertySetChange, detach, disableContentRefreshing, enableContentRefreshing, firstItemId, formatPropertyValue, getAddedRowCount, getCacheRate, getCellStyleGenerator, getColumnAlignment, getColumnAlignments, getColumnExpandRatio, getColumnFooter, getColumnGenerator, getColumnHeader, getColumnHeaderMode, getColumnHeaders, getColumnIcon, getColumnIcons, getColumnWidth, getCurrentPageFirstItemId, getCurrentPageFirstItemIndex, getDragMode, getDropHandler, getFieldFactory, getFirstAddedItemIndex, getFirstUpdatedItemIndex, getIdByIndex, getItemDescriptionGenerator, getMultiSelectMode, getPageLength, getPropertyValue, getRowGenerator, getRowHeaderMode, getSortableContainerPropertyIds, getSortContainerPropertyId, getTableFieldFactory, getTransferable, getUpdatedRowCount, getVisibleColumns, getVisibleItemIds, indexOfId, isColumnCollapsed, isColumnCollapsible, isColumnCollapsingAllowed, isColumnReorderingAllowed, isEditable, isFirstId, isFooterVisible, isLastId, isPageBufferingEnabled, isPartialRowUpdate, isRowCacheInvalidated, isSelectable, isSortAscending, isSortDisabled, lastItemId, nextItemId, paintContent, paintRowAttributes, paintRowHeader, paintRowIcon, prevItemId, refreshCurrentPage, refreshRenderedCells, refreshRowCache, registerComponent, removeActionHandler, removeAllActionHandlers, removeAllItems, removeContainerProperty, removeGeneratedColumn, removeItem, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, resetPageBuffer, setCacheRate, setColumnAlignment, setColumnAlignments, setColumnCollapsed, setColumnCollapsible, setColumnCollapsingAllowed, setColumnExpandRatio, setColumnFooter, setColumnHeader, setColumnHeaderMode, setColumnHeaders, setColumnIcon, setColumnIcons, setColumnReorderingAllowed, setColumnWidth, setContainerDataSource, setCurrentPageFirstItemId, setCurrentPageFirstItemIndex, setDragMode, setDropHandler, setEditable, setEnabled, setFieldFactory, setFooterVisible, setItemDescriptionGenerator, setLazyLoading, setMultiSelectMode, setNewItemsAllowed, setPageBufferingEnabled, setPageLength, setRowGenerator, setRowHeaderMode, setSelectable, setSortAscending, setSortContainerPropertyId, setSortDisabled, setTableFieldFactory, setVisible, setVisibleColumns, shouldHideAddedRows, sort, sort, translateDropTargetDetails, unregisterComponent, valueChange
addItem, addItem, addListener, addListener, containsId, fireItemSetChange, firePropertySetChange, getCaptionChangeListener, getContainerDataSource, getContainerProperty, getContainerPropertyIds, getItem, getItemCaption, getItemCaptionMode, getItemCaptionPropertyId, getItemIcon, getItemIconPropertyId, getItemIds, getListeners, getNewItemHandler, getNullSelectionItemId, getType, getType, getValue, isEmpty, isMultiSelect, isNewItemsAllowed, isNullSelectionAllowed, isSelected, paintItem, removeListener, removeListener, select, setItemCaption, setItemCaptionMode, setItemCaptionPropertyId, setItemIcon, setItemIconPropertyId, setMultiSelect, setNewItemHandler, setNullSelectionAllowed, setNullSelectionItemId, setValue, setValue, size, unselect
addListener, addListener, addShortcutListener, addValidator, commit, constructField, discard, fireReadOnlyStatusChange, fireValueChange, focus, getActionManager, getErrorMessage, getPropertyDataSource, getRequiredError, getTabIndex, getValidators, isInvalidAllowed, isInvalidCommitted, isModified, isReadOnly, isReadThrough, isRequired, isValid, isValidationVisible, isWriteThrough, readOnlyStatusChange, removeAllValidators, removeListener, removeListener, removeShortcutListener, removeValidator, setCurrentBufferedSourceException, setInternalValue, setInvalidAllowed, setInvalidCommitted, setPropertyDataSource, setReadOnly, setReadThrough, setRequired, setRequiredError, setTabIndex, setValidationVisible, setWriteThrough, shouldHideErrors, toString, validate
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getHeight, getHeightUnits, getIcon, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setSizeFull, setSizeUndefined, setStyle, setStyleName, setWidth, setWidth, setWidth, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addItem, addItem, containsId, getContainerProperty, getContainerPropertyIds, getItem, getItemIds, getType, size
addListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setIcon, setParent, setReadOnly, setStyleName
addListener, getDebugId, paint, removeListener, requestRepaintRequests, setDebugId
public SelectionAwareTable(String caption, OnmsDaoContainer container)
public void containerItemSetChange(com.vaadin.data.Container.ItemSetChangeEvent event)
containerItemSetChange
in interface com.vaadin.data.Container.ItemSetChangeListener
containerItemSetChange
in class com.vaadin.ui.Table
public void selectionChanged(SelectionContext selectionManager)
selectionChanged
in interface SelectionListener
public void addSelectionListener(SelectionListener listener)
SelectionNotifier
calls to the container.addSelectionListener
in interface SelectionNotifier
public void removeSelectionListener(SelectionListener listener)
SelectionNotifier
calls to the container.removeSelectionListener
in interface SelectionNotifier
public void setSelectionListeners(Set<SelectionListener> listeners)
SelectionNotifier
calls to the container.setSelectionListeners
in interface SelectionNotifier
public void setColumnGenerators(Map generators)
SelectionNotifier
methods to ensure
that the SelectionListener
instances are registered with all of the
ColumnGenerator
classes that also implement SelectionNotifier
.public void setCellStyleGenerator(com.vaadin.ui.Table.CellStyleGenerator generator)
SelectionNotifier
methods to ensure
that the SelectionListener
instances are registered with all of the
ColumnGenerator
classes that also implement SelectionNotifier
.setCellStyleGenerator
in class com.vaadin.ui.Table
Copyright © 2015. All Rights Reserved.