public static class AbstractTable.Model<R extends AbstractTable.Row> extends AbstractTableModel
listenerList| Constructor and Description |
|---|
Model() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(AbstractTable.Column column) |
void |
addColumn(AbstractTable.Column column,
boolean fireEvent) |
void |
addRow(R row) |
void |
addRow(R row,
boolean fireEvent) |
void |
clearRows() |
void |
clearRows(boolean fireEvent) |
AbstractTable.Column |
getColumn(int columnIndex) |
AbstractTable.Column |
getColumnById(String id) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
List<AbstractTable.Column> |
getColumns() |
R |
getRow(int rowIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
void |
insertRow(int rowIndex,
R row) |
void |
insertRow(int rowIndex,
R row,
boolean fireEvent) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
moveRow(int srcRowIndex,
int targetRowIndex) |
void |
moveRow(int srcRowIndex,
int targetRowIndex,
boolean fireEvent) |
void |
removeRow(int rowIndex) |
void |
removeRow(int rowIndex,
boolean fireEvent) |
void |
removeRow(R row) |
void |
removeRow(R row,
boolean fireEvent) |
void |
setRow(int rowIndex,
R row) |
void |
setRow(int rowIndex,
R row,
boolean fireEvent) |
void |
setRowCount(int count) |
void |
setValueAt(Object value,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerpublic final void addColumn(AbstractTable.Column column)
public void addColumn(AbstractTable.Column column, boolean fireEvent)
public final void addRow(R row)
public void addRow(R row, boolean fireEvent)
public void clearRows()
public void clearRows(boolean fireEvent)
public AbstractTable.Column getColumn(int columnIndex)
public AbstractTable.Column getColumnById(String id)
public Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic int getColumnCount()
public String getColumnName(int columnIndex)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic List<AbstractTable.Column> getColumns()
public R getRow(int rowIndex)
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public void insertRow(int rowIndex,
R row)
public void insertRow(int rowIndex,
R row,
boolean fireEvent)
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void moveRow(int srcRowIndex,
int targetRowIndex)
public void moveRow(int srcRowIndex,
int targetRowIndex,
boolean fireEvent)
public void setRow(int rowIndex,
R row)
public void setRow(int rowIndex,
R row,
boolean fireEvent)
public void setRowCount(int count)
public void setValueAt(Object value, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic void removeRow(R row)
public void removeRow(R row, boolean fireEvent)
public void removeRow(int rowIndex)
public void removeRow(int rowIndex,
boolean fireEvent)
Copyright © 2019 OpenEstate. All rights reserved.