SwingEvent

Methods
2
Fields
None

Methods

MethodReturnsDescription
getSource()Component?The component the event is about, or nil when its source is not a component (a model) or was collected since.
getID()numberThe event id (FocusEvent.FOCUS_GAINED, ActionEvent.ACTION_PERFORMED, ...).

Method details

getSource

getSource: (SwingEvent) -> Component?

The component the event is about, or nil when its source is not a component (a model) or was collected since.

getID

getID: (SwingEvent) -> number

The event id (FocusEvent.FOCUS_GAINED, ActionEvent.ACTION_PERFORMED, ...).