public static class EntityList.EntityEvent extends EntityList.EntityListEvent
ActionEvent.Type
Constructor and Description |
---|
EntityEvent(EntityList source,
Entity entity,
int index) |
Modifier and Type | Method and Description |
---|---|
Entity |
getEntity() |
int |
getIndex() |
EntityList.TransactionEvent |
getTransaction()
Gets the transaction that this event is part of, or null if it is
not part of a transaction.
|
void |
setTransaction(EntityList.TransactionEvent transaction)
Sets the transaction that this event is part of.
|
as, as, getApplicationController, getAppSectionController, getAsyncResource, getAsyncResource, getFormController, getViewController, setAsyncResource
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDrag
public EntityEvent(EntityList source, Entity entity, int index)
public Entity getEntity()
public int getIndex()
public void setTransaction(EntityList.TransactionEvent transaction)
Sets the transaction that this event is part of. Generally don’t call this method directly. Use
EntityList.TransactionEvent.addEvent(com.codename1.rad.models.EntityList.EntityEvent)
instead.
transaction
- public EntityList.TransactionEvent getTransaction()
Gets the transaction that this event is part of, or null if it is not part of a transaction.
getTransaction
in class EntityList.EntityListEvent
Copyright © 2021. All Rights Reserved.