Java Calendar Component v3.1
www.java-calendar.com

com.imagine.component.calendar.data
Class CalendarWeekCellInfo

java.lang.Object
  extended bycom.imagine.component.calendar.data.CalendarWeekCellInfo

public class CalendarWeekCellInfo
extends java.lang.Object

Contains informations about a calendar week cell.


Constructor Summary
CalendarWeekCellInfo()
           
 
Method Summary
 int getHeight()
          Returns the height of the cell.
 int getMonth()
          Get the month.
 int getMouseX()
           
 int getMouseY()
           
 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 getWidth()
          Returns the width of the cell.
 int getYear()
          Get the year.
 boolean isHovered()
           
 boolean isOnHoveredRow()
          Returns true if this cell is on the hovered row.
 void setHeight(int height)
          Set the height of the cell.
 void setMonth(int month)
          Set the month.
 void setMouseX(int mousex)
           
 void setMouseY(int mousey)
           
 void setOnHoveredRow(boolean onHoveredRow)
          Set to true if this cell is on the hovered row.
 void setRow(int row)
          Set the row of the cell.
 void setValue(java.lang.Object value)
          Set the value in the cell.
 void setWeekOfMonth(int weekOfMonth)
          Set the week of month
 void setWeekOfYear(int weekOfYear)
          Set the week of year.
 void setWidth(int width)
          Set the width of the cell.
 void setYear(int year)
          Set the year.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalendarWeekCellInfo

public CalendarWeekCellInfo()
Method Detail

getMouseX

public int getMouseX()
Returns:
Returns the mousex.

setMouseX

public void setMouseX(int mousex)
Parameters:
mousex - The mousex to set.

getMouseY

public int getMouseY()
Returns:
Returns the mousey.

setMouseY

public void setMouseY(int mousey)
Parameters:
mousey - The mousey to set.

isHovered

public boolean isHovered()
Returns:
Returns true if the status panel is hovered. False otherwise.

getValue

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

Returns:
Returns the value.

setValue

public void setValue(java.lang.Object value)
Set the value in the cell.

Parameters:
value - The value to set.

getWidth

public int getWidth()
Returns the width of the cell.

Returns:
Returns the width of the cell.

setWidth

public void setWidth(int width)
Set the width of the cell.

Parameters:
width - The width of the cell.

getHeight

public int getHeight()
Returns the height of the cell.

Returns:
Returns the height.

setHeight

public void setHeight(int height)
Set the height of the cell.

Parameters:
height - The height to set.

toString

public java.lang.String toString()

getRow

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

Returns:
the row of the cell.

setRow

public void setRow(int row)
Set the row of the cell.

Parameters:
row - the row of the cell.

getMonth

public int getMonth()
Get the month.

Returns:
The month.

setMonth

public void setMonth(int month)
Set the month.

Parameters:
month - The month.

getYear

public int getYear()
Get the year.

Returns:
The year.

setYear

public void setYear(int year)
Set the year.

Parameters:
year - The year.

getWeekOfMonth

public int getWeekOfMonth()
Get the week of month.

Returns:
Returns the week of month.

setWeekOfMonth

public void setWeekOfMonth(int weekOfMonth)
Set the week of month

Parameters:
weekOfMonth - The wek of month to set.

getWeekOfYear

public int getWeekOfYear()
Returns the week of year.

Returns:
Returns the week of year.

setWeekOfYear

public void setWeekOfYear(int weekOfYear)
Set the week of year.

Parameters:
weekOfYear - The week of year to set.

isOnHoveredRow

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

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

setOnHoveredRow

public void setOnHoveredRow(boolean onHoveredRow)
Set to true if this cell is on the hovered row.

Parameters:
onHoveredRow - true if this cell is on the hovered row.

Java Calendar Component v3.1
www.java-calendar.com