CAF Shared JavaScript

Class CAF.Command

Object
   |
   +--CAF.Command

class CAF.Command


Command utilities.
Defined in core.js


Nested Class Summary
<static class> CAF.Command.Model
<static class> CAF.Command.Interval
 
Constructor Summary
CAF.Command ()
           
 
Method Summary
<static> void clear(form)
           Clears hidden command field for form.
<static> Object field(form)
           Returns hidden command field node for form.
<static> Object findDefaultCommand(element)
           Finds the default command for specified input element.
<static> void focusFirstForm()
           Focuses the first field in the first form with a defaultFocus setting in the body of the current page.
<static> Object form(element)
           Returns form for this element.
<static> Object formNoDisjoint(element)
           Returns form for this element.
<static> Object getDefaultCommand(form)
           Gets default command for form (command to execute when enter key is pressed).
<static> Object getParameters(element, forms)
           Serializes the current state of the specified forms as post parameters.
<static> void setDefaultCommand(form, cmd)
           Sets default command for form (command to execute when enter key is pressed).
<static> void trapEnterKey(event)
           Onkeypress handler that executes default command when enter key is pressed.

Constructor Detail

CAF.Command

CAF.Command()

Method Detail

clear

<static> void clear(form)

field

<static> Object field(form)

findDefaultCommand

<static> Object findDefaultCommand(element)

focusFirstForm

<static> void focusFirstForm()

form

<static> Object form(element)

formNoDisjoint

<static> Object formNoDisjoint(element)

getDefaultCommand

<static> Object getDefaultCommand(form)

getParameters

<static> Object getParameters(element, forms)

setDefaultCommand

<static> void setDefaultCommand(form, cmd)

trapEnterKey

<static> void trapEnterKey(event)

CAF Shared JavaScript

Documentation generated by JSDoc on Sun Sep 15 20:21:18 2019