Guice Integration for JavaFX

Integration of the Google Guice framework for JavaFX applications

Лицензия

Лицензия

Категории

Категории

GUI Взаимодействие с пользователем Guice Библиотеки уровня приложения Dependency Injection
Группа

Группа

com.cathive.fx
Идентификатор

Идентификатор

fx-guice
Последняя версия

Последняя версия

8.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Guice Integration for JavaFX
Integration of the Google Guice framework for JavaFX applications
Ссылка на сайт

Ссылка на сайт

https://github.com/cathive/fx-guice/
Организация-разработчик

Организация-разработчик

The Cat Hive Developers
Система контроля версий

Система контроля версий

https://github.com/cathive/fx-guice/

Скачать fx-guice

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.cathive.fx/fx-guice/ -->
<dependency>
    <groupId>com.cathive.fx</groupId>
    <artifactId>fx-guice</artifactId>
    <version>8.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.cathive.fx/fx-guice/
implementation 'com.cathive.fx:fx-guice:8.0.0'
// https://jarcasting.com/artifacts/com.cathive.fx/fx-guice/
implementation ("com.cathive.fx:fx-guice:8.0.0")
'com.cathive.fx:fx-guice:jar:8.0.0'
<dependency org="com.cathive.fx" name="fx-guice" rev="8.0.0">
  <artifact name="fx-guice" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.cathive.fx', module='fx-guice', version='8.0.0')
)
libraryDependencies += "com.cathive.fx" % "fx-guice" % "8.0.0"
[com.cathive.fx/fx-guice "8.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.google.inject : guice jar 3.0

test (2)

Идентификатор библиотеки Тип Версия
org.mockito : mockito-core jar 1.10.8
org.testng : testng jar 6.8.8

Модули Проекта

Данный проект не имеет модулей.

fx-guice

Build Status

This library provides some useful classes that help you integrate Google Guice into your JavaFX based applications.

The idea for that class was born after I read an article on fxexperience.com (http://fxexperience.com/2011/10/fxml-guice/). Therefore,... credits go to 'Richard Bair' for the initial idea.

A compiled and ready-to-use version of this library can be found in the Sonatype OSS Maven Repository (oss.sonatype.org). To use the library in your Maven based projects just add the following lines to your 'pom.xml':

<dependency>
  <groupId>com.cathive.fx</groupId>
  <artifactId>fx-guice</artifactId>
  <version>${fx-guice.version}</version>
</dependency>

In your project all you need to do is create an application class that extends com.cathive.fx.guice.GuiceApplication instead of the javafx.application.Application class that ships with JavaFX.

Next step: instead of using javafx.fxml.FXMLLoader to load FXML files you use com.cathive.fx.guice.GuiceFXMLLoader... that's basically it!

com.cathive.fx

The Cat Hive Developers

Версии библиотеки

Версия
8.0.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.1.0
1.0.0