home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Java / ScriptBuilder / NOSB30_TRIAL.exe / data1.cab / Program_Files / CompLib / objectsComponent.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  1.7 KB  |  42 lines

  1. <!--Created with NetObjects Script Component Pad-->
  2. <!-- file objectsComponent.ecc
  3.         ScriptComponent Interface file for objects.js    -->
  4.  
  5.  
  6. <?XML?>
  7. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  8.  
  9. <COMPONENT NAME="com.netobjects.objectsComponent" ENV="client"
  10.                DISPLAYNAME="Objects"
  11.                HINT="Displays information about objects on the page."
  12.                SRC="objects.js">
  13.     
  14.     <META NAME="Copyright" VALUE="Copyright 1998, Netobjects, Inc."/>
  15.  
  16.    <PROPERTY NAME="name"
  17.                  DISPLAYNAME="name"
  18.                  HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
  19.                  DEFAULTVALUE="objects1">
  20.                  </PROPERTY>
  21.     
  22.     <METHOD NAME="isPropInObj"
  23.                DISPLAYNAME="Is Property in Object?"
  24.                HINT="This function loops through all of the properties in any JavaScript/JScript object and searches for a given property in the object. The function can be configured so that partial matches on a property name can be conducted.">
  25.       <PARAMETER NAME="str" TYPE="STRING"/>
  26.       <PARAMETER NAME="obj" TYPE="UNKNOWN"/>
  27.       <PARAMETER NAME="partialMatch" TYPE="BOOLEAN"/>
  28.                </METHOD>
  29.  
  30.     <METHOD NAME="viewObject"
  31.                DISPLAYNAME="View Object Properties"
  32.                HINT="This function loops through any JavaScript/JScript object and and returns HTML that will display all properties of the object between two HTML horizontal rules. ">
  33.       <PARAMETER NAME="obj" TYPE="UNKNOWN"/>
  34.       <PARAMETER NAME="objName" TYPE="STRING"/>
  35.                </METHOD>
  36.     
  37.     <ICON SRC16="objects.gif"/>
  38.  
  39.     <HELP SRC="Objects.html"/>
  40.     
  41. </COMPONENT>
  42.