Home
Categories
Dictionnary
Download
Project Details
Changes Log
FAQ
License

ScriptManager properties


The ScriptManager has several properties configuring how the scripts can interact with the file system and the platform: The method to set a property value is:

Examples

The current example allow dispose and exit in scripts:
      ScriptManager manager = new DefaultScriptManager();
      
      manager.setProperty(ScriptManagerProperties.ALLOW_DISPOSE, true);
      manager.setProperty(ScriptManagerProperties.ALLOW_EXIT, true);
      manager.addXULScript(<the XUL script file>);
      manager.install(this);
      manager.setActive(true);

See also


Categories: api

Copyright 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence