本文整理了Java中com.vaadin.v7.ui.Table.isSelectable()
方法的一些代码示例,展示了Table.isSelectable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.isSelectable()
方法的具体详情如下:
包路径:com.vaadin.v7.ui.Table
类名称:Table
方法名:isSelectable
[英]Returns whether table is selectable.
The table is not selectable until it's explicitly set as selectable or at least one ValueChangeListener is added.
[中]返回表格是否可选。
在将该表显式设置为可选或至少添加一个ValueChangeListener之前,该表是不可选的。
代码示例来源:origin: com.haulmont.cuba/cuba-web
@Override
public boolean isShowSelection() {
return component.isSelectable();
}
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
private void paintSelectMode(PaintTarget target) throws PaintException {
if (multiSelectMode != MultiSelectMode.DEFAULT) {
target.addAttribute("multiselectmode", multiSelectMode.ordinal());
}
if (isSelectable()) {
target.addAttribute("selectmode",
(isMultiSelect() ? "multi" : "single"));
} else {
target.addAttribute("selectmode", "none");
}
if (!isNullSelectionAllowed()) {
target.addAttribute("nsa", false);
}
// selection support
// The select variable is only enabled if selectable
if (isSelectable()) {
target.addVariable(this, "selected", findSelectedKeys());
}
}
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
if (!isSelectable() && variables.containsKey("selected")) {
isSelectable() && isMultiSelect() && variables.containsKey("selected")
&& multiSelectMode == MultiSelectMode.DEFAULT) {
handleSelectedItems(variables);
内容来源于网络,如有侵权,请联系作者删除!