Picker Control

Introduction

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

Class synopsis

UI\Controls\Picker
class UI\Controls\Picker extends UI\Control {
/* Constants */
const int UI\Controls\Picker::Date;
const int UI\Controls\Picker::Time;
const int UI\Controls\Picker::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 UI\Control::getParent()
public int UI\Control::getTopLevel()
public UI\Control::hide()
public bool UI\Control::isEnabled()
public bool UI\Control::isVisible()
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