public abstract class AbstractSingleRecordTableModel extends AbstractRecordTableModel
listenerList| Constructor and Description |
|---|
AbstractSingleRecordTableModel(RecordDefinition recordDefinition,
boolean editable) |
| Modifier and Type | Method and Description |
|---|---|
static BaseJTable |
createTable(AbstractSingleRecordTableModel model) |
int |
getColumnCount() |
String |
getColumnName(int column) |
String |
getFieldName(int attributeIndex) |
String |
getFieldName(int row,
int column) |
List<String> |
getFieldNames() |
String |
getFieldTitle(String fieldName) |
abstract <V extends Map<String,Object>> |
getMap(int columnIndex) |
MenuFactory |
getMenu(int rowIndex,
int columnIndex) |
abstract Object |
getObjectValue(int attributeIndex,
int columnIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
isSelected(boolean selected,
int rowIndex,
int columnIndex) |
protected Object |
setDisplayValue(String fieldName,
Object displayValue) |
void |
setFieldNames(List<String> fieldNames) |
protected abstract Object |
setObjectValue(String fieldName,
Object value) |
void |
setRecordDefinition(RecordDefinition recordDefinition) |
void |
setValueAt(Object value,
int rowIndex,
int columnIndex) |
String |
toCopyValue(int rowIndex,
int columnIndex,
Object objectValue) |
addReadOnlyFieldNames, addReadOnlyFieldNames, dispose, getReadOnlyFieldNames, getRecordDefinition, isEditable, isReadOnly, loadCodeTable, setEditable, setReadOnlyFieldNames, toDisplayValue, toObjectValuefirePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getEditorField, getMenu, getPropertyChangeSupport, isEmpty, setMenuaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyChangeSupportpublic AbstractSingleRecordTableModel(RecordDefinition recordDefinition, boolean editable)
public static BaseJTable createTable(AbstractSingleRecordTableModel model)
public int getColumnCount()
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic String getFieldName(int attributeIndex)
getFieldName in class AbstractRecordTableModelpublic String getFieldName(int row, int column)
getFieldName in class AbstractRecordTableModelpublic MenuFactory getMenu(int rowIndex, int columnIndex)
getMenu in class AbstractTableModelpublic abstract Object getObjectValue(int attributeIndex, int columnIndex)
public int getRowCount()
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic boolean isSelected(boolean selected,
int rowIndex,
int columnIndex)
isSelected in class AbstractRecordTableModelpublic void setRecordDefinition(RecordDefinition recordDefinition)
setRecordDefinition in class AbstractRecordTableModelpublic void setValueAt(Object value, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic String toCopyValue(int rowIndex, int columnIndex, Object objectValue)
toCopyValue in class AbstractTableModelCopyright © 2015 Revolution Systems Inc.. All rights reserved.