可以为滚动条中value属性值的改变添加一个监听器,采用的方法是___________.
A. sb.addListener(e->{processStatements});
B. sb.getValue().addListener(e->{processStatements});
C. sb.valueProperty().addListener(e->{processStatements});
D. sb.getItems().addListener(e->{processStatements});
查看答案
下面_________陈述是正确的?
A. RadioButton继承自ButtonBase.
B. RadioButton继承自Button.
C. RadioButton继承自Labeled.
D. RadioButton继承自Control.
E. RadioButton继承自Node.
___________属性在TextField中被使用.
A. text
B. editable
C. alignment
D. prefColumnCount
E. onAction
ComboBox和ListView是用于保存类型T元素的泛型类。组合框和列表视图中的元素保存在一个可观察的列表中。
A. 对
B. 错
可以使用ScrollBar或Slider用于选择一个范围内的值,并给value属性添加一个监听器,用于响应值的改变。
A. 对
B. 错