public class LetteringTableModel extends AbstractTableModel
selectedBeginDate et
selectedEndDate (montée en charge !).| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.util.decorator.Decorator<Account> |
accountDecorator
To decorate account objects.
|
protected List<Date> |
datesEntree |
protected List<Entry> |
entries |
protected List<String> |
entryBooks |
protected Date |
selectedBeginDate
Begin Date.
|
protected Date |
selectedEndDate
EndDate.
|
listenerList| Constructor and Description |
|---|
LetteringTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(Entry entry,
Date dateEntree)
add one entry
|
Class<?> |
getColumnClass(int column) |
int |
getColumnCount() |
String |
getColumnName(int column) |
Date |
getDateEntree(int row) |
Object |
getElementAt(int row) |
List<Entry> |
getEntries() |
Entry |
getEntryAt(int row) |
Integer |
getIndexOfEntry(Entry entrySearch) |
int |
getNumberOfEntries() |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int rowIndex,
int columnIndex)
Only cell of "Letter" could be editable
|
protected void |
setDate(List<Date> datesEntree) |
protected void |
setJournal(List<String> entryBooks) |
void |
updateEntries(List<Entry> entries,
List<Date> datesEntree,
List<String> entryBooks) |
void |
updateLettersSelectedEntries(int[] entries,
String letters)
update selected entries
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAtprotected Date selectedBeginDate
protected Date selectedEndDate
protected final org.nuiton.util.decorator.Decorator<Account> accountDecorator
public Date getDateEntree(int row)
public int getNumberOfEntries()
public void updateEntries(List<Entry> entries, List<Date> datesEntree, List<String> entryBooks)
public int getColumnCount()
public Entry getEntryAt(int row)
public Class<?> getColumnClass(int column)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic int getRowCount()
public Object getValueAt(int row, int column)
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic Object getElementAt(int row)
public void updateLettersSelectedEntries(int[] entries,
String letters)
Copyright © 2008–2013 CodeLutin. All rights reserved.