Skip to content

UrsKR/fxcalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fork of http://code.google.com/p/javafx-calendar/.

As the original, it is licensed under the Apache License v2.0.

Initial work was sponsored by IDOS AE GmbH.
When setting out, my goal was to make the code more flexible. I wanted to use it with a German locale, to influence the layout and to use it with [JodaTime] (http://joda-time.sourceforge.net/).

To Build

  • You need JavaFX 2.1 and JDK 7
  • Define a property ${path-to-javafx} in your Maven settings.xml, pointing to the rt/lib folder of your local JavaFX installation.
  • Define a property ${jdk} in you Maven settings.xml, pointing to your JDK installation folder.

To See

  • Run FXCalendarDemo

Main view Quick navigation

To Use

  • For a one stop solution, instantiate a FXCalendar and add it to your pane.
  • For a clickable calendar image, use the DatePopupButton and add its component to your pane.
  • If you just want the calendar popup, create your own button, and make it trigger a DatePickerPopup

Example

    CalendarProperties properties = new CalendarProperties();
    DateSelection selection = ...; //This is where the selected date ends up
    DatePickerPopup popup = new DatePickerPopup(representation, properties, selection);
    DatePopupButton popUpButton = new DatePopupButton(popup);

About

A calendar component for Java FX 2.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages