Skip to content
Projets

À propos

Un framework Java permettant de créer des vues de calendrier sophistiquées dans JavaFX.

Productivité et automatisation

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

CalendarFX

A Java framework for creating sophisticated calendar views based on JavaFX. A detailed developer manual can be found online: CalendarFX Developer Manual

JFXCentral

Apache-2 license Maven Central Build CodeQL

For a quick online demo please checkout JPro and their CalendarFX demo.

Screenshot

Repository Coordinates

CalendarFX can be found on The Central Repository as com.calendarfx:view.

<dependency>
    <groupId>com.calendarfx</groupId>
    <artifactId>view</artifactId>
    <version>12.1.2</version>
</dependency>

Requirements

CalendarFX requires Java 21 or later and JavaFX 23 or later.

Modules

  • CalendarFXView — the main module containing the various calendar views
  • CalendarFXSampler — a demo app based on FXSampler to test controls individually
  • CalendarFXApp — a demo app (day, week, month, year views).
  • CalendarFXAppointmentsApp — a demo app for the appointments view
  • CalendarFXiCal — a demo app for working with iCalendar data
  • CalendarFXGoogle — a demo app for working with Google calendars
  • CalendarFXResourceApp — a demo app for the resource calendar view
  • CalendarFXSchedulerApp — a demo app for the scheduler view
  • CalendarFXWeather — a demo app for the month sheet view

Only CalendarFXView is published. The demo modules are built via the all-modules Maven profile, which is active unless -Drelease=true is passed.

Running

In the module folder of the corresponding app:

mvn javafx:run

Building

To install the package into the local repository, for use as a dependency in other projects locally:

./mvnw install

To run the tests of the library module only:

./mvnw -pl CalendarFXView test

AtlantaFX

To use the AtlantaFX theming support you need to pass a system property to your application like this:

-Datlantafx=true

Or inside your application call:

System.setProperty("atlantafx", "true");

Doing so will make the controls inside CalendarFX to always use the atlantafx.css file instead of the default calendar.css file.

The last step is to set one of the AtlantaFX themes as the default theme for your application. For example:

Application.setUserAgentStylesheet(new NordDark().getUserAgentStylesheet());

Obviously all of this requires that you have the AtlantaFX library on your classpath.

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for the build setup, the coding conventions and the pull request process. All participants are expected to follow our Code of Conduct.

Security

Please report security vulnerabilities privately as described in SECURITY.md — not via the public issue tracker.

Support

Changelog

Notable changes are recorded in CHANGES.txt.

License

CalendarFX is licensed under the Apache License 2.0.

Explorer des projets similaires

Chargement…