public class DateRangeTableModel extends Object implements TableModel
| Constructor and Description |
|---|
DateRangeTableModel(int year,
int month,
int day,
int extentDays) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener tableModelListener) |
int |
getColumn(CalendarDate calendarDate) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
int |
getRow(CalendarDate calendarDate) |
int |
getRowCount() |
int |
getStartingMonth() |
int |
getTodayColumn() |
int |
getTodayRow() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
hasOverun() |
boolean |
hasUnderun() |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeTableModelListener(TableModelListener tableModelListener) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
public DateRangeTableModel(int year,
int month,
int day,
int extentDays)
public void addTableModelListener(TableModelListener tableModelListener)
addTableModelListener in interface TableModelpublic void removeTableModelListener(TableModelListener tableModelListener)
removeTableModelListener in interface TableModelpublic boolean hasUnderun()
public boolean hasOverun()
public int getTodayRow()
public int getTodayColumn()
public int getStartingMonth()
public int getRow(CalendarDate calendarDate)
public int getColumn(CalendarDate calendarDate)
public Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelpublic int getRowCount()
getRowCount in interface TableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelCopyright © 2017. All rights reserved.