Skip to content
项目

关于

Domino-ui

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

logoimage

Development Build Status Maven Central Sonatype Nexus (Snapshots) GWT3/J2CL compatible

Domino-UI

Domino-UI is a type-safe, fluent Java UI component library that compiles to JavaScript GWT. It lets Java teams build modern UIs without external JavaScript dependencies, while keeping IDE refactoring, static typing, and a consistent API across components.

Requirements

Building Domino UI requires JDK 17 or newer.

Why Domino-UI

  • Fluent, structured composition that mirrors HTML hierarchies.
  • Rich component set (datatable, forms, layouts, menus, dialogs, etc.).
  • Strong typing and refactoring safety for large Java codebases.
  • Works with GWT/Java without runtime JavaScript dependencies.
  • Configurable themes, CSS utilities, and MDI icon integration.

Quick glance:

Domino-UI code should read like the HTML structure while staying debuggable. The preferred style initializes complex children first, then composes the tree fluently.

TextBox userName = TextBox.create("User name")
    .setRequired(true)
    .setAutoValidation(true);

TextBox password = TextBox.password("Password")
    .setRequired(true)
    .setAutoValidation(true);

Button login = Button.create(Icons.lock_open())
    .setBackground(Color.THEME)
    .setContent("Login")
    .block();

Card.create("LOGIN")
    .appendChild(userName)
    .appendChild(password)
    .appendChild(login);

Styling and theming

Domino UI provides scoped, composable CSS: color modes, visual identities, accents, density, character and surface themes, contextual colors, component emphasis, custom tokens, and runtime Dynamic CSS utilities. The complete styling and theming guide explains the design choices, stylesheet delivery options, Java APIs, accessibility guidance, customization recipes, and production optimization choices.

Links

License

Apache License 2.0

探索相关项目

加载中…