MoreMotion Face API

Class FileBox

Object
   |
   +--MoreMotionObject
         |
         +--ProcessField
               |
               +--FileBox

class FileBox
extends ProcessField


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
 boolean isFileBox
          
 Object props
          FileBox Properties Object.
 String serverFileName
          The server name of the uploaded file
   
Fields inherited from class ProcessField
props, isProcessField, elm, needsValueCloning
   
Fields inherited from class MoreMotionObject
node, name, type, isMoreMotionObject, props
 
Constructor Summary
FileBox(node)
           
 
Method Summary
 void base(node)
          
 void clear()
           Clears the value of this Process Field.
 Object getValue()
           Returns the value of this field
 void openFileDialog()
           Opens the file dialog where the user can select a file from the local computer and upload to the server.
 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
setModified, isModified, getRecord, setSubmitPrefix, appendRequestParams, focusTab, notify, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue, runHandler
   
Methods inherited from class MoreMotionObject
saveProps, boolProp, numberProp, charProp, getIValue, setIValue
 

Field Detail

browserFileName

String browserFileName

isFileBox

boolean isFileBox

props

Object props

serverFileName

String serverFileName

Constructor Detail

FileBox

FileBox(node)

Method Detail

base

void base(node)

clear

void clear()

getValue

Object getValue()

openFileDialog

void openFileDialog()

setValue

void setValue(value)

validate

boolean validate()

MoreMotion Face API

Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by JSDoc on Mon Sep 29 14:52:55 2008