Class ScheduleItem
java.lang.Object
org.eclnt.ccaddons.pbc.util.schedule.ScheduleItem
- All Implemented Interfaces:
Serializable,Comparable<ScheduleItem>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe comment is used e.g. as tooltip.getData()Several schedule items can belong to one group.longlonggetText()booleangetUuid()Vertical alignment of text in schedule item.voidvoidsetBackground(String background) voidsetBgpaint(String bgpaint) voidsetComment(String comment) voidAny data can be associated with the item.voidsetForeground(String foreground) voidsetGroupId(String groupId) voidvoidsetScheduleLeft(long scheduleLeft) voidsetScheduleObjectId(String scheduleObjectId) voidsetScheduleWidth(long scheduleWidth) voidvoidsetTextWithLineWrap(boolean textWithLineWrap) void
-
Constructor Details
-
ScheduleItem
public ScheduleItem()
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<ScheduleItem>
-
getUuid
-
putData
-
getScheduleObjectId
-
setScheduleObjectId
-
getItemId
-
setItemId
-
getText
-
setText
-
setData
Any data can be associated with the item. -
getData
-
getScheduleLeft
public long getScheduleLeft() -
setScheduleLeft
public void setScheduleLeft(long scheduleLeft) -
getScheduleWidth
public long getScheduleWidth() -
setScheduleWidth
public void setScheduleWidth(long scheduleWidth) -
getBackground
-
setBackground
-
getForeground
-
setForeground
-
getBgpaint
-
setBgpaint
-
getTextWithLineWrap
public boolean getTextWithLineWrap() -
setTextWithLineWrap
public void setTextWithLineWrap(boolean textWithLineWrap) -
getValign
Vertical alignment of text in schedule item. -
setValign
-
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
-