CAF Shared JavaScript

Class CAF.Command.Model

Object
   |
   +--CAF.Output.Model
         |
         +--CAF.Link.Model
               |
               +--CAF.Command.Model
Direct Known Subclasses:
CAF.OneWayToggle.Model, CAF.Command.Interval.Model

class CAF.Command.Model
extends CAF.Link.Model


CAF Command client-side model.
Defined in core.js


Field Summary
 Object classes
          
 Object listActionListener
          
   
Fields inherited from class CAF.Link.Model
classes
   
Fields inherited from class CAF.Output.Model
id, form
 
Constructor Summary
CAF.Command.Model ()
           
 
Method Summary
 void addActionCompleteListener(fn)
           Adds action-complete listener.
 void addActionListener(fn)
           Adds action listener.
 void go(params)
           Submits form with this command and specified parameters.
 Object listActionCompleteListeners()
           Lists registered action-complete listener.
 Object listActionListeners()
           Lists registered action listener.
 void removeActionCompleteListener(fn)
           Removes action-complete listener.
 void removeActionListener(fn)
           Removes action listener.
 
Methods inherited from class CAF.Link.Model
setDisabled, isFocused, setFocused, getLabel, setLabel, raise
   
Methods inherited from class CAF.Output.Model
initialize, toString, equals, isDisabled, isVisible, setVisible, hide, _reapplyOriginalStyle, show, toggle, refresh, reAttachBehaviors, refreshWhenVisible, addRefreshCompleteListener, removeRefreshCompleteListener, listRefreshCompleteListeners, addToggleListener, removeToggleListener, listToggleListeners
 

Field Detail

classes

Object classes

listActionListener

Object listActionListener

Constructor Detail

CAF.Command.Model

CAF.Command.Model()

Method Detail

addActionCompleteListener

void addActionCompleteListener(fn)

addActionListener

void addActionListener(fn)

go

void go(params)

listActionCompleteListeners

Object listActionCompleteListeners()

listActionListeners

Object listActionListeners()

removeActionCompleteListener

void removeActionCompleteListener(fn)

removeActionListener

void removeActionListener(fn)

CAF Shared JavaScript

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