File: ../../Developer.FoundationDotJS.org/wwwroot/Foundation.js

Foundation.Controls
Class Control

Object
  
 
 
Foundation.Controls.Control

All Implemented Interfaces:

Class, Elemental, Resourceful

Direct Known Subclasses:

FloatControl, Control


Foundation.Controls.Control

implements Foundation.Class, Foundation.Elemental, Foundation.Resourceful

A base class for controls.


Constructor Summary
Foundation.Controls.Control()

Field Summary
static  resourcePack

Fields inherited from Foundation.Elemental
$Foundation_$registry_index

Method Summary
 bind()
private static  $bindClassesToElements(controlClass, event)
 bindEvents(element)
 bindInnerHtml(element, event)
 bindToElement(element, event)
static  bindToElement(element, resourcePack, event)
static  bindToElements(event)
 compareValues(value1, value2)
private static  $compileInternalBindIds(list, args)
 dispose()
private static  $forcedResourcePack(resourcePack, elementId)
static  getAssociatedScript(last)
 getBindClass(name)
 getBindId()
 getBindStyle()
 getBindTag(key)
 getBoundElement(index)
 getBoundElements()
 getCssName(id)
static  getCssName(id)
static  getCssRules()
 getDisabled()
 getHtml()
 getInnerHtml()
static  getRawCssRules()
 getRawHtml()
 getRawInnerHtml()
 getValue()
 onDisabledChanged(newValue, oldValue)
 onValueChanged(newValue, oldValue)
 parseValue(value)
static  resourcePackFromElement(element)
 setDisabled(disabled)
 setValue(value, force)
 unbindEvents(element, eventName)
 unbindFromElement(element)
static  writeRulesToPage()
static  writeToPage(resourcePack)

Methods inherited from Foundation.Class
getTypePath, isInstanceOf

Methods inherited from Foundation.Elemental
attachEvent, detachEvent, elementId, event, getById, getElement, getElementValue, getElements, getFirst, getNext, parseElementId, processHtml, processHtml

Methods inherited from Foundation.Resourceful
resource, resource, resourceUrl, resourceUrl

Constructor Detail

Control

Foundation.Controls.Control()

Field Detail

resourcePack

static resourcePack

Method Detail

bind

bind()

$bindClassesToElements

private static $bindClassesToElements(controlClass,
                                      event)
Parameters:
controlClass - 

event - 


bindEvents

bindEvents(element)
Parameters:
element - 


bindInnerHtml

bindInnerHtml(element,
              event)
Parameters:
element - 

event - 


bindToElement

bindToElement(element,
              event)
Parameters:
element - 

event - 


bindToElement

static bindToElement(element,
                     resourcePack,
                     event)
Parameters:
element - 

resourcePack - 

event - 


bindToElements

static bindToElements(event)
Parameters:
event - 


compareValues

compareValues(value1,
              value2)
Parameters:
value1 - 

value2 - 


$compileInternalBindIds

private static $compileInternalBindIds(list,
                                       args)
Parameters:
list - 

args - 


dispose

dispose()
Overrides:
dispose in class Class

$forcedResourcePack

private static $forcedResourcePack(resourcePack,
                                   elementId)
Parameters:
resourcePack - 

elementId - 


getAssociatedScript

static getAssociatedScript(last)
Parameters:
last - 


getBindClass

getBindClass(name)
Parameters:
name - 


getBindId

getBindId()

getBindStyle

getBindStyle()

getBindTag

getBindTag(key)
Parameters:
key - 


getBoundElement

getBoundElement(index)
Parameters:
index - 


getBoundElements

getBoundElements()

getCssName

getCssName(id)
Parameters:
id - 


getCssName

static getCssName(id)
Parameters:
id - 


getCssRules

static getCssRules()

getDisabled

getDisabled()

getHtml

getHtml()

getInnerHtml

getInnerHtml()

getRawCssRules

static getRawCssRules()

getRawHtml

getRawHtml()

getRawInnerHtml

getRawInnerHtml()

getValue

getValue()

onDisabledChanged

onDisabledChanged(newValue,
                  oldValue)
Parameters:
newValue - 

oldValue - 


onValueChanged

onValueChanged(newValue,
               oldValue)
Parameters:
newValue - 

oldValue - 


parseValue

parseValue(value)
Parameters:
value - 


resourcePackFromElement

static resourcePackFromElement(element)
Parameters:
element - 


setDisabled

setDisabled(disabled)
Parameters:
disabled - 


setValue

setValue(value,
         force)
Parameters:
value - 

force - 


unbindEvents

unbindEvents(element,
             eventName)
Parameters:
element - 

eventName - 


unbindFromElement

unbindFromElement(element)
Parameters:
element - 


writeRulesToPage

static writeRulesToPage()

writeToPage

static writeToPage(resourcePack)
Parameters:
resourcePack -