We have released version 2.1 of MindFusion.Scheduling for Java Swing. It contains the following new features and improvements:
JSON serializationSchedules 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 formsThe 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.
ItemListView controlItemListView is a toolbox-alike control. It displays a list of prototype schedule items, and lets user create new items based on them by drag-and-drop. ItemListView can contain instances of any Item-derived class
Distribution for the latest version can be downloaded here, or from the
clients area on our site:
https://mindfusion.eu/JPlannerTrial.zipAdditional information about the library can be found in the Online Documentation:
http://mindfusion.eu/onlinehelp/jplanner/index.htmEnjoy!