|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.bushe.swing.event.EventServiceAction
org.bushe.swing.event.EventBusAction
public class EventBusAction
When fired, this action publishes events on the EventBus.
for further documentation
,
Serialized FormField Summary |
---|
Fields inherited from class org.bushe.swing.event.EventServiceAction |
---|
EVENT_BUS_EVENT_CLASS_NAME, EVENT_SERVICE_TOPIC_NAME |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
EventBusAction()
|
|
EventBusAction(java.lang.String actionName,
javax.swing.ImageIcon icon)
|
Method Summary | |
---|---|
protected EventService |
getEventService(java.awt.event.ActionEvent event)
Override to return the EventService on which to publish. |
Methods inherited from class org.bushe.swing.event.EventServiceAction |
---|
actionPerformed, getEventServiceEvent, getName, getThrowsExceptionOnNullEventService, getTopicName, getTopicValue, isPublishesOnTopic, setPublishesOnTopic, setThrowsExceptionOnNullEventService, setTopicName |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventBusAction()
public EventBusAction(java.lang.String actionName, javax.swing.ImageIcon icon)
Method Detail |
---|
protected EventService getEventService(java.awt.event.ActionEvent event)
EventServiceAction
getEventService
in class EventServiceAction
event
- the event passed to #execute(ActionEvent)
EventBusAction
,
ContainerEventServiceAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |