Examples of Fxml


Examples of gluebooster.basic.xml.Fxml

      String path = "/" + configuration.getConfigurationDirectory() + "/uc/pageStructure.fxml";
      //TODO refactor and move the static part of the path to a central position 
      XmlInContext context = new XmlInContext();
      context.setResourceSystem(new ClasspathResourceSystem());
      context.setResourceId(path);
      layout = new Fxml(context);
    }
   
    return layout;
   
  }
View Full Code Here

Examples of gluebooster.basic.xml.Fxml

 
   @Override
      public void start(Stage primaryStage) {
          try {
          ApplicationConfiguration appConfiguration = new DefaultApplicationConfiguration();
          Fxml layout = appConfiguration.getLayout();
          Parent rootPane = (Parent) FXMLLoader.load(layout.getFxmlUrl());
          AnchorPane anchor;
          TitledPane title = null;
          if (rootPane instanceof AnchorPane){
            anchor = (AnchorPane) rootPane;
          } else if (rootPane instanceof TitledPane){
View Full Code Here

Examples of gluebooster.basic.xml.Fxml

    useCaseFactory.setLocale(locale);

    resourceBundle = ResourceBundle.getBundle(
        translationResourceBundleName, locale);
    navigation = appConfiguration.getNavigationStructure();
    Fxml layout = appConfiguration.getLayout();

    menuHandler = new MultipleMenuHandler<Component>(
        navigation.getNavigation(), resourceBundle, new Object[] {
            "Main Menu", 4, navigation.getMainRoot() },
        new Object[] { "Minor Menu", 1, navigation.getMinorRoot() });
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.