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 TypeMethodDescriptionintbooleanfindEventsForDay(Calendar cal, Dataset events, Date date, boolean inRange) getColor()static Colorstatic StringgetDisplay(Dataset events, int index) static DategetEndDate(Dataset events, int index) static DatasetExtract the events from the dataset that are on the same day as the date.static DatasetintgetID()static DategetStartDate(Dataset events, int index) inthashCode()static booleanisEventRecordFormat(Dataset events) voidvoidsetDisplay(String display) voidsetEndDate(Date endDate) voidsetID(int id) voidsetStartDate(Date startDate)
-
Constructor Details
-
EventItem
-
-
Method Details
-
compareTo
- Specified by:
compareToin 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
-
equals
-
hashCode
public int hashCode()
-