本文整理了Java中javafx.scene.control.ListView.setId()
方法的一些代码示例,展示了ListView.setId()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListView.setId()
方法的具体详情如下:
包路径:javafx.scene.control.ListView
类名称:ListView
方法名:setId
暂无
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
/**
* Constructor
*/
public VLAutocomplete() {
proposalListView.setId("item-presenter-listview");
getStyleClass().add("item-presenter-administrator-search-field");
// Listen for Slider value changes
textProperty().addListener((ChangeListener<String>) (observable, oldValue, newValue) -> {
if (newValue != null && newValue.length() >= 1) {
search();
} else {
proposalListView.getItems().clear();
if (proposalListPopup.isShowing()) {
proposalListPopup.hide();
}
}
});
proposalListPopup = new VLAutoCompleteProposalListPopup(this);
registerListener();
}
代码示例来源:origin: org.controlsfx/controlsfx
sourceListView.setId("source-list-view");
sourceListView.setItems(view.getSourceItems());
targetListView.setId("target-list-view");
targetListView.setItems(view.getTargetItems());
内容来源于网络,如有侵权,请联系作者删除!