com.openindex.openestate.tool.calendar
Class CalendarEntryMonthModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by javax.swing.table.DefaultTableModel
          extended by com.openindex.openestate.tool.calendar.CalendarEntryMonthModel
All Implemented Interfaces:
Serializable, TableModel

public class CalendarEntryMonthModel
extends DefaultTableModel

Tabellenmodell zur Darstellung der Monatsansicht.
$Id: CalendarEntryMonthModel.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph
See Also:
Serialized Form

Field Summary
static int COLUMN_DAY1
           
static int COLUMN_DAY2
           
static int COLUMN_DAY3
           
static int COLUMN_DAY4
           
static int COLUMN_DAY5
           
static int COLUMN_DAY6
           
static int COLUMN_DAY7
           
static int COLUMN_WEEK
           
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
CalendarEntryMonthModel()
           
 
Method Summary
 void addCalendarEntries(CalendarEntry[] entries, Date stamp)
           
 void clear()
           
 void clear(int year, int month)
           
 Class getColumnClass(int col)
           
 String getColumnName(int col)
           
 boolean isCellEditable(int row, int column)
           
 
Methods inherited from class javax.swing.table.DefaultTableModel
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
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_WEEK

public static final int COLUMN_WEEK
See Also:
Constant Field Values

COLUMN_DAY1

public static final int COLUMN_DAY1
See Also:
Constant Field Values

COLUMN_DAY2

public static final int COLUMN_DAY2
See Also:
Constant Field Values

COLUMN_DAY3

public static final int COLUMN_DAY3
See Also:
Constant Field Values

COLUMN_DAY4

public static final int COLUMN_DAY4
See Also:
Constant Field Values

COLUMN_DAY5

public static final int COLUMN_DAY5
See Also:
Constant Field Values

COLUMN_DAY6

public static final int COLUMN_DAY6
See Also:
Constant Field Values

COLUMN_DAY7

public static final int COLUMN_DAY7
See Also:
Constant Field Values
Constructor Detail

CalendarEntryMonthModel

public CalendarEntryMonthModel()
Method Detail

addCalendarEntries

public void addCalendarEntries(CalendarEntry[] entries,
                               Date stamp)

clear

public void clear()

clear

public void clear(int year,
                  int month)

getColumnClass

public Class getColumnClass(int col)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

getColumnName

public String getColumnName(int col)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class DefaultTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int column)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class DefaultTableModel


Copyright © 2012 OpenEstate. All Rights Reserved.