JIDE 3.5.15

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

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

public interface GanttEntryRelationModel<S extends GanttEntry<?>>


Method Summary
 void addEntryRelation(GanttEntryRelation<S> relation)
          Adds a new GanttEntryRelation.
 void addGanttEntryRelationListener(GanttEntryRelationListener listener)
          Adds a GanttEntryRelationListener.
 GanttEntryRelation<S> getEntryRelation(S start, S end)
          Gets the GanttEntryRelations for the specified GanttEntry.
 Set<GanttEntryRelation<S>> getEntryRelations(S entry)
          Gets the GanttEntryRelations for the specified GanttEntry.
 void removeEntryRelation(GanttEntryRelation<S> relation)
          Removes an existing GanttEntryRelation.
 void removeEntryRelations(S entry)
          Removes all relations associated with the specified entry.
 void removeGanttEntryRelationListener(GanttEntryRelationListener listener)
          Removes a GanttEntryRelationListener.
 

Method Detail

addEntryRelation

void addEntryRelation(GanttEntryRelation<S> relation)
Adds a new GanttEntryRelation.

Parameters:
relation - the GanttEntryRelation.

removeEntryRelation

void removeEntryRelation(GanttEntryRelation<S> relation)
Removes an existing GanttEntryRelation.

Parameters:
relation - the GanttEntryRelation.

removeEntryRelations

void removeEntryRelations(S entry)
Removes all relations associated with the specified entry.

Parameters:
entry - the entry

getEntryRelations

Set<GanttEntryRelation<S>> getEntryRelations(S entry)
Gets the GanttEntryRelations for the specified GanttEntry.

Parameters:
entry - the GanttEntry.
Returns:
the GanttEntryRelations associated with the specified GanttEntry.

getEntryRelation

GanttEntryRelation<S> getEntryRelation(S start,
                                       S end)
Gets the GanttEntryRelations for the specified GanttEntry.

Parameters:
start - the GanttEntry.
end - the GanttEntry.
Returns:
the GanttEntryRelations associated with the specified GanttEntry.

addGanttEntryRelationListener

void addGanttEntryRelationListener(GanttEntryRelationListener listener)
Adds a GanttEntryRelationListener.

Parameters:
listener - the GanttEntryRelationListener.

removeGanttEntryRelationListener

void removeGanttEntryRelationListener(GanttEntryRelationListener listener)
Removes a GanttEntryRelationListener.

Parameters:
listener - the GanttEntryRelationListener.

JIDE 3.5.15