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

com.imagine.component.calendar.data
Class CalendarHeaderCellInfo

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

public class CalendarHeaderCellInfo
extends java.lang.Object

Contains informations about a calendar header cell.


Constructor Summary
CalendarHeaderCellInfo()
           
 
Method Summary
 int getColumn()
          Get the column of the cell.
 int getHeight()
          Returns the height of the cell.
 int getMouseX()
           
 int getMouseY()
           
 java.lang.Object getValue()
          Returns the value in the cell.
 int getWidth()
          Returns the width of the cell.
 boolean isHovered()
           
 boolean isOnHoveredColumn()
          Returns true if this cell is on the hovered column.
 void setColumn(int column)
          Set the column of the cell.
 void setHeight(int height)
          Set the height of the cell.
 void setMouseX(int mousex)
           
 void setMouseY(int mousey)
           
 void setOnHoveredColumn(boolean onHoveredColumn)
          Set to true if this cell is on the hovered column.
 void setValue(java.lang.Object value)
          Set the value in the cell.
 void setWidth(int width)
          Set the width of the cell.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalendarHeaderCellInfo

public CalendarHeaderCellInfo()
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()

getColumn

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

Returns:
the column of the cell.

setColumn

public void setColumn(int column)
Set the column of the cell.

Parameters:
column - the column of the cell.

isOnHoveredColumn

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

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

setOnHoveredColumn

public void setOnHoveredColumn(boolean onHoveredColumn)
Set to true if this cell is on the hovered column.

Parameters:
onHoveredColumn - true if this cell is on the hovered column.

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