SimpleAbstractAction

private class SimpleAbstractAction(val myActionPerformed: (ActionEvent?) -> Unit) : AbstractAction(source)

An AbstractAction that uses myActionPerformed as the implementation of its actionPerformed method.

Parameters

myActionPerformed

the code to execute in actionPerformed

Constructors

Link copied to clipboard
constructor(myActionPerformed: (ActionEvent?) -> Unit)

Properties

Link copied to clipboard
private val myActionPerformed: (ActionEvent?) -> Unit

Functions

Link copied to clipboard
open override fun actionPerformed(event: ActionEvent?)