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 / TextArea / TextArea.scc < prev    next >
Encoding:
Text File  |  1998-10-05  |  6.0 KB  |  152 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.TextArea" ENV="CLIENT"
  6.                DISPLAYNAME="TextArea"
  7.                HINT="Creates an HTML TextArea element that can validate its value and respond to events."
  8.                VERSION="1.0"
  9.                SRC="TextArea.js">
  10.  
  11.    <ICON SRC16="TextAreaIcon.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="TextArea1">
  18.                  <GET NAME="getName"/>
  19.                  <SET NAME="setName"/>
  20.                  </PROPERTY>
  21.  
  22.  
  23.    <PROPERTY NAME="textAreaName" TYPE="STRING"
  24.                  DISPLAYNAME="textAreaName"
  25.                  HINT="(REQUIRED) Enter unique name of TextArea form tag.  Must not match the 'name' property."
  26.                  DEFAULTVALUE="TextAreaName1">
  27.                  </PROPERTY>
  28.  
  29.    <PROPERTY NAME="formName" TYPE="STRING"
  30.                  DISPLAYNAME="formName"
  31.                  HINT="(REQUIRED) The name of the form in which the component resides."
  32.                  DEFAULTVALUE="Form1">
  33.                  </PROPERTY>
  34.  
  35.    <PROPERTY NAME="defaultValue" TYPE="STRING"
  36.                  DISPLAYNAME="defaultValue"
  37.                  HINT="The initial value that appears in the TextArea field when rendered.">
  38.                  </PROPERTY>
  39.  
  40.    <PROPERTY NAME="rows" TYPE="NUMBER"
  41.                  DISPLAYNAME="rows"
  42.                  HINT="The height of the TextArea field, measured in rows of text."
  43.                  DEFAULTVALUE="4">
  44.                  </PROPERTY>
  45.  
  46.    <PROPERTY NAME="cols" TYPE="NUMBER"
  47.                  DISPLAYNAME="cols"
  48.                  HINT="The width of the TextArea field, measured in characters across."
  49.                  DEFAULTVALUE="50">
  50.                  </PROPERTY>
  51.  
  52.    <PROPERTY NAME="wrap" TYPE="STRING"
  53.                  DISPLAYNAME="wrap"
  54.                  HINT="The text wrapping mode."
  55.                  VALUESET="off|soft|hard"
  56.                  DEFAULTVALUE="soft">
  57.                  </PROPERTY>
  58.  
  59.    <PROPERTY NAME="validate" TYPE="BOOLEAN"
  60.                  DISPLAYNAME="validate"
  61.                  HINT="Validate the text input?  False indicates that Is Required and Max Characters properties should be ignored."
  62.                  DEFAULTVALUE="false">
  63.                  </PROPERTY>
  64.  
  65.    <PROPERTY NAME="isRequired" TYPE="BOOLEAN"
  66.                  DISPLAYNAME="isRequired"
  67.                  HINT="Is this a required field (cannot be blank)?"
  68.                  DEFAULTVALUE="false">
  69.                  </PROPERTY>
  70.  
  71.    <PROPERTY NAME="maxChars" TYPE="NUMBER"
  72.                  DISPLAYNAME="maxChars"
  73.                  HINT="Max. number of characters allowed in the field.  Value of 0 indicates no limit applies."
  74.                  DEFAULTVALUE="0">
  75.                  </PROPERTY>
  76.  
  77.    <PROPERTY NAME="state" TYPE="STRING"
  78.                  DISPLAYNAME="state"
  79.                  HINT="Select the textbox state."
  80.                  VALUESET="editable|read-only|hidden"
  81.                  DEFAULTVALUE="editable">
  82.                  </PROPERTY>
  83.  
  84.    <PROPERTY NAME="testMode" TYPE="STRING"
  85.                  DISPLAYNAME="testMode"
  86.                  HINT="Select the test mode."
  87.                  VALUESET="off|alerts|text"
  88.                  DEFAULTVALUE="off">
  89.                  </PROPERTY>
  90.  
  91.  
  92.    <METHOD NAME="getValue"
  93.                DISPLAYNAME="Get Value"
  94.                ENV="CLIENT"
  95.                HINT="Gets the current value of the element.">
  96.                </METHOD>
  97.    <METHOD NAME="setValue"
  98.                DISPLAYNAME="Set Value"
  99.                ENV="CLIENT"
  100.                HINT="Sets the current value of the element.">
  101.                </METHOD>
  102.    <METHOD NAME="render"
  103.                DISPLAYNAME="Render"
  104.                ENV="CLIENT"
  105.                HINT="Renders the TextArea in HTML.">
  106.                </METHOD>
  107.    <METHOD NAME="validateValue"
  108.                DISPLAYNAME="Validate Value"
  109.                ENV="CLIENT"
  110.                HINT="Validates the current value of the element.">
  111.                </METHOD>
  112.  
  113.  
  114.    <EVENT NAME="onBlur"
  115.               DISPLAYNAME="onBlur"
  116.               HINT="Event handler fires on blur of TextArea."/>
  117.    <EVENT NAME="onChange"
  118.               DISPLAYNAME="onChange"
  119.               HINT="Event handler fires on change of TextArea contents."/>
  120.    <EVENT NAME="onFocus"
  121.               DISPLAYNAME="onFocus"
  122.               HINT="Event handler fires on focus of TextArea."/>
  123.    <EVENT NAME="onInvalid"
  124.               DISPLAYNAME="onInvalid"
  125.               HINT="Event handler fires after the value of the field is validated and errors are found."/>
  126.    <EVENT NAME="onKeyDown"
  127.               DISPLAYNAME="onKeyDown"
  128.               HINT="Event handler fires after a key is pressed down."/>
  129.    <EVENT NAME="onKeyPress"
  130.               DISPLAYNAME="onKeyPress"
  131.               HINT="Event handler fires after a key is pressed."/>
  132.    <EVENT NAME="onKeyUp"
  133.               DISPLAYNAME="onKeyUp"
  134.               HINT="Event handler fires after a key is pressed and then released."/>
  135.    <EVENT NAME="onRender"
  136.               DISPLAYNAME="onRender"
  137.               HINT="Event handler fires on render of TextArea."/>
  138.    <EVENT NAME="onSelect"
  139.               DISPLAYNAME="onSelect"
  140.               HINT="Event handler fires after a block of text is selected inside the TextArea field."/>
  141.    <EVENT NAME="onValid"
  142.               DISPLAYNAME="onValid"
  143.               HINT="Event handler fires after the value of the field is validated and no errors are found."/>
  144.    <EVENT NAME="onValidate"
  145.               DISPLAYNAME="onValidate"
  146.               HINT="Event handler fires after validating the value of the field regardless of whether or not errors are found."/>
  147.  
  148.     <HELP SRC="TextArea.html"/>
  149.  
  150.  
  151. </COMPONENT>
  152.