|
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>
S
- The type of the GanttEntry in the model.public abstract class AbstractGanttEntryRelationModel<S extends GanttEntry<?>>
AbstractGanttEntryRelationModel
is an abstract implementation of GanttEntryRelationModel
.
It implements all the methods related to GanttEntryRelationModel
but leaves all other methods for
subclass to implement.
Field Summary | |
---|---|
protected EventListenerList |
listenerList
List of listeners |
Constructor Summary | |
---|---|
protected |
AbstractGanttEntryRelationModel()
|
Method Summary | |
---|---|
void |
addGanttEntryRelationListener(GanttEntryRelationListener l)
Adds a listener to the list that's notified each time a change to the gantt model occurs. |
void |
fireGanttEntryRealtionRemoved(GanttEntryRelation<S> relation)
Notifies all listeners that an existing relation is removed. |
void |
fireGanttEntryRelationAdded(GanttEntryRelation<S> relation)
Notifies all listeners that a new relation is added. |
void |
fireGanttEntryRelationChanged()
Notifies all listeners that all Gantt entry relations may have changed. |
void |
fireGanttEntryRelationChanged(GanttEntryRelationEvent e)
Forwards the given notification event to all GanttEntryRelationListeners that registered themselves
as listeners for this table model. |
void |
fireGanttEntryRelationCleared()
Notifies all listeners that all relations are removed |
GanttEntryRelationListener[] |
getGanttEntryRelationListeners()
Returns an array of all the gantt model listeners registered on this model. |
void |
removeGanttEntryRelationListener(GanttEntryRelationListener l)
Removes a listener from the list that's notified each time a change to the data model occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jidesoft.gantt.GanttEntryRelationModel |
---|
addEntryRelation, getEntryRelation, getEntryRelations, removeEntryRelation, removeEntryRelations |
Field Detail |
---|
protected EventListenerList listenerList
Constructor Detail |
---|
protected AbstractGanttEntryRelationModel()
Method Detail |
---|
public void addGanttEntryRelationListener(GanttEntryRelationListener l)
addGanttEntryRelationListener
in interface GanttEntryRelationModel<S extends GanttEntry<?>>
l
- the GanttEntryRelationListenerpublic void removeGanttEntryRelationListener(GanttEntryRelationListener l)
removeGanttEntryRelationListener
in interface GanttEntryRelationModel<S extends GanttEntry<?>>
l
- the GanttEntryRelationListenerpublic GanttEntryRelationListener[] getGanttEntryRelationListeners()
GanttEntryRelationListener
s or an empty array if no gantt model
listeners are currently registeredaddGanttEntryRelationListener(com.jidesoft.gantt.GanttEntryRelationListener)
,
removeGanttEntryRelationListener(com.jidesoft.gantt.GanttEntryRelationListener)
public void fireGanttEntryRelationChanged()
GanttChart
should redraw from scratch. The structure of the chart (as in the order
of the Gantt entries) is assumed to be the same.
GanttModelEvent
,
EventListenerList
public void fireGanttEntryRelationAdded(GanttEntryRelation<S> relation)
relation
- the related to be added.public void fireGanttEntryRealtionRemoved(GanttEntryRelation<S> relation)
relation
- the relation to be removedpublic void fireGanttEntryRelationCleared()
public void fireGanttEntryRelationChanged(GanttEntryRelationEvent e)
GanttEntryRelationListeners
that registered themselves
as listeners for this table model.
e
- the event to be forwardedaddGanttEntryRelationListener(com.jidesoft.gantt.GanttEntryRelationListener)
,
GanttModelEvent
,
EventListenerList
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |