Calendar Component v5.1
www.calendarcomponent.com

com.imagine.component.calendar.data
Interface CalendarTableCellInfo

All Superinterfaces:
CalendarPartInfo

public interface CalendarTableCellInfo
extends CalendarPartInfo

Contains informations about a calendar table cell.


Method Summary
 int getColumn()
          Get the column of the cell.
 java.util.Date getDate()
          Get the date.
 int getDayOfMonth()
          Get the day of month.
 int getDayOfWeek()
          Returns the day of week.
 int getDayOfYear()
          Returns the day of year.
 int getMonth()
          Get the month.
 CalendarMonthType getMonthType()
          Get the type of the month described by this object.
 int getRow()
          Get the row of the cell.
 java.lang.Object getValue()
          Returns the value in the cell.
 int getWeekOfMonth()
          Get the week of month.
 int getWeekOfYear()
          Returns the week of year.
 int getYear()
          Get the year.
 boolean isDisabled()
          true if the cell is disabled.
 boolean isFromWeekend()
          Returns true if the date associated with the cell is from weekend.
 boolean isOnHoveredColumn()
          Returns true if this cell is on the hovered column.
 boolean isOnHoveredRow()
          Returns true if this cell is on the hovered row.
 boolean isSelected()
          true if the cell is selected.
 boolean isToday()
          Returns true if the cell contains the today date.
 java.lang.String toString()
           
 
Methods inherited from interface com.imagine.component.calendar.data.CalendarPartInfo
getHeight, getLocationOnScreenX, getLocationOnScreenY, getModifiers, getModifiersEx, getMouseClickCount, getMouseX, getMouseY, getTableX, getTableY, getWidth, isHovered
 

Method Detail

getValue

public java.lang.Object getValue()
Returns the value in the cell.

Returns:
Returns the value.

isFromWeekend

public boolean isFromWeekend()
Returns true if the date associated with the cell is from weekend. False otherwise.

Returns:
true If the date associated with the cell is from weekend. False otherwise.

isToday

public boolean isToday()
Returns true if the cell contains the today date.

Returns:
true if the cell contains the today date. False otherwise.

isSelected

public boolean isSelected()
true if the cell is selected. False otherwise.

Returns:
true if the cell is selected. False otherwise.

isDisabled

public boolean isDisabled()
true if the cell is disabled. False otherwise.

Returns:
true if the cell is disabled. False otherwise.

getMonthType

public CalendarMonthType getMonthType()
Get the type of the month described by this object.

Returns:
the type of the month described by this object.

getColumn

public int getColumn()
Get the column of the cell.

Returns:
the column of the cell.

getRow

public int getRow()
Get the row of the cell.

Returns:
the row of the cell.

getDate

public java.util.Date getDate()
Get the date.

Returns:
The date.

getDayOfMonth

public int getDayOfMonth()
Get the day of month.

Returns:
The day of month.

getMonth

public int getMonth()
Get the month. The value of the month is in the interval [0-11].

Returns:
The month. The value of the month is in the interval [0-11].

getYear

public int getYear()
Get the year.

Returns:
The year.

getDayOfWeek

public int getDayOfWeek()
Returns the day of week.

Returns:
The day of week.

getDayOfYear

public int getDayOfYear()
Returns the day of year.

Returns:
Returns the day of year.

getWeekOfMonth

public int getWeekOfMonth()
Get the week of month.

Returns:
Returns the week of month.

getWeekOfYear

public int getWeekOfYear()
Returns the week of year.

Returns:
Returns the week of year.

isOnHoveredColumn

public boolean isOnHoveredColumn()
Returns true if this cell is on the hovered column.

Returns:
true if this cell is on the hovered column.

isOnHoveredRow

public boolean isOnHoveredRow()
Returns true if this cell is on the hovered row.

Returns:
true if this cell is on the hovered row.

toString

public java.lang.String toString()

Calendar Component v5.1
www.calendarcomponent.com