Class ScriptableParameter

  • All Implemented Interfaces:
    org.mozilla.javascript.Scriptable, org.mozilla.javascript.Wrapper

    public class ScriptableParameter
    extends BaseScriptable
    implements org.mozilla.javascript.Wrapper
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String FIELD_DISPLAY_TEXT  
      static java.lang.String FIELD_VALUE  
      • Fields inherited from interface org.mozilla.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptableParameter​(java.util.Map parameters, java.lang.String parameterName, org.mozilla.javascript.Scriptable parent)  
    • Constructor Detail

      • ScriptableParameter

        public ScriptableParameter​(java.util.Map parameters,
                                   java.lang.String parameterName,
                                   org.mozilla.javascript.Scriptable parent)
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String name,
                                    org.mozilla.javascript.Scriptable scope)
        Specified by:
        get in interface org.mozilla.javascript.Scriptable
      • getDefaultValue

        public java.lang.Object getDefaultValue​(java.lang.Class hint)
        Specified by:
        getDefaultValue in interface org.mozilla.javascript.Scriptable
        Overrides:
        getDefaultValue in class BaseScriptable
      • has

        public boolean has​(java.lang.String name,
                           org.mozilla.javascript.Scriptable scope)
        Specified by:
        has in interface org.mozilla.javascript.Scriptable
      • put

        public void put​(java.lang.String name,
                        org.mozilla.javascript.Scriptable scope,
                        java.lang.Object value)
        Specified by:
        put in interface org.mozilla.javascript.Scriptable
      • getClassName

        public java.lang.String getClassName()
        Specified by:
        getClassName in interface org.mozilla.javascript.Scriptable
      • unwrap

        public java.lang.Object unwrap()
        Specified by:
        unwrap in interface org.mozilla.javascript.Wrapper