An R6 class and a constructor function for the creation of widgets that can be used to manipulate integer numbers

BoundedIntText(value = 0, min = 0, max = 100, step = 1, ...)

Arguments

value

Initial value of the integer number

min

Lower limit of the enclosing interval

max

Upper limit of the enclosing interval

step

Increment by which the number is increased or decreased by the text field controls

...

Arguments passed to the superclass constructor

Details

The function BoundedIntText creates objects of the R6 Class "BoundedIntTextClass", which in turn have the S3 class attribute "BoundedIntText"

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::BoundedIntWidget -> BoundedIntText

Public fields

_model_name

Name of the Javascript model in the frontend.

_view_name

Name of the Javascript view in the frontend.

disabled

A Boolean traitlet, whether the text widget is disabled.

continuous_update

A Boolean traitlet, whether the text widget is continuously updated upon change in the frontend.

step

A Integer traitlet, a step size by which the value is incremented or decremented if the arrows are clicked.