Xoetrope

 Wiki : SaveRestore

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
XUI 4.0

Saving and Restore State


With XUI 4.0 it is possible to save and restore the UI state - values like the application window's size and location, table field sizes and so on.

To enable the save/restore process add a startup.properties entry

tempDir=myProjectDir

where myProjectDir is the name of a folder to be created under the current user's profile in a file states.xml.

Any component the implements the XPersistenceState interface can save and restore data via the interface's methods.

There are no comments on this page. [Add comment]

Page was generated in 0.0733 seconds