Lines Matching refs:state
4 * The State class maintains state for a collection of named items, with
8 * of these classes for each item, by storing the state in a 2 level hash table,
140 * store state.
169 // Used for internal state management
183 * attributes to store and retrieve state, <strong>but without support for attribute change events</strong>.
244 * Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
360 state = host._state,
369 state.addAll(name, {
375 if (host.attrAdded(name) && !state.get(name, IS_LAZY_ADD)) { Y.log('Attribute: ' + name + ' already exists. Cannot add it again without removing it first', 'warn', 'attribute'); }
377 if (!host.attrAdded(name) || state.get(name, IS_LAZY_ADD)) {
392 state.addAll(name, config);
399 state.remove(name, INITIALIZING);
454 var state = this._state,
455 lazyCfg = state.get(name, LAZY);
457 state.add(name, IS_LAZY_ADD, true);
458 state.remove(name, LAZY);
523 state = this._state,
543 cfg = state.getAll(name, true) || {};
618 state = host._state,
644 getter = state.get(name, GETTER);
658 * internal state object, or the state proxy if it exits
672 * internal state object, or the state proxy if it exits