The MindFusion Forums
Scheduling and Gantt Components >> Java Swing >> Version 2.1 beta
https://mindfusion.eu/Forum/YaBB.pl?num=1574095587

Message started by Slavcho on Nov 18th, 2019 at 4:46pm

Title: Version 2.1 beta
Post by Slavcho on Nov 18th, 2019 at 4:46pm
JPlanner version 2.1 contains the following new features and improvements:

JSON Serialization
Schedules can now be serialized in JSON format. This can be used for interoperability with MindFusion JavaScript scheduling library, or for general storage in JSON files or databases. To serialize a Schedule to a JSON string, call its saveToJson method. To deserialize a schedule back from its JSON representation, call the loadFromJson method. Custom item classes can implement JSON serialization for their additional properties by overriding the saveTo(JsonObject) and loadFrom(JsonObject) methods of base Item class. Such classes must be registered for serialization by calling the registerItemClass method and providing a string identifier for the clientClass parameter.

Standard Forms
The library now includes several standard forms for editing object properties. AppointmentForm can be used to create or edit Appointment instances, respectively RecurrenceForm for Recurrence instances, and TaskForm for Task instances. All forms can be localized by passing a LocalizationInfo object to their constructor. The Tutorial3 example now demonstrates appointment and recurrence forms.

If anyone is interested in trying the beta version, please download this archive containing updated JAR and sample files:
https://mindfusion.eu/_beta/JPlanner21.zip

Any comments, questions and general feedback are welcome.

The MindFusion Forums » Powered by YaBB 2.6.11!
YaBB Forum Software © 2000-2024. All Rights Reserved.