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

com.imagine.component.calendar.data
Class CalendarStatusPanelInfo

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

public class CalendarStatusPanelInfo
extends java.lang.Object

Contains informations about the status panel. The status panel contains the "Today" and "None" buttons. The "None" button is displayed only if empty selection is allowed.


Constructor Summary
CalendarStatusPanelInfo()
           
 
Method Summary
 int getHeight()
           
 int getMouseX()
           
 int getMouseY()
           
 java.lang.String getNoneLabel()
           
 java.lang.String getTodayLabel()
           
 int getWidth()
           
 boolean isHovered()
           
 void setHeight(int height)
           
 void setMouseX(int mousex)
           
 void setMouseY(int mousey)
           
 void setNoneLabel(java.lang.String noneLabel)
           
 void setTodayLabel(java.lang.String todayLabel)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarStatusPanelInfo

public CalendarStatusPanelInfo()
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.

getNoneLabel

public java.lang.String getNoneLabel()
Returns:
Returns the text for the "None" label.

setNoneLabel

public void setNoneLabel(java.lang.String noneLabel)
Parameters:
noneLabel - The text for the "None" label.

getTodayLabel

public java.lang.String getTodayLabel()
Returns:
Returns the text for the "Today" label.

setTodayLabel

public void setTodayLabel(java.lang.String todayLabel)
Parameters:
todayLabel - The text for the "Today" label.

getWidth

public int getWidth()
Returns:
Returns the width.

setWidth

public void setWidth(int width)
Parameters:
width - The width to set.

getHeight

public int getHeight()
Returns:
Returns the height.

setHeight

public void setHeight(int height)
Parameters:
height - The height to set.

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