|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MoreMotionObject
|
+--ProcessField
|
+--FileBox
FileBox
Represents a FileBox that wraps a FILE INPUT element and moderates the opening of a
File Upload Window to select a file to upload and uploading the selected file to the server.
Defined in Filer.js
| Field Summary | |
String |
browserFileName
The browser name of the uploaded file |
Object |
props
FileBox Properties Object. |
String |
serverFileName
The server name of the uploaded file |
| Fields inherited from class ProcessField |
props, elm, needsValueCloning
|
| Fields inherited from class MoreMotionObject |
node, name, type, props
|
| Constructor Summary | |
FileBox(node)
|
|
| Method Summary | |
void
|
clear()
Clears the value of this Process Field. |
Object
|
getValue()
Returns the value of this field |
void
|
init(setevents)
|
void
|
setValue(value)
Sets the value of this field. |
Boolean
|
validate()
Validates this Process Field with the built-in validation methods that are applicable to the type of the Process Field. |
| Methods inherited from class ProcessField |
getCaption, reset, setModified, isModified, getRecord, appendRequestParams, focusTab, notify, notifyEx, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue
|
| Methods inherited from class MoreMotionObject |
saveProps, setProp, boolProp, numberProp, charProp, getIValue, setIValue, runHandler
|
| Field Detail |
String browserFileName
Object props
| allowedExts | The list of the allowed file extensions (separated with ';' character) that can be selected in the File Dialog where the user selects a file to upload. Example ".jpg;.gif" |
| busyImage | The id or the object handle of an Image element to be displayed while the selected file ie being uploaded. If '*' is given as the value then the default busy image is used |
| onFileSelectHandler | The name of the event handler function that will be called when a file is selected to upload |
| onFileUploadHandler | The name of the event handler function that will be called when the uploading of the selected file is completed |
| uploadId |
String serverFileName
| Constructor Detail |
FileBox(node)
node - the DOM Element node that is wrapped by this field
| Method Detail |
void clear()
Object getValue()
void init(setevents)
void setValue(value)
value - The value to set to the field.
Boolean validate()
|
MoreMotion Face API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||