Spin Control

(UI 0.9.9)

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

class UI\Controls\Spin extends UI\Control {
/* Constructor */
public __construct(int $min, int $max)
/* Methods */
public getValue(): int
protected onChange()
public setValue(int $value)
/* Inherited methods */
public UI\Control::isEnabled(): bool
public UI\Control::isVisible(): bool
}

Table of Contents