public class EquipmentModelEvent extends GraphModelEvent
IlpEquipmentModel
object.GraphModelEvent
,
EquipmentModelListener
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
EquipmentModelEvent.Type
Event types
|
source
Constructor and Description |
---|
EquipmentModelEvent(IlpEquipmentModel source,
EquipmentModelEvent.Type type,
Collection objects)
Creates an event.
|
EquipmentModelEvent(IlpEquipmentModel source,
EquipmentModelEvent.Type type,
IlpRepresentationObject object)
Creates an event.
|
EquipmentModelEvent(IlpEquipmentModel source,
EquipmentModelEvent.Type type,
IlpRepresentationObject link,
boolean origin,
IlpRepresentationObject oldEnd,
IlpRepresentationObject newEnd)
Creates a link-related event.
|
EquipmentModelEvent(IlpEquipmentModel source,
EquipmentModelEvent.Type type,
IlpRepresentationObject object,
int[] indices,
IlpRepresentationObject[] children)
Creates a container-related event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPartOfSeries()
Deprecated.
No replacements.
|
String |
toString()
Returns a
String representation of this event. |
getChildren, getIndices, getNewEnd, getObject, getObjects, getOldEnd, getOrigin
getType
getSource
public EquipmentModelEvent(IlpEquipmentModel source, EquipmentModelEvent.Type type, IlpRepresentationObject object)
source
- The model.type
- One of ROOT_OBJECT_ADDED
,
ROOT_OBJECT_REMOVED
.object
- The object that has been added or removed.public EquipmentModelEvent(IlpEquipmentModel source, EquipmentModelEvent.Type type, Collection objects)
source
- The model.type
- One of ROOT_OBJECTS_ADDED
,
ROOT_OBJECTS_REMOVED
.objects
- The objects that have been added or removed, a collection
of IlpRepresentationObject
s.public EquipmentModelEvent(IlpEquipmentModel source, EquipmentModelEvent.Type type, IlpRepresentationObject object, int[] indices, IlpRepresentationObject[] children)
source
- The model.type
- One of CHILDREN_ADDED
,
CHILDREN_REMOVED
.object
- The root.indices
- The indices of the children (where the indices are taken
after addition but before removal), in ascending order.children
- The children are in the same order as described in the indices.public EquipmentModelEvent(IlpEquipmentModel source, EquipmentModelEvent.Type type, IlpRepresentationObject link, boolean origin, IlpRepresentationObject oldEnd, IlpRepresentationObject newEnd)
source
- The model.type
- LINK_END_CHANGED
.link
- The link.origin
- If this parameter is true
, the from
end is changed, otherwise the to
end is changed.oldEnd
- The previous link end object.newEnd
- The new link end object.@Deprecated public boolean isPartOfSeries()
true
if this event is part of a series of model events.GraphModelListener.eventSeriesBegin()
,
GraphModelListener.eventSeriesEnd()
public String toString()
String
representation of this event.toString
in class EventObject
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.