com.sun.grid.installer.gui
public class HostSelectionTableModel extends SortedTableModel implements HostTableModel
sortedIndexes
Constructor and Description |
---|
HostSelectionTableModel(javax.swing.JTable table,
HostList hostList,
java.lang.String[] headers,
java.lang.Class[] types,
java.util.Properties langProperties) |
Modifier and Type | Method and Description |
---|---|
Host |
addHost(Host h) |
static Host |
getBdbHost() |
java.lang.Class |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
HostList |
getHostList() |
static Host |
getQmasterHost() |
int |
getRowCount() |
java.lang.Object |
getValueAt(int row,
int col) |
boolean |
isCellEditable(int row,
int col) |
boolean |
removeAll() |
void |
removeHost(Host h) |
void |
setHostLog(Host h,
java.lang.String log) |
void |
setHostState(Host h,
Host.State state) |
void |
setValueAt(java.lang.Object aValue,
int row,
int col) |
getRowIndex, getSortedIndexes, getSortedRowIndex, reSort, sortByColumn
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnName, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public HostSelectionTableModel(javax.swing.JTable table, HostList hostList, java.lang.String[] headers, java.lang.Class[] types, java.util.Properties langProperties)
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
getColumnCount
in class javax.swing.table.DefaultTableModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
getRowCount
in class javax.swing.table.DefaultTableModel
public static Host getQmasterHost()
public static Host getBdbHost()
public java.lang.Object getValueAt(int row, int col)
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class javax.swing.table.DefaultTableModel
public void setValueAt(java.lang.Object aValue, int row, int col)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.DefaultTableModel
public java.lang.Class getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.DefaultTableModel
public boolean removeAll()
removeAll
in interface HostTableModel
public void setHostState(Host h, Host.State state)
setHostState
in interface HostTableModel
public Host addHost(Host h)
addHost
in interface HostTableModel
public void removeHost(Host h)
removeHost
in interface HostTableModel
public void setHostLog(Host h, java.lang.String log)
setHostLog
in interface HostTableModel
public HostList getHostList()
getHostList
in interface HostTableModel