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 / Button / Button.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  3.0 KB  |  81 lines

  1. <!--Created with NetObjects Script Component Pad-->
  2. <?XML VERSION="1.0"?>
  3. <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
  4.  
  5. <COMPONENT NAME="com.netobjects.Button" ENV="client"
  6.                DISPLAYNAME="Button"
  7.                HINT="Creates an HTML form button."
  8.                VERSION="1.0"
  9.                SRC="Button.js">
  10.  
  11.    <ICON SRC16="ButtonIcon.gif"/>
  12.    <META NAME="COPYRIGHT" VALUE="Copyright ⌐1998, NetObjects, Inc."/>
  13.    
  14.    <PROPERTY NAME="name" TYPE="STRING"
  15.                  DISPLAYNAME="name"
  16.                  HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
  17.                  DEFAULTVALUE="Button1">
  18.                  <GET NAME="getName"/>
  19.                  <SET NAME="setName"/>
  20.                  </PROPERTY>
  21.  
  22.    <PROPERTY NAME="buttonName" TYPE="STRING"
  23.                  DISPLAYNAME="buttonName"
  24.                  HINT="(REQUIRED) Enter unique name of Button form tag.  Must not match the 'name' property."
  25.                  DEFAULTVALUE="FormButton1">
  26.                  </PROPERTY>
  27.  
  28.    <PROPERTY NAME="type" TYPE="button|submit|reset"
  29.                  DISPLAYNAME="type"
  30.                  HINT="The type of form button to render."
  31.                  VALUESET="button|submit|reset"
  32.                  DEFAULTVALUE="submit">
  33.                  </PROPERTY>
  34.  
  35.    <PROPERTY NAME="label" TYPE="STRING"
  36.                  DISPLAYNAME="label"
  37.                  HINT="The text that will appear on the button.">
  38.                  </PROPERTY>
  39.  
  40.    <PROPERTY NAME="formName" TYPE="STRING"
  41.                  DISPLAYNAME="formName"
  42.                  HINT="The name of the form that contains the button.">
  43.                  </PROPERTY>
  44.  
  45.    <PROPERTY NAME="testMode" TYPE="STRING"
  46.                  DISPLAYNAME="testMode"
  47.                  HINT="Select the test mode."
  48.                  VALUESET="off|alerts|text"
  49.                  DEFAULTVALUE="off">
  50.                  </PROPERTY>
  51.  
  52.  
  53.    <METHOD NAME="render"
  54.                ENV="CLIENT"
  55.                HINT="The method that generates the HTML for the button">
  56.                </METHOD>
  57.  
  58.    <EVENT NAME="onBlur"
  59.               DISPLAYNAME="onBlur"
  60.               HINT="Event handler fires on blur of Button."/>
  61.    <EVENT NAME="onClick"
  62.               DISPLAYNAME="onClick"
  63.               HINT="Event handler fires on click of Button."/>
  64.    <EVENT NAME="onFocus"
  65.               DISPLAYNAME="onFocus"
  66.               HINT="Event handler fires on focus of Button."/>
  67.    <EVENT NAME="onMouseDown"
  68.               DISPLAYNAME="onMouseDown"
  69.               HINT="Event handler fires when the mouse button is depressed over Button."/>
  70.    <EVENT NAME="onMouseUp"
  71.               DISPLAYNAME="onMouseUp"
  72.               HINT="Event handler fires when the mouse button is released."/>
  73.    <EVENT NAME="onRender"
  74.               DISPLAYNAME="onRender"
  75.               HINT="Event handler fires on render of Button."/>
  76.  
  77.     <HELP SRC="Button.html"/>
  78.  
  79.  
  80. </COMPONENT>
  81.