home *** CD-ROM | disk | FTP | other *** search
- <!--Created with NetObjects Script Component Pad-->
- <?XML VERSION="1.0"?>
- <!DOCTYPE COMPONENT SYSTEM "ecmascriptcomponent.dtd">
-
- <COMPONENT NAME="com.netobjects.TextArea" ENV="CLIENT"
- DISPLAYNAME="TextArea"
- HINT="Creates an HTML TextArea element that can validate its value and respond to events."
- VERSION="1.0"
- SRC="TextArea.js">
-
- <ICON SRC16="TextAreaIcon.gif"/>
- <META NAME="COPYRIGHT" VALUE="Copyright ⌐1998, NetObjects, Inc."/>
-
- <PROPERTY NAME="name" TYPE="STRING"
- DISPLAYNAME="name"
- HINT="(REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page."
- DEFAULTVALUE="TextArea1">
- <GET NAME="getName"/>
- <SET NAME="setName"/>
- </PROPERTY>
-
-
- <PROPERTY NAME="textAreaName" TYPE="STRING"
- DISPLAYNAME="textAreaName"
- HINT="(REQUIRED) Enter unique name of TextArea form tag. Must not match the 'name' property."
- DEFAULTVALUE="TextAreaName1">
- </PROPERTY>
-
- <PROPERTY NAME="formName" TYPE="STRING"
- DISPLAYNAME="formName"
- HINT="(REQUIRED) The name of the form in which the component resides."
- DEFAULTVALUE="Form1">
- </PROPERTY>
-
- <PROPERTY NAME="defaultValue" TYPE="STRING"
- DISPLAYNAME="defaultValue"
- HINT="The initial value that appears in the TextArea field when rendered.">
- </PROPERTY>
-
- <PROPERTY NAME="rows" TYPE="NUMBER"
- DISPLAYNAME="rows"
- HINT="The height of the TextArea field, measured in rows of text."
- DEFAULTVALUE="4">
- </PROPERTY>
-
- <PROPERTY NAME="cols" TYPE="NUMBER"
- DISPLAYNAME="cols"
- HINT="The width of the TextArea field, measured in characters across."
- DEFAULTVALUE="50">
- </PROPERTY>
-
- <PROPERTY NAME="wrap" TYPE="STRING"
- DISPLAYNAME="wrap"
- HINT="The text wrapping mode."
- VALUESET="off|soft|hard"
- DEFAULTVALUE="soft">
- </PROPERTY>
-
- <PROPERTY NAME="validate" TYPE="BOOLEAN"
- DISPLAYNAME="validate"
- HINT="Validate the text input? False indicates that Is Required and Max Characters properties should be ignored."
- DEFAULTVALUE="false">
- </PROPERTY>
-
- <PROPERTY NAME="isRequired" TYPE="BOOLEAN"
- DISPLAYNAME="isRequired"
- HINT="Is this a required field (cannot be blank)?"
- DEFAULTVALUE="false">
- </PROPERTY>
-
- <PROPERTY NAME="maxChars" TYPE="NUMBER"
- DISPLAYNAME="maxChars"
- HINT="Max. number of characters allowed in the field. Value of 0 indicates no limit applies."
- DEFAULTVALUE="0">
- </PROPERTY>
-
- <PROPERTY NAME="state" TYPE="STRING"
- DISPLAYNAME="state"
- HINT="Select the textbox state."
- VALUESET="editable|read-only|hidden"
- DEFAULTVALUE="editable">
- </PROPERTY>
-
- <PROPERTY NAME="testMode" TYPE="STRING"
- DISPLAYNAME="testMode"
- HINT="Select the test mode."
- VALUESET="off|alerts|text"
- DEFAULTVALUE="off">
- </PROPERTY>
-
-
- <METHOD NAME="getValue"
- DISPLAYNAME="Get Value"
- ENV="CLIENT"
- HINT="Gets the current value of the element.">
- </METHOD>
- <METHOD NAME="setValue"
- DISPLAYNAME="Set Value"
- ENV="CLIENT"
- HINT="Sets the current value of the element.">
- </METHOD>
- <METHOD NAME="render"
- DISPLAYNAME="Render"
- ENV="CLIENT"
- HINT="Renders the TextArea in HTML.">
- </METHOD>
- <METHOD NAME="validateValue"
- DISPLAYNAME="Validate Value"
- ENV="CLIENT"
- HINT="Validates the current value of the element.">
- </METHOD>
-
-
- <EVENT NAME="onBlur"
- DISPLAYNAME="onBlur"
- HINT="Event handler fires on blur of TextArea."/>
- <EVENT NAME="onChange"
- DISPLAYNAME="onChange"
- HINT="Event handler fires on change of TextArea contents."/>
- <EVENT NAME="onFocus"
- DISPLAYNAME="onFocus"
- HINT="Event handler fires on focus of TextArea."/>
- <EVENT NAME="onInvalid"
- DISPLAYNAME="onInvalid"
- HINT="Event handler fires after the value of the field is validated and errors are found."/>
- <EVENT NAME="onKeyDown"
- DISPLAYNAME="onKeyDown"
- HINT="Event handler fires after a key is pressed down."/>
- <EVENT NAME="onKeyPress"
- DISPLAYNAME="onKeyPress"
- HINT="Event handler fires after a key is pressed."/>
- <EVENT NAME="onKeyUp"
- DISPLAYNAME="onKeyUp"
- HINT="Event handler fires after a key is pressed and then released."/>
- <EVENT NAME="onRender"
- DISPLAYNAME="onRender"
- HINT="Event handler fires on render of TextArea."/>
- <EVENT NAME="onSelect"
- DISPLAYNAME="onSelect"
- HINT="Event handler fires after a block of text is selected inside the TextArea field."/>
- <EVENT NAME="onValid"
- DISPLAYNAME="onValid"
- HINT="Event handler fires after the value of the field is validated and no errors are found."/>
- <EVENT NAME="onValidate"
- DISPLAYNAME="onValidate"
- HINT="Event handler fires after validating the value of the field regardless of whether or not errors are found."/>
-
- <HELP SRC="TextArea.html"/>
-
-
- </COMPONENT>
-