Package de.intarsys.tools.event
Class RequestEventFacade
java.lang.Object
de.intarsys.tools.facade.Facade
de.intarsys.tools.event.AbstractEventFacade
de.intarsys.tools.event.RequestEventFacade
- All Implemented Interfaces:
IEvent,IRequestEvent,IFacade
-
Field Summary
Fields inherited from interface de.intarsys.tools.event.IRequestEvent
ARG_EVENT, ARG_JEVENT, DEPR_ARG_JEVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconsume()Indicate that this event does not need to be propagated any further as it is already processed by some listener.getArgs()A type for this event.getName()A name for this event.booleangetRc()The object originating the event instance.getType()getValue()booleangetVeto()booleantrueif this event is already consumed by some listener.booleanisVetoed()trueif this event is already vetoed by some listener.voidsetRc(boolean value) voidvoidvoidsetVeto(boolean value) voidveto()Indicate that the behavior associated with this event should not be performed by the source.Methods inherited from class de.intarsys.tools.facade.Facade
createFacade, getImpl
-
Constructor Details
-
RequestEventFacade
-
-
Method Details
-
consume
public void consume()Description copied from interface:IEventIndicate that this event does not need to be propagated any further as it is already processed by some listener. -
getArgs
-
getEventType
Description copied from interface:IEventA type for this event.- Returns:
- A type for this event.
-
getName
Description copied from interface:IEventA name for this event.- Returns:
- A name for this event.
-
getRc
public boolean getRc() -
getSource
Description copied from interface:IEventThe object originating the event instance.- Returns:
- The object originating the event instance.
-
getTarget
-
getType
- Specified by:
getTypein classAbstractEventFacade
-
getValue
-
getVeto
public boolean getVeto()- Specified by:
getVetoin classAbstractEventFacade
-
isConsumed
public boolean isConsumed()Description copied from interface:IEventtrueif this event is already consumed by some listener.- Returns:
trueif this event is already consumed by some listener.
-
isVetoed
public boolean isVetoed()Description copied from interface:IEventtrueif this event is already vetoed by some listener.- Returns:
trueif this event is already vetoed by some listener.
-
setRc
public void setRc(boolean value) -
setTarget
-
setValue
-
setVeto
public void setVeto(boolean value) - Specified by:
setVetoin classAbstractEventFacade
-
veto
public void veto()Description copied from interface:IEventIndicate that the behavior associated with this event should not be performed by the source.
-