|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ListenerFactory | |
---|---|
org.barracudamvc.core.comp | |
org.barracudamvc.core.event | |
org.barracudamvc.core.event.helper | |
org.barracudamvc.examples.ex4 |
Uses of ListenerFactory in org.barracudamvc.core.comp |
---|
Methods in org.barracudamvc.core.comp with parameters of type ListenerFactory | |
---|---|
BInput |
BInput.addEventListener(ListenerFactory lf)
Add an event listener to this component. |
BAction |
BAction.addEventListener(ListenerFactory lf)
Add an event listener to this component. |
BSelect |
BSelect.addEventListener(ListenerFactory lf)
Add an event listener to this component. |
BInput |
BInput.addEventListener(ListenerFactory lf,
boolean idisableBackButton)
Add an event listener to this component. |
BSelect |
BSelect.addEventListener(ListenerFactory lf,
boolean idisableBackButton)
Add an event listener to this component. |
BInput |
BInput.removeEventListener(ListenerFactory lf)
Remove an event listener from this component |
BAction |
BAction.removeEventListener(ListenerFactory lf)
Remove an event listener from this component |
BSelect |
BSelect.removeEventListener(ListenerFactory lf)
Remove an event listener from this component |
Uses of ListenerFactory in org.barracudamvc.core.event |
---|
Classes in org.barracudamvc.core.event that implement ListenerFactory | |
---|---|
class |
DefaultListenerFactory
This class provides the default implementaion for a ListenerFactory Note that a factory is responsible for ensuring threadsafety within the underlying listener, so the factory should either return a new instance of the listener OR keep one static synchronized instance and return that instead. |
Methods in org.barracudamvc.core.event that return ListenerFactory | |
---|---|
ListenerFactory |
EventBroker.getEventListener(Object id)
Get a specific listener based on listener ID |
ListenerFactory |
DefaultEventBroker.getEventListener(Object id)
Get a specific listener based on listener ID |
Methods in org.barracudamvc.core.event with parameters of type ListenerFactory | |
---|---|
void |
EventBroker.addEventListener(ListenerFactory factory)
register a listener id, so that events addressed to a specific listener can be delivered |
void |
DefaultEventBroker.addEventListener(ListenerFactory factory)
register a listener id, so that events addressed to a specific listener can be delivered |
void |
EventBroker.addEventListener(ListenerFactory factory,
Class event)
add an event listener for a particular class of an event. |
void |
DefaultEventBroker.addEventListener(ListenerFactory factory,
Class event)
add an event listener for a particular class of an event. |
void |
EventBroker.purgeEventListener(ListenerFactory factory)
remove all references to an event listener, both for id and for any event classes it has registered an interest in. |
void |
DefaultEventBroker.purgeEventListener(ListenerFactory factory)
remove all references to an event listener, both for id and for any event classes it has registered an interest in. |
void |
EventBroker.removeEventListener(ListenerFactory factory)
remove a listener from general availability |
void |
DefaultEventBroker.removeEventListener(ListenerFactory factory)
remove a listener from general availability |
void |
EventBroker.removeEventListener(ListenerFactory factory,
Class event)
remove an event listener for specific types of events If the class referenced is not an instance of BaseEvent, a InvalidClassException will be thrown. |
void |
DefaultEventBroker.removeEventListener(ListenerFactory factory,
Class event)
remove an event listener for specific types of events If the class referenced is not an instance of BaseEvent, a InvalidClassException will be thrown. |
void |
DefaultEventGateway.specifyLocalEventInterests(ListenerFactory factory)
Rather than overriding the registerLocalEventInterests method, you can just invoke this method instead for each interest you'd like to register. |
void |
ApplicationGateway.specifyLocalEventInterests(ListenerFactory factory)
Rather than overriding the registerLocalEventInterests method, you can just invoke this method instead for each interest you'd like to register. |
void |
EventGateway.specifyLocalEventInterests(ListenerFactory factory)
Rather than overriding the registerLocalEventInterests method, you can just invoke this method instead for each interest you'd like to register. |
void |
DefaultEventGateway.specifyLocalEventInterests(ListenerFactory factory,
Class event)
Rather than overriding the registerLocalEventInterests method, you can just invoke this method instead for each interest you'd like to register. |
void |
ApplicationGateway.specifyLocalEventInterests(ListenerFactory factory,
Class event)
Rather than overriding the registerLocalEventInterests method, you can just invoke this method instead for each interest you'd like to register. |
void |
EventGateway.specifyLocalEventInterests(ListenerFactory factory,
Class event)
Rather than overriding the registerLocalEventInterests method, you can just invoke this method instead for each interest you'd like to register. |
Uses of ListenerFactory in org.barracudamvc.core.event.helper |
---|
Classes in org.barracudamvc.core.event.helper that implement ListenerFactory | |
---|---|
class |
EventConnectorFactory
This class associates a specific event handler class with an event by extending DefaultListenerFactory and making implementation details in the gateways much simpler... |
class |
EventForwardingFactory
This class provides a simple factory that will handle events by simply adding a new event to the queue, in effect acting as an event forwarder. |
class |
EventRedirectFactory
This class provides a simple factory that will handle events by simply throwing a client side redirect, in effect acting as an event forwarder. |
Uses of ListenerFactory in org.barracudamvc.examples.ex4 |
---|
Classes in org.barracudamvc.examples.ex4 that implement ListenerFactory | |
---|---|
class |
SampleControlHandler
A sample control event handler |
class |
SampleViewHandler
A sample view event handler |
Fields in org.barracudamvc.examples.ex4 declared as ListenerFactory | |
---|---|
ListenerFactory |
SampleScreen.testFactory
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |