In [ ]:
import com.twosigma.beakerx.widget.IntText
it = new IntText(value : 55)
it
In [ ]:
it.value
In [ ]:
it.value = 12345
In [ ]:
it.description = 'intText'
In [ ]:
it.disabled = true
In [ ]:
import com.twosigma.beakerx.widget.FloatText
ft = new FloatText(value : 11.1)
ft
In [ ]:
ft.value
In [ ]:
ft.value = 0.33
In [ ]:
ft.description = "floatText"
In [ ]:
ft.disabled = true
In [ ]:
import com.twosigma.beakerx.widget.BoundedIntText
bit = new BoundedIntText(value : 37, min : 30, max : 100)
bit
In [ ]:
bit.value
In [ ]:
bit.value = 150
In [ ]:
bit.value = 10
In [ ]:
bit.description = 'bit'
In [ ]:
bit.step = 5
bit.value = 37
In [ ]:
bit.disabled = true
In [ ]:
import com.twosigma.beakerx.widget.BoundedFloatText
bft = new BoundedFloatText(value : 3.7, min : 3.5, max : 10.5)
bft
In [ ]:
bft.value
In [ ]:
bft.value = 15
In [ ]:
bft.value = 1
In [ ]:
bft.description = 'bft'
In [ ]:
bft.step = 0.5
bft.value = 4.123
In [ ]:
bft.disabled = true
In [ ]:
import com.twosigma.beakerx.widget.ToggleButton
tb = new ToggleButton(tooltip : "tooltip1", description : "tggl")
tb
In [ ]:
tb.value
In [ ]:
tb.value = true
In [ ]:
tb.icon = 'check'
In [ ]:
tb.button_style = 'success'
In [ ]:
tb.disabled = true
In [ ]:
import com.twosigma.beakerx.widget.Checkbox
chb = new Checkbox(description : "chb1")
chb
In [ ]:
chb.value
In [ ]:
chb.value = true
In [ ]:
chb.disabled = true
In [ ]:
import com.twosigma.beakerx.widget.Valid
vw = new Valid(description : 'year', value : false)
vw
In [ ]:
vw.value
In [ ]:
vw.value = true
In [ ]:
import com.twosigma.beakerx.widget.Dropdown
dr = new Dropdown()
dr.options = ['2017', '2018', '2019']
dr.value = '2018'
dr
In [ ]:
dr.value
In [ ]:
dr.value = '2019'
In [ ]:
dr.description = 'year'
In [ ]:
dr.disabled = true
In [ ]:
import com.twosigma.beakerx.widget.RadioButtons
rb = new RadioButtons()
rb.options = ['March', 'April', 'May']
rb.value = 'April'
rb
In [ ]:
rb.value
In [ ]:
rb.value = 'May'
In [ ]:
rb.description = 'month'
In [ ]:
rb.disabled = true
In [ ]: