Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

XUL Groovy scripts



Groovy scripts in XUL files use the Groovy scripting language.

Implementation

Groovy scripts are implemented with the Groovy library.

MIME types

The MIME types supported for Groovy scripts are:
  • "text/groovy"
  • "application/javascript"
  • "application/groovy"
  • "application/x-groovy"

Import declarations

Groovy import declarations are as in java. For example:
      import java.util.List;
      
      public int computeSize(List list) {
        return list.size();
      }

See also


Categories: builtin-applis

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence