Class NewEvent
java.lang.Object
org.eclipse.nebula.widgets.compositetable.day.NewEvent
public class NewEvent
extends java.lang.Object
Encapsulates information about new events that have been added to the calendar.
- Since:
- 3.3
-
Field Summary
Fields Modifier and Type Field Description java.lang.Object
event
The application's event object.java.util.Date[]
startTimeEndTime
The start date/time and end date/time of the new event. -
Constructor Summary
Constructors Constructor Description NewEvent(java.lang.Object event, java.util.Date[] startTimeEndTime)
Construct a NewEvent. -
Method Summary
-
Field Details
-
event
public final java.lang.Object eventThe application's event object. When an application returns a NewEvent, normally it will create a domain model object that represents the event. This field is for application use to pass that model object to listeners who may have requested for the new event to be created. Clients are free to pass null if this is not applicable to them. -
startTimeEndTime
public final java.util.Date[] startTimeEndTimeThe start date/time and end date/time of the new event. A Date[2] containing the start date/time and the end date/time of the new event. The IEventEditor will automatically refresh any days it is displaying that overlap this date/time range.
-
-
Constructor Details
-
NewEvent
public NewEvent(java.lang.Object event, java.util.Date[] startTimeEndTime)Construct a NewEvent.- Parameters:
event
- The application-defined event object or null if none.startTimeEndTime
- A Date[2] containing the range of dates/times this event spans.
-