Class VLVIndexTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.opends.guitools.controlpanel.datamodel.SortableTableModel
-
- org.opends.guitools.controlpanel.datamodel.AbstractIndexTableModel
-
- org.opends.guitools.controlpanel.datamodel.VLVIndexTableModel
-
- All Implemented Interfaces:
Serializable,Comparator<AbstractIndexDescriptor>,TableModel
public class VLVIndexTableModel extends AbstractIndexTableModel
The table model for the VLV indexes. This is the table model used by the table that appears on the right side of the Manage Index dialog when the user clicks on the node "VLV Indexes" and it gives a global view of the VLV indexes defined on a given backend.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.opends.guitools.controlpanel.datamodel.AbstractIndexTableModel
sortAscending, sortColumn
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description VLVIndexTableModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(AbstractIndexDescriptor index1, AbstractIndexDescriptor index2)Comparable implementation.protected String[]getColumnNames()Returns the column names of the table.protected String[]getLine(AbstractIndexDescriptor index)Returns the different cell values for a given index in a String array.-
Methods inherited from class org.opends.guitools.controlpanel.datamodel.AbstractIndexTableModel
compareNames, compareRebuildRequired, forceResort, getColumnCount, getColumnName, getIndexAt, getRebuildRequiredString, getRowCount, getSortColumn, getValueAt, isSortAscending, setData, setSortAscending, setSortColumn
-
Methods inherited from class org.opends.guitools.controlpanel.datamodel.SortableTableModel
getHeader, getHeader
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
getColumnNames
protected String[] getColumnNames()
Description copied from class:AbstractIndexTableModelReturns the column names of the table.- Specified by:
getColumnNamesin classAbstractIndexTableModel- Returns:
- the column names of the table.
-
compare
public int compare(AbstractIndexDescriptor index1, AbstractIndexDescriptor index2)
Comparable implementation.- Parameters:
index1- the first VLV index descriptor to compare.index2- the second VLV index descriptor to compare.- Returns:
- 1 if according to the sorting options set by the user the first index descriptor must be put before the second descriptor, 0 if they are equivalent in terms of sorting and -1 if the second descriptor must be put before the first descriptor.
-
getLine
protected String[] getLine(AbstractIndexDescriptor index)
Description copied from class:AbstractIndexTableModelReturns the different cell values for a given index in a String array.- Specified by:
getLinein classAbstractIndexTableModel- Parameters:
index- the index.- Returns:
- the different cell values for a given index in a String array.
-
-