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.Button" ENV="client"
- DISPLAYNAME="Button"
- HINT="Creates an HTML form button."
- VERSION="1.0"
- SRC="Button.js">
-
- <ICON SRC16="ButtonIcon.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="Button1">
- <GET NAME="getName"/>
- <SET NAME="setName"/>
- </PROPERTY>
-
- <PROPERTY NAME="buttonName" TYPE="STRING"
- DISPLAYNAME="buttonName"
- HINT="(REQUIRED) Enter unique name of Button form tag. Must not match the 'name' property."
- DEFAULTVALUE="FormButton1">
- </PROPERTY>
-
- <PROPERTY NAME="type" TYPE="button|submit|reset"
- DISPLAYNAME="type"
- HINT="The type of form button to render."
- VALUESET="button|submit|reset"
- DEFAULTVALUE="submit">
- </PROPERTY>
-
- <PROPERTY NAME="label" TYPE="STRING"
- DISPLAYNAME="label"
- HINT="The text that will appear on the button.">
- </PROPERTY>
-
- <PROPERTY NAME="formName" TYPE="STRING"
- DISPLAYNAME="formName"
- HINT="The name of the form that contains the button.">
- </PROPERTY>
-
- <PROPERTY NAME="testMode" TYPE="STRING"
- DISPLAYNAME="testMode"
- HINT="Select the test mode."
- VALUESET="off|alerts|text"
- DEFAULTVALUE="off">
- </PROPERTY>
-
-
- <METHOD NAME="render"
- ENV="CLIENT"
- HINT="The method that generates the HTML for the button">
- </METHOD>
-
- <EVENT NAME="onBlur"
- DISPLAYNAME="onBlur"
- HINT="Event handler fires on blur of Button."/>
- <EVENT NAME="onClick"
- DISPLAYNAME="onClick"
- HINT="Event handler fires on click of Button."/>
- <EVENT NAME="onFocus"
- DISPLAYNAME="onFocus"
- HINT="Event handler fires on focus of Button."/>
- <EVENT NAME="onMouseDown"
- DISPLAYNAME="onMouseDown"
- HINT="Event handler fires when the mouse button is depressed over Button."/>
- <EVENT NAME="onMouseUp"
- DISPLAYNAME="onMouseUp"
- HINT="Event handler fires when the mouse button is released."/>
- <EVENT NAME="onRender"
- DISPLAYNAME="onRender"
- HINT="Event handler fires on render of Button."/>
-
- <HELP SRC="Button.html"/>
-
-
- </COMPONENT>
-