Php/docs/class.ui-controls-spin
From Get docs
(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
UI\Controls\Spin extends UI\Control {
public __construct
( int $min
, int $max
)
/* Methods */
public getValue ( ) : int
protected onChange ( )
public setValue
( int $value
)
/* 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 ( )
}
Table of Contents
- UI\Controls\Spin::__construct — Construct a new Spin
- UI\Controls\Spin::getValue — Get Value
- UI\Controls\Spin::onChange — Change Handler
- UI\Controls\Spin::setValue — Set Value
/* Constructor */