protected class IlvFilterGanttModel.ConstraintEventHandler extends Object implements ConstraintListener, Serializable
ConstraintEventHandler
is the default listener used by
IlvFilterGanttModel
to handle constraint
events
fired by the encapsulated data model. This default implementation
refires all events triggered by the encapsulated model to the filter
model's own registered listeners. You can
extend this class to add additional event filtering, processing,
functionality, and so on.IlvFilterGanttModel.createConstraintEventHandler()
,
Serialized FormConstructor and Description |
---|
ConstraintEventHandler()
Creates a new
ConstraintEventHandler that will refire all
constraint events it receives from the
encapsulated data model. |
Modifier and Type | Method and Description |
---|---|
void |
constraintChanged(ConstraintEvent event)
This method is invoked when a constraint has been added to or removed
from the encapsulated data model, or when a property of a constraint in
the encapsulated data model has changed.
|
public ConstraintEventHandler()
ConstraintEventHandler
that will refire all
constraint events
it receives from the
encapsulated data model.public void constraintChanged(ConstraintEvent event)
ConstraintInsertedEvent
or a ConstraintRemovedEvent
, then
this method fires a copy of the event to this data model's
registered listeners. Because
ConstraintPropertyEvent
s generally do not contain a reference to
the originating data model, this method simply refires them to this data
model's registered listeners.constraintChanged
in interface ConstraintListener
event
- The constraint event.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.