Class MemoField
Object
|
+--Field
|
+--ComponentField
|
+--MemoField
- class
MemoField
- extends ComponentField
MemoField
Defined in form/memofield.js
|
Constructor Summary |
MemoField
(<Object> id, <Number> maxlength)
The MemoField form component is used in form components
built using the "memofield" tag in the XML specification
|
|
Method Summary |
void
|
clear()
Clears the textarea value
|
Boolean
|
isEmpty()
Checks whether the textarea value is an empty string
|
void
|
keyHandler(<Event> e)
Handles onKeyUp and onKeyDown events in the textarea,
updating the aux control field with the number of chars left
|
void
|
setup()
Initializes the component's properties and event handlers
|
count
Object count
Control field used to display characters left
maxlength
Number maxlength
MemoField
MemoField(<Object> id, <Number> maxlength)
The MemoField form component is used in form components
built using the "memofield" tag in the XML specification
clear
void clear()
Clears the textarea value
isEmpty
Boolean isEmpty()
Checks whether the textarea value is an empty string
keyHandler
void keyHandler(<Event> e)
Handles onKeyUp and onKeyDown events in the textarea,
updating the aux control field with the number of chars left
setup
void setup()
Initializes the component's properties and event handlers
Copyright © 2002-2006 by Marcos Pont
Documentation generated by
JSDoc on Sun Oct 7 19:52:10 2007