public class ConstraintInsertedEvent extends EventObject implements ConstraintEvent
ConstraintInsertedEvent
is used to notify
ConstraintListener
's
when a constraint has been added to an IlvGanttModel
.source
Constructor and Description |
---|
ConstraintInsertedEvent(IlvGanttModel model,
IlvConstraint constraint)
Constructs a new
ConstraintInsertedEvent generated by the
specified data model that can be used to notify listeners when a constraint
has been added to a Gantt data model. |
Modifier and Type | Method and Description |
---|---|
IlvConstraint |
getConstraint()
Returns the constraint which was inserted.
|
IlvGanttModel |
getGanttModel()
Returns the data model where the event originated.
|
getSource, toString
public ConstraintInsertedEvent(IlvGanttModel model, IlvConstraint constraint)
ConstraintInsertedEvent
generated by the
specified data model that can be used to notify listeners when a constraint
has been added to a Gantt data model.model
- the data model where the event originatedconstraint
- the constraint that was inserted into model
public IlvGanttModel getGanttModel()
IlvGanttModel
where the event originated.public IlvConstraint getConstraint()
getConstraint
in interface ConstraintEvent
IlvConstraint
which was inserted.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.