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 TypeMethodDescriptionvoid
consume()
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.boolean
getRc()
The object originating the event instance.getType()
getValue()
boolean
getVeto()
boolean
true
if this event is already consumed by some listener.boolean
isVetoed()
true
if this event is already vetoed by some listener.void
setRc
(boolean value) void
void
void
setVeto
(boolean value) void
veto()
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:IEvent
Indicate 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:IEvent
A type for this event.- Returns:
- A type for this event.
-
getName
Description copied from interface:IEvent
A name for this event.- Returns:
- A name for this event.
-
getRc
public boolean getRc() -
getSource
Description copied from interface:IEvent
The object originating the event instance.- Returns:
- The object originating the event instance.
-
getTarget
-
getType
- Specified by:
getType
in classAbstractEventFacade
-
getValue
-
getVeto
public boolean getVeto()- Specified by:
getVeto
in classAbstractEventFacade
-
isConsumed
public boolean isConsumed()Description copied from interface:IEvent
true
if this event is already consumed by some listener.- Returns:
true
if this event is already consumed by some listener.
-
isVetoed
public boolean isVetoed()Description copied from interface:IEvent
true
if this event is already vetoed by some listener.- Returns:
true
if this event is already vetoed by some listener.
-
setRc
public void setRc(boolean value) -
setTarget
-
setValue
-
setVeto
public void setVeto(boolean value) - Specified by:
setVeto
in classAbstractEventFacade
-
veto
public void veto()Description copied from interface:IEvent
Indicate that the behavior associated with this event should not be performed by the source.
-