| Package | Description |
|---|---|
| org.fujion.annotation | |
| org.fujion.component | |
| org.fujion.event |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Event> |
EventTypeScanner.getEventClass(String eventType)
Returns an implementation class given an event type.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
EventParameterScanner.wire(Event instance,
ClientRequest request) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EventTypeScanner.doScanClass(Class<Event> eventClass)
Creates mapping between event type and its implementation class.
|
String |
EventTypeScanner.getEventType(Class<? extends Event> eventClass)
Given an event class, returns the event type implemented by that class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseComponent.fireEvent(Event event)
Send an event to this component's registered event listeners.
|
void |
BaseComponent.notifyAncestors(Event event,
boolean includeThis)
Send an event to all the ancestors of this component.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseComponent.addEventForward(Class<? extends Event> eventClass,
BaseComponent target,
String forwardType) |
void |
BaseComponent.addEventListener(Class<? extends Event> eventClass,
IEventListener eventListener) |
void |
BaseComponent.addEventListener(Class<? extends Event> eventClass,
IEventListener eventListener,
boolean syncToClient) |
boolean |
BaseComponent.hasEventListener(Class<? extends Event> eventClass) |
void |
BaseComponent.removeEventForward(Class<? extends Event> eventClass,
BaseComponent target,
String forwardType) |
void |
BaseComponent.removeEventListener(Class<? extends Event> eventClass,
IEventListener eventListener) |
void |
BaseComponent.removeEventListener(Class<? extends Event> eventClass,
IEventListener eventListener,
boolean syncToClient) |
| Modifier and Type | Class and Description |
|---|---|
class |
ChangeEvent |
class |
ClickEvent |
class |
CloseEvent |
class |
DblclickEvent |
class |
DropEvent |
class |
ForwardedEvent
Wrapper for a forwarded event.
|
class |
InputEvent |
class |
KeycaptureEvent |
class |
KeydownEvent |
class |
KeyEvent |
class |
KeypressEvent |
class |
KeyupEvent |
class |
LoadEvent |
class |
MouseEvent |
class |
OpenEvent |
class |
ResizeEvent |
class |
StatechangeEvent |
class |
TimerEvent |
class |
UploadEvent |
| Modifier and Type | Method and Description |
|---|---|
Event |
ForwardedEvent.getOriginalEvent() |
static Event |
EventUtil.post(Page page,
String eventName,
BaseComponent target,
Object data)
Creates and posts an event for later delivery.
|
static Event |
EventUtil.post(String eventName,
BaseComponent target,
Object data)
Creates and posts an event for later delivery.
|
static Event |
EventUtil.send(String eventName,
BaseComponent target,
Object data)
Creates and sends an event to the specified target.
|
static Event |
EventUtil.toEvent(ClientRequest request)
Extracts an event from the client request.
|
static Event |
EventUtil.toEvent(String eventType)
Creates an event from the specified event type.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Event> |
EventUtil.getEventClass(String eventType)
Returns the implementation class for the specified event type.
|
| Modifier and Type | Method and Description |
|---|---|
static Method |
EventUtil.getHandler(String handlerName,
Object instance,
Event event)
Returns a suitable handler method for an event.
|
void |
EventListeners.invoke(Event event)
Invoke all listeners for this type of event.
|
static boolean |
EventUtil.invokeHandler(String handlerName,
Object instance,
Event event)
Invokes an event handler.
|
void |
IEventListener.onEvent(Event event) |
void |
ForwardListener.onEvent(Event event) |
static void |
EventUtil.post(Event event)
Queues an event for later processing.
|
static void |
EventUtil.post(Page page,
Event event)
Queues an event for later processing.
|
void |
EventQueue.queue(Event event) |
static void |
EventUtil.send(Event event)
Sends an event to its designated target.
|
static void |
EventUtil.send(Event event,
BaseComponent target)
Sends an event to the specified target.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
EventUtil.getEventType(Class<? extends Event> eventClass)
Returns the event type given the implementation class.
|
| Constructor and Description |
|---|
Event(Event source) |
Event(String type,
Event source) |
ForwardedEvent(String forwardType,
Event originalEvent) |
Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.