|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.model.calendar.AbstractCalendarEntry
public abstract class AbstractCalendarEntry
An abstract implementation of the ICalendarEntry
interface.
Constructor Summary | |
---|---|
AbstractCalendarEntry()
Constructs a new calendar entry with an undefined time span. |
|
AbstractCalendarEntry(ITimeSpan span)
Constructs a new calendar entry. |
Method Summary | |
---|---|
int |
compareTo(AbstractCalendarEntry entry)
|
ITimeSpan |
getTimeSpan()
Returns the time span of the calendar entry. |
void |
setTimeSpan(ITimeSpan span)
Specifies a new time span for the calendar entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCalendarEntry(ITimeSpan span)
span
- the calendar entry's time span allocation.public AbstractCalendarEntry()
TimeSpan.UNDEFINED
Method Detail |
---|
public void setTimeSpan(ITimeSpan span)
span
- the calendar entry's new time spanpublic ITimeSpan getTimeSpan()
ICalendarEntry
getTimeSpan
in interface ICalendarEntry
public int compareTo(AbstractCalendarEntry entry)
compareTo
in interface java.lang.Comparable<AbstractCalendarEntry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |