Class ScheduleItem
java.lang.Object
org.eclnt.ccaddons.pbc.multilineschedule2.ScheduleItem
- All Implemented Interfaces:
Serializable,Comparable<ScheduleItem>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependentScheduleItemId(String scheduleItemId) intThe comment is used e.g. as tooltip.getData()Several schedule items can belong to one group.longlonggetText()getUuid()voidvoidremoveDependentScheduleItemId(String scheduleItemId) voidsetBackground(String background) voidsetComment(String comment) voidAny data can be associated with the item.voidsetDependentScheduleItemIds(Set<String> nextScheduleItemIds) voidsetGroupId(String groupId) voidvoidsetScheduleLeft(long scheduleLeft) voidsetScheduleObjectId(String scheduleObjectId) voidsetScheduleWidth(long scheduleWidth) void
-
Constructor Details
-
ScheduleItem
public ScheduleItem()
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<ScheduleItem>
-
getUuid
-
getBackground
-
setBackground
-
getScheduleObjectId
-
setScheduleObjectId
-
getItemId
-
setItemId
-
getText
-
setText
-
setData
Any data can be associated with the item. -
getData
-
putData
-
getScheduleLeft
public long getScheduleLeft() -
setScheduleLeft
public void setScheduleLeft(long scheduleLeft) -
getScheduleWidth
public long getScheduleWidth() -
setScheduleWidth
public void setScheduleWidth(long scheduleWidth) -
getComment
The comment is used e.g. as tooltip. -
setComment
-
getGroupId
Several schedule items can belong to one group. Grouped items are rendered in the same line if possible... Grouped items must not overlap! -
setGroupId
-
getDependentScheduleItemIds
-
setDependentScheduleItemIds
-
addDependentScheduleItemId
-
removeDependentScheduleItemId
-