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_nameName of the Javascript model in the frontend
_view_nameName of the Javascript model view in the frontend
intervalAn Integer traitlet, the time interval between between two steps.
stepAn Integer traitlet, the step size.
_playingA Boolean traitlet, indicates wether the player widget is running.
playingA Boolean traitlet, indicates wether the player widget is running.
_repeatA Boolean traitlet, indicates wether the the repeat toggle is on.
repeatA Boolean traitlet, indicates wether the the repeat toggle is on.
show_repeatA 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$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()