Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 2.1 beta (Read 687 times)
God Member

Posts: 2164
Joined: Oct 19th, 2005
Version 2.1 beta
Nov 18th, 2019 at 4:46pm
Print Post  
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:

Any comments, questions and general feedback are welcome.
« Last Edit: Feb 11th, 2020 at 10:10am by Slavcho »  
Back to top
IP Logged
Page Index Toggle Pages: 1
Send TopicPrint