# Picker Control

(UI 0.9.9)

## Introduction

A Picker represents a button which when clicked presents a native Date/Time/DateTime Picker interface to the user.

## Class synopsis

class UI\Controls\Picker extends UI\Control {
/* Constants */
const int Date;
const int Time;
const int DateTime;
/* Constructor */
public __construct(int `$type` = UI\Controls\Picker::Date)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control::getParent(): UI\Control
public UI\Control::getTopLevel(): int
public UI\Control::hide()
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
public UI\Control::setParent(UI\Control `$parent`)
public UI\Control::show()
}

## Predefined Constants

`UI\Controls\Picker::Date`

  A Date Picker

`UI\Controls\Picker::Time`

  A Time Picker

`UI\Controls\Picker::DateTime`

  A Date and Time Picker

## Table of Contents

- UI\Controls\Picker::__construct — Construct a new Picker

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