|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.ui.calendar.DateZone
class DateZone
A DateZone is used to mark a rectagular area on the calendar UIs that corresponds to a particular date. It provides the popup menu and the on-click action that occurs when the user clicks on a date, but outside of any other calendar items
| Constructor Summary | |
|---|---|
DateZone(Date d,
Rectangle bounds)
constructor. |
|
| Method Summary | |
|---|---|
Rectangle |
getBounds()
Gets the bounds. |
Date |
getDate()
Gets the date. |
JPopupMenu |
getMenu()
Gets the popup menu. |
(package private) void |
onClick()
take action on a user mouse click - open an appt editor for a new appt |
void |
setBounds(Rectangle bounds)
Sets the bounds. |
void |
setDate(Date date)
Sets the date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateZone(Date d,
Rectangle bounds)
d - the date that this zone representsbounds - the bounds of this zone| Method Detail |
|---|
public Rectangle getBounds()
public Date getDate()
public JPopupMenu getMenu()
void onClick()
public void setBounds(Rectangle bounds)
bounds - the new boundspublic void setDate(Date date)
date - the new date
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||