Spin Control

Introduction

A Spin box is a text box with an up-down control which changes the integer value in the box, within a defined range

Class synopsis

UI\Controls\Spin
class UI\Controls\Spin extends UI\Control {
/* Constructor */
public __construct(int $min, int $max)
/* Methods */
public int getValue()
protected onChange()
public setValue(int $value)
/* 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()
}
Table of Contents