|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InteractionListener
| Method Summary | |
|---|---|
void |
actionArgument(ActionArgumentEvent ev)
A check was made as to whether an argument proposed for an action was valid. |
void |
actionInvoked(ActionInvocationEvent ev)
An action was invoked (or an attempt to invoke it was made). |
void |
actionUsable(ActionUsabilityEvent ev)
A check was made to determine if an action was usable. |
void |
actionVisible(ActionVisibilityEvent interactionEvent)
A check was made to determine if an action was visible. |
void |
collectionAccessed(CollectionAccessEvent ev)
A collection was read. |
void |
collectionAddedTo(CollectionAddToEvent ev)
An object was added to the collection (or an attempt to add it was made). |
void |
collectionMethodInvoked(CollectionMethodEvent interactionEvent)
A method of a collection (such as isEmpty() or size()) has been invoked. |
void |
collectionRemovedFrom(CollectionRemoveFromEvent ev)
An object was removed from the collection (or an attempt to remove it was made). |
void |
collectionUsable(CollectionUsabilityEvent ev)
A check was made to determine if a collection was usable. |
void |
collectionVisible(CollectionVisibilityEvent ev)
A check was made to determine if a collection was visible. |
void |
objectPersisted(ObjectValidityEvent ev)
The object was persisted (or an attempt to persist it was made). |
void |
objectTitleRead(ObjectTitleEvent ev)
The title was read. |
void |
propertyAccessed(PropertyAccessEvent ev)
A property was read. |
void |
propertyModified(PropertyModifyEvent ev)
A property was modified (or an attempt to modify it was made) |
void |
propertyUsable(PropertyUsabilityEvent ev)
A check was made to determine if a property was usable. |
void |
propertyVisible(PropertyVisibilityEvent ev)
A check was made to determine if a property was visible. |
| Method Detail |
|---|
void objectTitleRead(ObjectTitleEvent ev)
ev - void objectPersisted(ObjectValidityEvent ev)
ev - void propertyVisible(PropertyVisibilityEvent ev)
ev - void propertyUsable(PropertyUsabilityEvent ev)
ev - void propertyAccessed(PropertyAccessEvent ev)
Unlike most other events, a PropertyAccessEvent will never have been vetoed (that is,
InteractionEvent.isVeto() will always be false).
ev - void propertyModified(PropertyModifyEvent ev)
Use PropertyModifyEvent.getProposed() to determine whether the property was being set or
cleared.
ev - void collectionVisible(CollectionVisibilityEvent ev)
Will be fired prior to collectionUsable(CollectionUsabilityEvent).
ev - void collectionUsable(CollectionUsabilityEvent ev)
Will be fired prior to either collectionAccessed(CollectionAccessEvent) or
collectionAddedTo(CollectionAddToEvent) or
collectionRemovedFrom(CollectionRemoveFromEvent).
ev - void collectionAccessed(CollectionAccessEvent ev)
Unlike most other events, a CollectionAccessEvent will never have been vetoed (that is,
InteractionEvent.isVeto() will always be false).
ev - void collectionAddedTo(CollectionAddToEvent ev)
ev - void collectionRemovedFrom(CollectionRemoveFromEvent ev)
ev - void collectionMethodInvoked(CollectionMethodEvent interactionEvent)
Unlike the other methods in this interface, the source of these events will be an instance of a Collection (such as java.util.List) rather than the domain object. (The domain object is {@link CollectionMethodEvent#getDomainObject() still available, however).
interactionEvent - void actionVisible(ActionVisibilityEvent interactionEvent)
Will be fired prior to actionUsable(ActionUsabilityEvent).
ev - void actionUsable(ActionUsabilityEvent ev)
Will be fired prior to actionArgument(ActionArgumentEvent).
ev - void actionArgument(ActionArgumentEvent ev)
Will be fired prior to actionInvoked(ActionInvocationEvent).
ev - void actionInvoked(ActionInvocationEvent ev)
ev -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||