FindAction

class FindAction(val workbench: AvailWorkbench, val frame: JFrame) : AbstractWorkbenchAction

A FindAction presents the Find/Replace window for the supplied JTextPane.

Parameters

workbench

The owning AvailWorkbench.

Constructors

Link copied to clipboard
constructor(workbench: AvailWorkbench, frame: JFrame)

Construct a new FindAction.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open var checkEnabled: () -> Boolean

The lambda that indicates whether or not this should be enabled.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun accept(p0: Any): Boolean
Link copied to clipboard
open override fun actionPerformed(event: ActionEvent)

Open or reopen the find dialog. Connect it to the most recently focused text pane of the workbench.

Link copied to clipboard
Link copied to clipboard
open fun getKeys(): Array<Any>
Link copied to clipboard
open override fun getValue(p0: String): Any
Link copied to clipboard
open override fun isEnabled(): Boolean
Link copied to clipboard
fun name(): String
Link copied to clipboard
open override fun putValue(p0: String, p1: Any)
Link copied to clipboard
Link copied to clipboard
open override fun setEnabled(p0: Boolean)
Link copied to clipboard
open override fun updateIsEnabled(busy: Boolean)

Update isEnabled to reflect whether or not this AbstractWorkbenchAction should be be enabled at the time of calling this function.