EventObject
open class EventObject : Serializable
| kotlin.Any | |
| ↳ | java.util.EventObject | 
The root class from which all event state objects shall be derived.
All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon.
Summary
| Public constructors | |
|---|---|
            EventObject(source: Any!)Constructs a prototypical Event.  | 
        |
| Public methods | |
|---|---|
| open Any! | 
            
             The object on which the Event initially occurred.  | 
        
| open String | 
            toString()Returns a String representation of this EventObject.  | 
        
| Properties | |
|---|---|
| Any! | 
            
             The object on which the Event initially occurred.  | 
        
Public constructors
EventObject
EventObject(source: Any!)
Constructs a prototypical Event.
| Parameters | |
|---|---|
source | 
            Any!: the object on which the Event initially occurred | 
| Exceptions | |
|---|---|
java.lang.IllegalArgumentException | 
            if source is null | 
Public methods
getSource
open fun getSource(): Any!
The object on which the Event initially occurred.
| Return | |
|---|---|
Any! | 
            the object on which the Event initially occurred | 
toString
open fun toString(): String
Returns a String representation of this EventObject.
| Return | |
|---|---|
String | 
            a String representation of this EventObject | 
Properties
source
protected var source: Any!
The object on which the Event initially occurred.