SimpleFX library

A library designed to simplify JavaFX development

Лицензия

Лицензия

Группа

Группа

io.github.ossnass
Идентификатор

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

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

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

0.5-11
Дата

Дата

Тип

Тип

jar
Описание

Описание

SimpleFX library
A library designed to simplify JavaFX development
Ссылка на сайт

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

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

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

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

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

https://github.com/OssNass/SimpleFX

Скачать simplefx

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

<!-- https://jarcasting.com/artifacts/io.github.ossnass/simplefx/ -->
<dependency>
    <groupId>io.github.ossnass</groupId>
    <artifactId>simplefx</artifactId>
    <version>0.5-11</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.ossnass/simplefx/
implementation 'io.github.ossnass:simplefx:0.5-11'
// https://jarcasting.com/artifacts/io.github.ossnass/simplefx/
implementation ("io.github.ossnass:simplefx:0.5-11")
'io.github.ossnass:simplefx:jar:0.5-11'
<dependency org="io.github.ossnass" name="simplefx" rev="0.5-11">
  <artifact name="simplefx" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.ossnass', module='simplefx', version='0.5-11')
)
libraryDependencies += "io.github.ossnass" % "simplefx" % "0.5-11"
[io.github.ossnass/simplefx "0.5-11"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
io.github.classgraph : classgraph jar 4.8.90

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

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

SimpleFX

A Library designed to simplify the usage of JavaFX framework

This library is built in way that makes the development easy by defining 3 types of FXML GUIs:

  1. Initialize once at startup: this type is initialized once during the application life cycle, at the startup of the application is kept in the memory until the application exists
  2. Initialize once on demand: similar to the previous type but with a twist, it's initialized when needed and kept in the memory.
  3. Multiple instances: a new instance is initialize upon each request and is discarded once the stage housing it is closed.

The main reason behind that approach is to allow a balance between memory usage and performance, by delaying the non-essential GUIs for when they are needed.

In order to utilize this feature you need to extend the SimpleController class and annotate it with ControllerInfo annotation in which you need to specify a unique string ID and the full absolute path to the FXML in the project resources at least.

This library is built and tested on Java 8, and Java 11+.

For examples you can see examples folder.

PLEASE BE AWARE THAT AS OF VERSION 0.4 JAVA 8 SUPPORT IS DEPRECATED AND WILL RECEIVE NO MORE UPDATES, WILL CONTINUE WITH JAVA 11+ FROM VERSION 0.5 ONWARDS

In order to use it in your project please import using Maven:

<dependency>
    <groupId>io.github.ossnass</groupId>
    <artifactId>simplefx</artifactId>
    <version>0.4</version>
</dependency>

or in Gradle:

compile group: 'io.github.ossnass', name: 'simplefx', version: '0.4'

If you are using Java 11+ please use the following

<dependency>
    <groupId>io.github.ossnass</groupId>
    <artifactId>simplefx</artifactId>
    <version>0.5.1</version>
</dependency>

or in Gradle:

compile group: 'io.github.ossnass', name: 'simplefx', version: '0.5-11'

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

Версия
0.5-11
0.4
0.3-11
0.3
0.2
0.1.0