Package javafx.scene.control

Examples of javafx.scene.control.SplitPane


  public void create(BorderPane parent, @Named("rootElement") MApplication application, IEclipseContext context, @FXMLLoader FXMLLoaderFactory factory, ResourcePool pool) {
    this.context = context;
    this.factory = factory;
    this.pool = pool;
   
    SplitPane pane = new SplitPane();
   
    parent.setCenter(pane);
    pane.getItems().add(createTreeView(application));
   
    contentPane = new BorderPane();
    pane.getItems().add(contentPane);
  }
View Full Code Here


      }
    }
   
    @Override
    protected SplitPane createWidget() {
      SplitPane p = new SplitPane();
      return p;
    }
View Full Code Here

      return getWidget();
    }

    @Override
    public void addItem(WLayoutedWidget<MPartSashContainerElement> widget) {
      SplitPane p = getWidget();
      p.getItems().add((Node) widget.getStaticLayoutNode());
      items.add(widget);
      updateDividers();
    }
View Full Code Here

      updateDividers();
    }
   
    @Override
    public void addItems(int index, List<WLayoutedWidget<MPartSashContainerElement>> list) {
      SplitPane p = getWidget();
      List<Node> l = new ArrayList<Node>();
      for( WLayoutedWidget<MPartSashContainerElement> i : list ) {
        l.add((Node) i.getStaticLayoutNode());
      }
      p.getItems().addAll(index, l);
      items.addAll(index, list);
      updateDividers();
    }
View Full Code Here

      updateDividers();
    }
   
    @Override
    public void addItems(List<WLayoutedWidget<MPartSashContainerElement>> list) {
      SplitPane p = getWidget();
      List<Node> l = new ArrayList<Node>();
      for( WLayoutedWidget<MPartSashContainerElement> i : list ) {
        l.add((Node) i.getStaticLayoutNode());
      }
      p.getItems().addAll(l);
      items.addAll(list);
      updateDividers();
    }
View Full Code Here

      }
    }
   
    @Override
    public void removeItem(WLayoutedWidget<MPartSashContainerElement> widget) {
      SplitPane p = getWidget();
      p.getItems().remove(widget.getStaticLayoutNode());
      items.remove(widget);
      updateDividers();
    }
View Full Code Here

      }
    }
   
    @Override
    protected SplitPane createWidget() {
      SplitPane p = new SplitPane();
      return p;
    }
View Full Code Here

      return getWidget();
    }

    @Override
    public void addItem(WLayoutedWidget<MPartSashContainerElement> widget) {
      SplitPane p = getWidget();
      p.getItems().add((Node) widget.getStaticLayoutNode());
      items.add(widget);
      updateDividers();
    }
View Full Code Here

      updateDividers();
    }
   
    @Override
    public void addItems(int index, List<WLayoutedWidget<MPartSashContainerElement>> list) {
      SplitPane p = getWidget();
      List<Node> l = new ArrayList<Node>();
      for( WLayoutedWidget<MPartSashContainerElement> i : list ) {
        l.add((Node) i.getStaticLayoutNode());
      }
      p.getItems().addAll(index, l);
      items.addAll(index, list);
      updateDividers();
    }
View Full Code Here

      updateDividers();
    }
   
    @Override
    public void addItems(List<WLayoutedWidget<MPartSashContainerElement>> list) {
      SplitPane p = getWidget();
      List<Node> l = new ArrayList<Node>();
      for( WLayoutedWidget<MPartSashContainerElement> i : list ) {
        l.add((Node) i.getStaticLayoutNode());
      }
      p.getItems().addAll(l);
      items.addAll(list);
      updateDividers();
    }
View Full Code Here

TOP

Related Classes of javafx.scene.control.SplitPane

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.