Package de.intarsys.tools.event
Class RequestEvent
- java.lang.Object
-
- java.util.EventObject
-
- de.intarsys.tools.event.Event
-
- de.intarsys.tools.event.RequestEvent
-
- All Implemented Interfaces:
IEvent
,IRequestEvent
,IFacadeSupport
,java.io.Serializable
public class RequestEvent extends Event implements IRequestEvent, IFacadeSupport
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static EventType
TYPE
-
Fields inherited from interface de.intarsys.tools.event.IRequestEvent
ARG_EVENT, ARG_JEVENT, DEPR_ARG_JEVENT
-
-
Constructor Summary
Constructors Constructor Description RequestEvent(java.lang.Object source)
RequestEvent(java.lang.Object source, EventType type, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFacade
createFacade()
The associatedIFacade
.java.lang.Object
getArgs()
EventType
getEventType()
A type for this event.java.lang.String
getName()
A name for this event.java.lang.Object
getTarget()
java.lang.Object
getValue()
void
setArgs(java.lang.Object args)
void
setRc(boolean value)
void
setTarget(java.lang.Object target)
void
setValue(java.lang.Object value)
-
Methods inherited from class de.intarsys.tools.event.Event
consume, getRc, isConsumed, isVetoed, setVeto, veto
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.intarsys.tools.event.IEvent
consume, getSource, isConsumed, isVetoed, veto
-
Methods inherited from interface de.intarsys.tools.event.IRequestEvent
getRc
-
-
-
-
Field Detail
-
TYPE
public static final EventType TYPE
-
-
Constructor Detail
-
RequestEvent
public RequestEvent(java.lang.Object source)
-
RequestEvent
public RequestEvent(java.lang.Object source, EventType type, java.lang.String name)
- Parameters:
source
-type
- TODOname
- TODO
-
-
Method Detail
-
createFacade
public IFacade createFacade()
Description copied from interface:IFacadeSupport
The associatedIFacade
.- Specified by:
createFacade
in interfaceIFacadeSupport
- Returns:
- The associated
IFacade
.
-
getArgs
public java.lang.Object getArgs()
-
getEventType
public EventType getEventType()
Description copied from interface:IEvent
A type for this event.- Specified by:
getEventType
in interfaceIEvent
- Overrides:
getEventType
in classEvent
- Returns:
- A type for this event.
-
getName
public java.lang.String getName()
Description copied from interface:IEvent
A name for this event.
-
getTarget
public java.lang.Object getTarget()
- Specified by:
getTarget
in interfaceIRequestEvent
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfaceIRequestEvent
-
setArgs
public void setArgs(java.lang.Object args)
-
setRc
public void setRc(boolean value)
- Specified by:
setRc
in interfaceIRequestEvent
- Overrides:
setRc
in classEvent
-
setTarget
public void setTarget(java.lang.Object target)
-
setValue
public void setValue(java.lang.Object value)
- Specified by:
setValue
in interfaceIRequestEvent
-
-