Class BucketTableModel
java.lang.Object
io.deephaven.multiviewwidget.ui.util.BucketTableModel
- All Implemented Interfaces:
ActiveTableModel<String>,TableModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidDeselect all values.Class<?>getColumnClass(int columnIndex) intgetColumnName(int columnIndex) intGet a collection of items currently selectedgetValueAt(int rowIndex, int columnIndex) booleanisCellEditable(int rowIndex, int columnIndex) voidvoidvoidvoidSelect every value.voidselectItem(String item) Add the specified item to the set of selected items.voidselectItems(Collection<String> items) Change the set of selected items to reflect the specified itemsvoidsetValueAt(Object aValue, int rowIndex, int columnIndex) voidtoggleItem(String item) Toggle the selection of a particular item.
-
Constructor Details
-
BucketTableModel
-
-
Method Details
-
selectItem
Add the specified item to the set of selected items.- Specified by:
selectItemin interfaceActiveTableModel<String>- Parameters:
item- the item to mark selected
-
selectItems
Change the set of selected items to reflect the specified items- Specified by:
selectItemsin interfaceActiveTableModel<String>- Parameters:
items- the collection of item to mark selected
-
toggleItem
Toggle the selection of a particular item.- Specified by:
toggleItemin interfaceActiveTableModel<String>- Parameters:
item- the item to toggle
-
selectAll
public void selectAll()Select every value.- Specified by:
selectAllin interfaceActiveTableModel<String>
-
clearSelection
public void clearSelection()Deselect all values.- Specified by:
clearSelectionin interfaceActiveTableModel<String>
-
pauseNotifications
public void pauseNotifications() -
resumeNotifications
public void resumeNotifications() -
getSelectedValues
Description copied from interface:ActiveTableModelGet a collection of items currently selected- Specified by:
getSelectedValuesin interfaceActiveTableModel<String>- Returns:
- the selected items
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel
-
addTableModelListener
- Specified by:
addTableModelListenerin interfaceTableModel
-
removeTableModelListener
- Specified by:
removeTableModelListenerin interfaceTableModel
-