Class DayEditorSelection
- java.lang.Object
-
- org.eclipse.nebula.widgets.compositetable.day.DayEditorSelection
-
public class DayEditorSelection extends java.lang.Object
Class DayEditorSelection. Represents the current selection in a DayEditor control.- Since:
- 3.3
-
-
Field Summary
Fields Modifier and Type Field Description boolean
allDay
Indicates if the current selection is in an all-day event row.java.util.Date
dateTime
The date/time of the currently selected cell or null if selectedCalenderable != nullCalendarableItem
selectedCalendarable
Represents the selected CalendarableItem or null if none is selected.
-
Constructor Summary
Constructors Constructor Description DayEditorSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setAllDay(boolean allDay)
Sets the allDay flag.void
setDateTime(java.util.Date date)
Sets the dateTime.void
setSelectedCalendarable(CalendarableItem selectedCalendarable)
Sets the selectedCalendarable.
-
-
-
Field Detail
-
selectedCalendarable
public CalendarableItem selectedCalendarable
Represents the selected CalendarableItem or null if none is selected.
-
allDay
public boolean allDay
Indicates if the current selection is in an all-day event row.
-
dateTime
public java.util.Date dateTime
The date/time of the currently selected cell or null if selectedCalenderable != null
-
-
Method Detail
-
setSelectedCalendarable
public void setSelectedCalendarable(CalendarableItem selectedCalendarable)
Sets the selectedCalendarable.- Parameters:
selectedCalendarable
- the CalendarableItem to select
-
setAllDay
public void setAllDay(boolean allDay)
Sets the allDay flag.- Parameters:
allDay
- true if the selection is in an all-day event row or if the selectedCalenderable represents an all-day event; false otherwise.
-
setDateTime
public void setDateTime(java.util.Date date)
Sets the dateTime.- Parameters:
date
- the Date to set.
-
-