com.antelmann.calendar
Class CalendarCell
java.lang.Object
com.antelmann.calendar.CalendarCell
- All Implemented Interfaces:
- Serializable
public class CalendarCell
- extends Object
- implements Serializable
represents the value that by default is returned from a CalendarTableModel
- Author:
- Holger Antelmann
- See Also:
CalendarTableModel,
CalendarCellRenderer,
Serialized Form
CalendarCell
public CalendarCell(Date date,
Object value,
boolean isActiveMonth)
getWeekHeaderInstance
public static CalendarCell getWeekHeaderInstance(Date date,
boolean isActiveMonth)
getDate
public Date getDate()
isActiveMonth
public boolean isActiveMonth()
isWeekHeader
public boolean isWeekHeader()
- if true,
getValue() contains an Integer instance
representing the week of the year.
getValue
public Object getValue()
getDateString
public String getDateString()
toString
public String toString()
- Overrides:
toString in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
(c) Holger Antelmann since 2001- all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads