public class LUT_Selector_Table_Model
extends javax.swing.table.AbstractTableModel
LUT_Selector_Dialog
.Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
COLUMN_NAMES
Column names.
|
static java.lang.String |
ID
Class identification name with source code version and date.
|
Constructor and Description |
---|
LUT_Selector_Table_Model()
Creates an empty table model.
|
LUT_Selector_Table_Model(PIRL.PVL.Parameter lut_selector_data)
Creates a table model with the indicated LUT Selector data.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getColumnClass(int column_index)
Gets the specific superclass for all the cell values in the column.
|
int |
getColumnCount()
Gets the number of columns in the table model.
|
java.lang.String |
getColumnName(int column_index)
Gets the name of the column at column_index.
|
int |
getRowCount()
Gets the number of rows in the table model.
|
java.lang.Object |
getValueAt(int row_index,
int column_index)
Returns the value for the cell at column_index and
row_index.
|
PIRL.PVL.Parameter |
table_data()
Gets the table data backing the table model.
|
void |
table_data(PIRL.PVL.Parameter lut_selector_data)
Sets the table data backing the table model.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public static final java.lang.String ID
public static final java.lang.String[] COLUMN_NAMES
public LUT_Selector_Table_Model(PIRL.PVL.Parameter lut_selector_data)
lut_selector_data
- the results returned from the LUT_Selector_Dialog
's LUT_Selector_Dialog.showDialog(java.awt.Component, java.lang.String, PIRL.PVL.Parameter, boolean[])
methods.public LUT_Selector_Table_Model()
public PIRL.PVL.Parameter table_data()
LUT_Selector_Dialog
's LUT_Selector_Dialog.showDialog(java.awt.Component, java.lang.String, PIRL.PVL.Parameter, boolean[])
method.public void table_data(PIRL.PVL.Parameter lut_selector_data)
LUT_Selector_Dialog
's
LUT_Selector_Dialog.showDialog(java.awt.Component, java.lang.String, PIRL.PVL.Parameter, boolean[])
method.lut_selector_data
- the LUT Selector data.public int getRowCount()
public int getColumnCount()
public java.lang.Object getValueAt(int row_index, int column_index)
row_index
- the row whose value is to be queried.column_index
- the column whose value is to be queried.public java.lang.Class getColumnClass(int column_index)
String
s. The remaining columns are Integer
s.getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
column_index
- the index of the column.public java.lang.String getColumnName(int column_index)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
column_index
- the index of the column.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona