public class GanttModelPropertyEvent extends IlvPropertyEvent
GanttModelPropertyEvent
is fired by an IlvGanttModel
when a
property of the model has been modified. Interested GanttModelPropertyListener
s
must register with the Gantt
data model to receive these events. Note that this event is only used to notify
listeners of changes to properties of the data model itself. It is not used to notify
of changes to the properties of activities, resources, constraints, or reservations
that are members of the data model.GanttModelPropertyListener
,
Serialized Formsource
Constructor and Description |
---|
GanttModelPropertyEvent(IlvGanttModel ganttModel,
String property,
Object oldValue,
Object newValue)
Constructs a new
GanttModelPropertyEvent that indicates a property
change in the specified data model. |
Modifier and Type | Method and Description |
---|---|
Object |
getNewValue()
Returns the new value of the property, expressed as an Object.
|
Object |
getOldValue()
Returns the old value of the property, expressed as an Object.
|
String |
getPropertyName()
Returns the name of the property that has been modified.
|
isAboutToChangeEvent, isChangedEvent, isVetoed, setNewValue, veto
getSource, toString
public GanttModelPropertyEvent(IlvGanttModel ganttModel, String property, Object oldValue, Object newValue)
GanttModelPropertyEvent
that indicates a property
change in the specified data model.ganttModel
- The data model where the event originated.property
- The name of the property.oldValue
- The property's previous value.newValue
- The property's new value.public String getPropertyName()
public final Object getOldValue()
getOldValue
in class IlvPropertyEvent
public Object getNewValue()
getNewValue
in class IlvPropertyEvent
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.