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

BoundedFloatText(value = 0, min = 0, max = 100, step = 0.1, ...)

Arguments

value

Initial value of the floating point 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.

...

Other arguments.

Details

The function BoundedFloatText creates objects of the R6 Class "BoundedFloatTextClass", which in turn have the S3 class attribute "BoundedFloatText".

Super classes

RKernel::HasTraits -> RKernel::Widget -> RKernel::DOMWidget -> RKernel::DescriptionWidget -> RKernel::ValueWidget -> RKernel::BoundedFloatWidget -> BoundedFloatText

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 Float traitlet, a step size by which the value is incremented or decremented if the arrows are clicked.