public static class CalendarEntryTable.Model extends DefaultTableModel
Modifier and Type | Field and Description |
---|---|
static int |
COLUMN_CALENDAR |
static int |
COLUMN_DATE_BEGIN |
static int |
COLUMN_DATE_FINISH |
static int |
COLUMN_ENTRY |
static int |
COLUMN_LOCATION |
static int |
COLUMN_STATUS |
static int |
COLUMN_SUMMARY |
static int |
COLUMN_TYPE |
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
CalendarEntryTable.Model() |
Modifier and Type | Method and Description |
---|---|
void |
addCalendarEntry(DbCalendarEntry entry,
String calendarName) |
protected Object[] |
buildRow(DbCalendarEntry entry,
String calendarName) |
long |
getCalendarIdAt(int row) |
Class |
getColumnClass(int col) |
String |
getColumnName(int col) |
DbCalendarEntry |
getEntryAt(int row) |
long |
getEntryIdAt(int row) |
boolean |
isCellEditable(int row,
int column) |
void |
setCalendarEntryAt(int row,
DbCalendarEntry entry,
String calendarName) |
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public static final int COLUMN_ENTRY
public static final int COLUMN_DATE_BEGIN
public static final int COLUMN_DATE_FINISH
public static final int COLUMN_SUMMARY
public static final int COLUMN_LOCATION
public static final int COLUMN_CALENDAR
public static final int COLUMN_TYPE
public static final int COLUMN_STATUS
public void addCalendarEntry(DbCalendarEntry entry, String calendarName)
protected Object[] buildRow(DbCalendarEntry entry, String calendarName)
public Class getColumnClass(int col)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public String getColumnName(int col)
getColumnName
in interface TableModel
getColumnName
in class DefaultTableModel
public long getCalendarIdAt(int row)
public DbCalendarEntry getEntryAt(int row)
public long getEntryIdAt(int row)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
public void setCalendarEntryAt(int row, DbCalendarEntry entry, String calendarName)
Copyright © 2015 OpenEstate. All rights reserved.