CAF Shared JavaScript

Class CAF.Output.Model

Object
   |
   +--CAF.Output.Model
Direct Known Subclasses:
CAF.OverlayPanel.Model, CAF.Dialog.Modeless.Model, CAF.Newsfeed.Model, CAF.Dialog.Modal.Model, CAF.Popup.Model, CAF.Input.Model, CAF.RefreshInterval.Model, CAF.Message.Model, CAF.ToggleMenus.Model, CAF.Image.Model, CAF.Link.Model

class CAF.Output.Model


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


Field Summary
 Object form
          Form to which this command applies.
 Object id
          Client-side id.
 
Constructor Summary
CAF.Output.Model ()
           
 
Method Summary
 void _reapplyOriginalStyle(originalStyle, element)
          
 void addRefreshCompleteListener(fn)
           Adds refresh-complete listener.
 void addToggleListener(fn, key)
           Adds toggle listener.
 Object equals(o)
           Custom equals method.
 Object getValue()
           Gets this control's string or string array value.
 void hide(callback)
           Hides this control.
 void initialize(element)
           Model constructor.
 Object isDisabled()
           Returns true if this control is disabled.
 Object isFocused()
           Returns true if this control is focused.
 Object isVisible()
           Returns true if this control is visible.
 Object listRefreshCompleteListeners(fn)
           Lists registered refresh-complete listeners.
 Object listToggleListeners(fn)
           Lists registered toggle listeners.
 void reAttachBehaviors()
          
 void refresh(params)
           Refreshes the content of this control from the server.
 void refreshWhenVisible()
           If visible, refreshes the content of this control from the server; if not visible, flags the control to refresh its content when toggled visible.
 void removeRefreshCompleteListener(fn)
           Removes refresh-complete listener.
 void removeToggleListener(fn, key)
           Removes toggle listener.
 Object setDisabled(disabled)
           Sets this control as disabled or enabled.
 Object setFocused(focus)
           Sets this control as focused or not focused.
 void setValue(value)
           Sets this control's string or string array value.
 void setVisible(visible)
           Sets this control as shown or hidden.
 void show(callback)
           Shows this control.
 void toggle()
           Hides this control, if visible, otherwise shows this control.
 Object toString()
           Custom toString method.

Field Detail

form

Object form

id

Object id

Constructor Detail

CAF.Output.Model

CAF.Output.Model()

Method Detail

_reapplyOriginalStyle

void _reapplyOriginalStyle(originalStyle, element)

addRefreshCompleteListener

void addRefreshCompleteListener(fn)

addToggleListener

void addToggleListener(fn, key)

equals

Object equals(o)

getValue

Object getValue()

hide

void hide(callback)

initialize

void initialize(element)

isDisabled

Object isDisabled()

isFocused

Object isFocused()

isVisible

Object isVisible()

listRefreshCompleteListeners

Object listRefreshCompleteListeners(fn)

listToggleListeners

Object listToggleListeners(fn)

reAttachBehaviors

void reAttachBehaviors()

refresh

void refresh(params)

refreshWhenVisible

void refreshWhenVisible()

removeRefreshCompleteListener

void removeRefreshCompleteListener(fn)

removeToggleListener

void removeToggleListener(fn, key)

setDisabled

Object setDisabled(disabled)

setFocused

Object setFocused(focus)

setValue

void setValue(value)

setVisible

void setVisible(visible)

show

void show(callback)

toggle

void toggle()

toString

Object toString()

CAF Shared JavaScript

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