Slider Control

(UI 0.9.9)

Introduction

A Slider is a control which represents a range, and a current value in the range. The sliding element of the control (sometimes called the "thumb") reflects the value, and can be adjusted within the range.

Class synopsis

class UI\Controls\Slider extends UI\Control {
/* Constructor */
public function __construct(int $min, int $max)
/* Methods */
public function getValue(): int
protected function onChange()
public function setValue(int $value)
/* Inherited methods */
public function UI\Control::destroy()
public function UI\Control::disable()
public function UI\Control::enable()
public function UI\Control::getTopLevel(): int
public function UI\Control::hide()
public function UI\Control::isEnabled(): bool
public function UI\Control::isVisible(): bool
public function UI\Control::setParent(UI\Control $parent)
public function UI\Control::show()
}

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top