|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.util.EventObject
org.jdesktop.swingx.event.BackgroundEvent
public class BackgroundEvent extends EventObject
The Event object for events fired to BackgroundListeners. If data has been published, it can be retrieved via the getData() method.
| Field Summary | |
|---|---|
private Object[] |
data
|
| Constructor Summary | |
BackgroundEvent(BackgroundWorker source)
Creates a new instance of BackgroundEvent |
|
BackgroundEvent(BackgroundWorker source, Object[] data)
Creates a new instance of BackgroundEvent |
|
| Method Summary | |
|---|---|
Object[]
|
getData()
|
BackgroundWorker
|
getWorker()
@return the BackgroundWorker that fired the event |
| Methods inherited from class EventObject | |
|---|---|
| toString, getSource, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private Object[] data
| Constructor Detail |
|---|
public BackgroundEvent(BackgroundWorker source)
public BackgroundEvent(BackgroundWorker source, Object[] data)
| Method Detail |
|---|
public Object[] getData()
process method of the BackgroundListener to retrieve data that
is to be displayed in the GUI.
public BackgroundWorker getWorker()
Groovy Documentation