com.openindex.openestate.tool.calendar
Class CalendarEntryDayModel

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

public class CalendarEntryDayModel
extends DefaultTableModel

Tabellenmodell zur Darstellung der Tagesansicht.
$Id: CalendarEntryDayModel.java 856 2011-04-29 22:30:40Z andy $

Author:
Andreas Rudolph
See Also:
Serialized Form

Field Summary
static int COLUMN_ENTRY
           
static int COLUMN_TIME
           
 
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
CalendarEntryDayModel()
           
 
Method Summary
 void addCalendarEntry(CalendarEntry entry)
           
 void addEmptyEntry()
           
 void clear(Date date)
           
 Class getColumnClass(int col)
           
 String getColumnName(int col)
           
 boolean isCellEditable(int row, int column)
           
 boolean isFullView()
           
 void setFullView(boolean full)
           
 
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_TIME

public static final int COLUMN_TIME
See Also:
Constant Field Values

COLUMN_ENTRY

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

CalendarEntryDayModel

public CalendarEntryDayModel()
Method Detail

addEmptyEntry

public void addEmptyEntry()

addCalendarEntry

public void addCalendarEntry(CalendarEntry entry)

clear

public void clear(Date date)

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

isFullView

public boolean isFullView()

setFullView

public void setFullView(boolean full)


Copyright © 2012 OpenEstate. All Rights Reserved.