Ardillo\Entry

Description

Ardillo base Entry class.

Properties

Entry::$app

Associated App instance

  • type: App

Methods

Entry::__construct()

Creates a new Entry instance

Entry::isValid()

Returns whether the text entry is valid or not

Returns bool

Entry::getReadOnly()

Returns whether the text entry is read-only or not

Returns bool

Entry::setReadOnly(bool $readonly)

Sets whether the text entry is read-only or not

  • bool $readonly:

Entry::getText()

Returns the current text

Returns string

Entry::setText(string $text)

Sets the text

  • string $text: The text to be set

Entry::onChanged()

Callback to be executed when the text is changed

Control::disable()

Disables the control

Control::enable()

Enables the control

Control::isEnabled()

Returns whether the control is enabled or not

Returns bool

Control::isEnabledToUser()

Returns whether the control is enabled to the user or not

Returns bool

Control::hide()

Hides the control

Control::show()

Shows the control

Control::isTopLevel()

Returns whether the control is a top-level control or not

Returns bool

Control::isVisible()

Returns whether the control is visible or not

Returns bool