An R6 class and a constructor function for the creation of a player widget, which automatically increases its value-
Arguments
- value
Integer, an initial value.
- min
Integer, the minimum value.
- max
Integer, the maximum value.
- interval
Integer, the maximum value of the intrval .
- step
The maximum value for the play control.
- show_repeat
Logical, whether to show a repeat toggle button.
- ...
Further arguments, passed to the superclass constructor.
Super classes
RKernel::HasTraits
-> RKernel::Widget
-> RKernel::DOMWidget
-> RKernel::DescriptionWidget
-> RKernel::ValueWidget
-> RKernel::BoundedIntWidget
-> Play
Public fields
_model_name
Name of the Javascript model in the frontend
_view_name
Name of the Javascript model view in the frontend
interval
An Integer traitlet, the time interval between between two steps.
step
An Integer traitlet, the step size.
_playing
A Boolean traitlet, indicates wether the player widget is running.
playing
A Boolean traitlet, indicates wether the player widget is running.
_repeat
A Boolean traitlet, indicates wether the the repeat toggle is on.
repeat
A Boolean traitlet, indicates wether the the repeat toggle is on.
show_repeat
A Boolean traitlet, determines whether to show a repeat toggle button.
Methods
Inherited methods
RKernel::HasTraits$notify()
RKernel::HasTraits$observe()
RKernel::HasTraits$validate()
RKernel::Widget$_send()
RKernel::Widget$check_version()
RKernel::Widget$close()
RKernel::Widget$display_data()
RKernel::Widget$finalize()
RKernel::Widget$get_state()
RKernel::Widget$handle_buffers()
RKernel::Widget$handle_comm_msg()
RKernel::Widget$handle_comm_opened()
RKernel::Widget$handle_custom_msg()
RKernel::Widget$handle_displayed()
RKernel::Widget$handle_event()
RKernel::Widget$on_displayed()
RKernel::Widget$on_event()
RKernel::Widget$on_msg()
RKernel::Widget$open()
RKernel::Widget$send()
RKernel::Widget$send_state()
RKernel::Widget$set_state()
RKernel::DOMWidget$add_class()
RKernel::DOMWidget$has_class()
RKernel::DOMWidget$remove_class()
RKernel::ValueWidget$on_change()
RKernel::BoundedIntWidget$initialize()
RKernel::BoundedIntWidget$validate_max()
RKernel::BoundedIntWidget$validate_min()
RKernel::BoundedIntWidget$validate_value()