|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.jidesoft.gantt.GanttEntryRelationEvent
public class GanttEntryRelationEvent
GanttEntryRelationEvent
is used to notify listeners that a GanttEntryRelationModel
has
changed. The model event describes which relation and the type of the change which could be ADD or REMOVE.
Field Summary | |
---|---|
protected GanttEntryRelation<?> |
_relation
|
protected int |
_type
|
static int |
ADD
|
static int |
REMOVE
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GanttEntryRelationEvent(GanttEntryRelationModel<?> source)
Creates a GanttEntryRelationEvent. |
|
GanttEntryRelationEvent(GanttEntryRelationModel<?> source,
int type)
Creates a GanttEntryRelationEvent. |
|
GanttEntryRelationEvent(GanttEntryRelationModel<?> source,
int type,
GanttEntryRelation<?> relation)
Creates a GanttEntryRelationEvent. |
|
GanttEntryRelationEvent(Object source)
|
Method Summary | |
---|---|
GanttEntryRelation<?> |
getGanttEntryRelation()
Gets the relation that is changed in this event. |
int |
getType()
Returns the type of event - one of: ADD, REMOVE. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ADD
public static final int REMOVE
protected int _type
protected GanttEntryRelation<?> _relation
Constructor Detail |
---|
public GanttEntryRelationEvent(Object source)
public GanttEntryRelationEvent(GanttEntryRelationModel<?> source)
source
- the source which is GanttEntryRelationModel.public GanttEntryRelationEvent(GanttEntryRelationModel<?> source, int type)
source
- the source which is GanttEntryRelationModel.type
- the type of the event.public GanttEntryRelationEvent(GanttEntryRelationModel<?> source, int type, GanttEntryRelation<?> relation)
source
- the source which is GanttEntryRelationModel.type
- the type of the event.relation
- the relation that is added or removed.Method Detail |
---|
public GanttEntryRelation<?> getGanttEntryRelation()
public int getType()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |