# Control

(UI 0.9.9)

## Introduction

This is the closed base class for all UI Controls.

## Class synopsis

final class UI\Control {
/* Methods */
public destroy()
public disable()
public enable()
public getParent(): UI\Control
public getTopLevel(): int
public hide()
public isEnabled(): bool
public isVisible(): bool
public setParent(UI\Control `$parent`)
public show()
}

## Table of Contents

- UI\Control::destroy — Destroy Control
- UI\Control::disable — Disable Control
- UI\Control::enable — Enable Control
- UI\Control::getParent — Get Parent Control
- UI\Control::getTopLevel — Get Top Level
- UI\Control::hide — Hide Control
- UI\Control::isEnabled — Determine if Control is enabled
- UI\Control::isVisible — Determine if Control is visible
- UI\Control::setParent — Set Parent Control
- UI\Control::show — Control Show

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open