public abstract class OneListTableModel<T> extends UITableModelAdapter<T>
限定符和类型 | 类和说明 |
---|---|
class |
OneListTableModel.AddCssAction |
class |
OneListTableModel.AddJsAction |
UITableModelAdapter.AddTableRowAction, UITableModelAdapter.DeleteAction, UITableModelAdapter.EditAction, UITableModelAdapter.MoveDownAction, UITableModelAdapter.MoveUpAction
限定符和类型 | 字段和说明 |
---|---|
protected java.awt.Component |
component |
table
限定符 | 构造器和说明 |
---|---|
|
OneListTableModel(java.lang.String columnName) |
protected |
OneListTableModel(java.lang.String[] columnNames) |
|
OneListTableModel(java.lang.String columnName,
java.awt.Component component) |
限定符和类型 | 方法和说明 |
---|---|
UITableEditAction[] |
createAction() |
abstract UITableEditAction |
getAddAction() |
int |
getColumnCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int row,
int col)
单元格是否可编辑
|
void |
setValueAt(java.lang.Object value,
int row,
int column) |
addRow, clear, createTable, fireTableDataChanged, getColumnClass, getColumnName, getList, getRowCount, getSelectedValue, removeRow, setColumnClass, setDefaultEditor, setDefaultRenderer, setList, setRowAt, setSelectedValue, stopCellEditing
public OneListTableModel(java.lang.String columnName)
public OneListTableModel(java.lang.String columnName, java.awt.Component component)
protected OneListTableModel(java.lang.String[] columnNames)
public int getColumnCount()
getColumnCount
在接口中 javax.swing.table.TableModel
getColumnCount
在类中 UITableModelAdapter<T>
public UITableEditAction[] createAction()
public abstract UITableEditAction getAddAction()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
在接口中 javax.swing.table.TableModel
getValueAt
在类中 UITableModelAdapter<T>
public void setValueAt(java.lang.Object value, int row, int column)
setValueAt
在接口中 javax.swing.table.TableModel
setValueAt
在类中 javax.swing.table.AbstractTableModel
public boolean isCellEditable(int row, int col)
UITableModelAdapter
isCellEditable
在接口中 javax.swing.table.TableModel
isCellEditable
在类中 UITableModelAdapter<T>
row
- 行col
- 列