本文整理了Java中com.vaadin.v7.ui.Table.iterator()
方法的一些代码示例,展示了Table.iterator()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.iterator()
方法的具体详情如下:
包路径:com.vaadin.v7.ui.Table
类名称:Table
方法名:iterator
暂无
代码示例来源:origin: com.vaadin/vaadin-compatibility-server
/**
* @deprecated As of 7.0, use {@link #iterator()} instead.
*/
@Deprecated
public Iterator<Component> getComponentIterator() {
return iterator();
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-widgets
@Override
public Iterator<Component> iterator() {
List<Component> additionalConnectors = null;
CubaTableState tableState = getState(false);
if (tableState.presentations != null) {
additionalConnectors = new LinkedList<>();
additionalConnectors.add((Component) tableState.presentations);
}
if (tableState.contextMenu != null) {
if (additionalConnectors == null) {
additionalConnectors = new LinkedList<>();
}
additionalConnectors.add((Component) tableState.contextMenu);
}
if (tableState.customPopup != null) {
if (additionalConnectors == null) {
additionalConnectors = new LinkedList<>();
}
additionalConnectors.add((Component) tableState.customPopup);
}
if (additionalConnectors == null) {
return super.iterator();
} else if (_visibleComponents() != null) {
return Iterables.concat(_visibleComponents(), additionalConnectors).iterator();
} else {
return additionalConnectors.iterator();
}
}
内容来源于网络,如有侵权,请联系作者删除!