org.caleigo.core.event
Class SelectionEvent
java.lang.Object
java.util.EventObject
org.caleigo.core.event.SelectionEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class SelectionEvent
- extends java.util.EventObject
Event for relaying changes in the content of EntityCollection Objects.
- Version:
- 1.00
- Author:
- Dennis Zikovic
- See Also:
- Serialized Form
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 |
CONTENTS_CHANGED
public static final int CONTENTS_CHANGED
- See Also:
- Constant Field Values
ENTITY_ADDED
public static final int ENTITY_ADDED
- See Also:
- Constant Field Values
ENTITY_REMOVED
public static final int ENTITY_REMOVED
- See Also:
- Constant Field Values
SelectionEvent
public SelectionEvent(ISelection source)
- Creates new EntityCollectionEvent with the type CONTENTS_CHANGED.
SelectionEvent
public SelectionEvent(ISelection source,
int eventType,
IEntity entity,
int row)
- Creates new EntityCollectionEvent with the specified type and entity.
toString
public java.lang.String toString()
getSourceSelection
public ISelection getSourceSelection()
getEventType
public int getEventType()
getEntity
public IEntity getEntity()
getRowIndex
public int getRowIndex()
Copyright © 2005 Caleigo. All Rights Reserved.