com.mindfusion.diagramming
Class GroupEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.mindfusion.diagramming.GroupEvent
All Implemented Interfaces:
java.io.Serializable

public class GroupEvent
extends java.util.EventObject

Contains the arguments passed to handlers of group-related events, such as GroupDestroyed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GroupEvent(java.lang.Object source, Group group)
          Represents methods that will handle general group-related events.
 
Method Summary
 Group getGroup()
          Gets the group for which the event was raised.
 int getIndex()
          Gets an integer index related to the event.
 
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
 

Constructor Detail

GroupEvent

public GroupEvent(java.lang.Object source,
                  Group group)
Represents methods that will handle general group-related events.

Parameters:
source - The source of the event.
group - The Group for which the event is raised.
Method Detail

getGroup

public Group getGroup()
Gets the group for which the event was raised.

Returns:
An instance of the Group class.

getIndex

public int getIndex()
Gets an integer index related to the event.

Returns:
An integer value.