Swing dsl

DSL for creating swing GUIs

Лицензия

Лицензия

MIT
Группа

Группа

com.github.weisj
Идентификатор

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

swing-dsl
Последняя версия

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

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Swing dsl
DSL for creating swing GUIs
Ссылка на сайт

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

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

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

com.github.weisj
Система контроля версий

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

https://github.com/weisJ/swing-dsl

Скачать swing-dsl

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.github.weisj : swing-dsl-core jar 0.1.0

runtime (2)

Идентификатор библиотеки Тип Версия
com.github.weisj : swing-dsl-laf-support jar 0.1.0
com.miglayout : miglayout-swing jar 5.2

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

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

CI Autostyle Sonarlint Maven Central

Swing DSL

A standalone library port of the IntelliJ plugin api UI builder dsl.

See https://plugins.jetbrains.com/docs/intellij/kotlin-ui-dsl.html for more information.

This library doesn't implement the full DSL as available in the IntelliJ API as this library was created to meet my own demands for a DSL, and I did need the additional functionality. If there is interest in some specific features fell free to create an issue for it.

The other main difference to the IntelliJ API is the usage of Text instead of String for displayed text content (although 'String' is still supported). To support content localization without having to rebuild the entire UI or manually update all components one can make use of the InternationalizedText.

Currently, the produced layout is only tested with Darklaf however it should also work with almost all other LaFs. For better layout results LaFs can implement VisualPaddingProvider for their borders.

To provide more flexibility with the kind of components used for the UI one can specify a custom ComponentFactory.

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

Версия
0.1.0