Class EventItem
java.lang.Object
com.inductiveautomation.factorypmi.application.components.calendar.common.EventItem
- All Implemented Interfaces:
Comparable<EventItem>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
findEventsForDay
(Calendar cal, Dataset events, Date date, boolean inRange) getColor()
static Color
static String
getDisplay
(Dataset events, int index) static Date
getEndDate
(Dataset events, int index) static Dataset
Extract the events from the dataset that are on the same day as the date.static Dataset
int
getID()
static Date
getStartDate
(Dataset events, int index) static boolean
isEventRecordFormat
(Dataset events) void
void
setDisplay
(String display) void
setEndDate
(Date endDate) void
setID
(int id) void
setStartDate
(Date startDate)
-
Constructor Details
-
EventItem
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<EventItem>
-
findEventsForDay
-
isEventRecordFormat
-
getColor
-
getStartDate
-
getEndDate
-
getDisplay
-
getEvents
Extract the events from the dataset that are on the same day as the date. -
getEvents
-
getID
public int getID() -
setID
public void setID(int id) -
getStartDate
-
setStartDate
-
getEndDate
-
setEndDate
-
getDisplay
-
setDisplay
-
getColor
-
setColor
-