javafx.collections.ObservableList.listIterator()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(1.7k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中javafx.collections.ObservableList.listIterator()方法的一些代码示例,展示了ObservableList.listIterator()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ObservableList.listIterator()方法的具体详情如下:
包路径:javafx.collections.ObservableList
类名称:ObservableList
方法名:listIterator

ObservableList.listIterator介绍

暂无

代码示例

代码示例来源:origin: org.reactfx/reactfx

@Override
public ListIterator<E> listIterator(int index) {
  return delegate.listIterator(index);
}

代码示例来源:origin: org.reactfx/reactfx

@Override
public ListIterator<E> listIterator() {
  return delegate.listIterator();
}

代码示例来源:origin: org.codehaus.griffon/griffon-javafx

public ListIterator<E> listIterator() {
  return getDelegate().listIterator();
}

代码示例来源:origin: org.codehaus.griffon/griffon-javafx

public ListIterator<E> listIterator(int index) {
  return getDelegate().listIterator(index);
}

代码示例来源:origin: com.airhacks/afterburner.fx

/**
 * Scene Builder creates for each FXML document a root container. This
 * method omits the root container (e.g. AnchorPane) and gives you the
 * access to its first child.
 *
 * @return the first child of the AnchorPane
 */
public Node getViewWithoutRootContainer() {
  final ObservableList<Node> children = getView().getChildrenUnmodifiable();
  if (children.isEmpty()) {
    return null;
  }
  return children.listIterator().next();
}

代码示例来源:origin: de.roskenet/springboot-javafx-support

/**
 * Scene Builder creates for each FXML document a root container. This
 * method omits the root container (e.g. {@link AnchorPane}) and gives you
 * the access to its first child.
 *
 * @return the first child of the {@link AnchorPane} or null if there are no
 *         children available from this view.
 */
public Node getViewWithoutRootContainer() {
  final ObservableList<Node> children = getView().getChildrenUnmodifiable();
  if (children.isEmpty()) {
    return null;
  }
  return children.listIterator().next();
}

相关文章