JIDE 3.5.15

com.jidesoft.gantt
Interface GanttEntryRelation<S extends GanttEntry<?>>

Type Parameters:
S - The type of the GanttEntries in the model.
All Known Implementing Classes:
DefaultGanttEntryRelation

public interface GanttEntryRelation<S extends GanttEntry<?>>

GanttEntryRelation defines a relation between two entries.


Field Summary
static int ENTRY_RELATION_FINISH_TO_FINISH
          The successor entry cannot be completed until the task that it depends on (the predecessor entry) is completed.
static int ENTRY_RELATION_FINISH_TO_START
          The successor entry cannot begin until the task that it depends (the predecessor entry) on is complete.
static int ENTRY_RELATION_START_TO_FINISH
          The successor entry cannot be completed until the task that it depends on (the predecessor entry) begins.
static int ENTRY_RELATION_START_TO_START
          The successor entry cannot begin until the task that it depends (the predecessor entry) has begun.
 
Method Summary
 S getPredecessorEntry()
          Gets the predecessor entry of the relation.
 int getRelationType()
          Gets the relation type between the predecessor and successor entries.
 S getSuccessorEntry()
          Gets the successor entry of the relation.
 

Field Detail

ENTRY_RELATION_FINISH_TO_START

static final int ENTRY_RELATION_FINISH_TO_START
The successor entry cannot begin until the task that it depends (the predecessor entry) on is complete.

See Also:
Constant Field Values

ENTRY_RELATION_START_TO_START

static final int ENTRY_RELATION_START_TO_START
The successor entry cannot begin until the task that it depends (the predecessor entry) has begun.

See Also:
Constant Field Values

ENTRY_RELATION_FINISH_TO_FINISH

static final int ENTRY_RELATION_FINISH_TO_FINISH
The successor entry cannot be completed until the task that it depends on (the predecessor entry) is completed.

See Also:
Constant Field Values

ENTRY_RELATION_START_TO_FINISH

static final int ENTRY_RELATION_START_TO_FINISH
The successor entry cannot be completed until the task that it depends on (the predecessor entry) begins.

See Also:
Constant Field Values
Method Detail

getPredecessorEntry

S getPredecessorEntry()
Gets the predecessor entry of the relation.

Returns:
the predecessor entry.

getSuccessorEntry

S getSuccessorEntry()
Gets the successor entry of the relation.

Returns:
the successor entry.

getRelationType

int getRelationType()
Gets the relation type between the predecessor and successor entries.

Returns:
the relation type.

JIDE 3.5.15