|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.gantt.AbstractGanttEntryRelationModel<S> com.jidesoft.gantt.DefaultGanttEntryRelationModel<S>
S
- The type of the GanttEntry in the model.public class DefaultGanttEntryRelationModel<S extends GanttEntry<?>>
DefaultGanttEntryRelationModel
is a default implementation of GanttEntryRelationModel
.
Field Summary | |
---|---|
protected Map<S,Set<GanttEntryRelation<S>>> |
_relations
The map from GanttEntry to a set of GanttEntryRelation. |
Fields inherited from class com.jidesoft.gantt.AbstractGanttEntryRelationModel |
---|
listenerList |
Constructor Summary | |
---|---|
DefaultGanttEntryRelationModel()
|
Method Summary | |
---|---|
void |
addEntryRelation(GanttEntryRelation<S> relation)
Adds a new GanttEntryRelation. |
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 |
removeAllEntryRelations()
|
void |
removeEntryRelation(GanttEntryRelation<S> relation)
Removes an existing GanttEntryRelation. |
void |
removeEntryRelations(S entry)
Removes all relations associated with the specified entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Map<S extends GanttEntry<?>,Set<GanttEntryRelation<S extends GanttEntry<?>>>> _relations
Constructor Detail |
---|
public DefaultGanttEntryRelationModel()
Method Detail |
---|
public void addEntryRelation(GanttEntryRelation<S> relation)
GanttEntryRelationModel
relation
- the GanttEntryRelation.public Set<GanttEntryRelation<S>> getEntryRelations(S entry)
GanttEntryRelationModel
entry
- the GanttEntry.
public GanttEntryRelation<S> getEntryRelation(S start, S end)
GanttEntryRelationModel
start
- the GanttEntry.end
- the GanttEntry.
public void removeEntryRelation(GanttEntryRelation<S> relation)
GanttEntryRelationModel
relation
- the GanttEntryRelation.public void removeEntryRelations(S entry)
GanttEntryRelationModel
entry
- the entrypublic void removeAllEntryRelations()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |