protected class VisualCalendarComponent.DayTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected Calendar |
calendar |
protected ListSelectionListener |
columnSelectionListener |
protected DateFormatSymbols |
dateFormat |
protected ListSelectionListener |
rowSelectionListener |
listenerList| Constructor and Description |
|---|
VisualCalendarComponent.DayTableModel(Locale l,
JTable t,
boolean trunc) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCalendarListener(CalendarListener c) |
protected void |
fireCalendarEvent(int d,
int m,
int y,
Locale l) |
int |
getColumnCount() |
String |
getColumnName(int c) |
Date |
getCurrentDate() |
Timestamp |
getCurrentTimestamp() |
int |
getDay() |
int |
getMonth() |
int |
getRowCount() |
Object |
getValueAt(int r,
int c) |
int |
getYear() |
void |
removeCalendarListener(CalendarListener c) |
void |
setDate(Date d) |
void |
setDay(int d) |
void |
setLocale(Locale l) |
void |
setMonth(int m) |
void |
setYear(int y) |
void |
updateMonthYear(int dau) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtprotected Calendar calendar
protected DateFormatSymbols dateFormat
protected ListSelectionListener rowSelectionListener
protected ListSelectionListener columnSelectionListener
protected void fireCalendarEvent(int d,
int m,
int y,
Locale l)
public void addCalendarListener(CalendarListener c)
public void removeCalendarListener(CalendarListener c)
public int getDay()
public int getYear()
public int getMonth()
public void setDate(Date d)
public String getColumnName(int c)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic void updateMonthYear(int dau)
public int getRowCount()
public int getColumnCount()
public Date getCurrentDate()
public Timestamp getCurrentTimestamp()
public void setLocale(Locale l)
public void setYear(int y)
public void setDay(int d)
public void setMonth(int m)
public Object getValueAt(int r, int c)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.