com.mindfusion.diagramming
Class ShapeEvent
java.lang.Object
java.util.EventObject
com.mindfusion.diagramming.ShapeEvent
- All Implemented Interfaces:
- java.io.Serializable
public class ShapeEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
ShapeEvent(java.lang.Object source,
Shape shape)
Initializes a new instance of the ShapeEvent class. |
ShapeEvent(java.lang.Object source,
Shape shape,
int index)
|
ShapeEvent(java.lang.Object source,
Shape shape,
int index,
java.lang.String oldName)
Initializes a new ShapeEvent instance. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ShapeEvent
public ShapeEvent(java.lang.Object source,
Shape shape,
int index,
java.lang.String oldName)
- Initializes a new ShapeEvent instance.
- Parameters:
source
- The source of the event.shape
- The Shape
related to the event.index
- The zero-based index of the shape within its containing collection.oldName
- The old identifier of the shape.
ShapeEvent
public ShapeEvent(java.lang.Object source,
Shape shape,
int index)
ShapeEvent
public ShapeEvent(java.lang.Object source,
Shape shape)
- Initializes a new instance of the ShapeEvent class.
- Parameters:
shape
- The Shape
related to the event.
getIndex
public int getIndex()
getOldName
public java.lang.String getOldName()
getShape
public Shape getShape()