i3.dragos.gm.core.event
Class AttributeModificationEvent
java.lang.Object
java.util.EventObject
i3.dragos.core.services.events.DragosEvent
i3.dragos.gm.core.event.DataEvent
i3.dragos.gm.core.event.GraphEntityEvent
i3.dragos.gm.core.event.AttributeModificationEvent
- All Implemented Interfaces:
- java.io.Serializable
public class AttributeModificationEvent
- extends GraphEntityEvent
An AttributeModificationEvent
is triggered when the attribute
of a graph entity is modified.
- Author:
- Boris Boehlen <boehlen@cs.rwth-aachen.de>, Thorsten Hermes <thermes@i3.informatik.rwth-aachen.de>
- See Also:
- Serialized Form
Field Summary |
static int |
ATTRIBUTE_CHANGED
Event type constant: Identifies the change of an attribute value. |
static int |
ATTRIBUTE_INVALIDATED
Event type constant: Identifies the change of an attribute value. |
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ATTRIBUTE_CHANGED
public static final int ATTRIBUTE_CHANGED
- Event type constant: Identifies the change of an attribute value.
- See Also:
- Constant Field Values
ATTRIBUTE_INVALIDATED
public static final int ATTRIBUTE_INVALIDATED
- Event type constant: Identifies the change of an attribute value.
- See Also:
- Constant Field Values
AttributeModificationEvent
public AttributeModificationEvent(GraphEntity entity,
int eventType,
Attribute attribute)
- Constructs a new event.
- Parameters:
entity
- The graph entity.eventType
- The type of event.attribute
- The modified attribute.
getAttribute
public final Attribute getAttribute()
- Returns the attribute that was modified.
- Returns:
- the attribute that was modified.
toString
public java.lang.String toString()
-
- Overrides:
toString
in class GraphEntityEvent
Copyright © 2002-2008 RWTH Aachen, Department of Computer Science 3 (Software Engineering). All Rights Reserved.