(function(){"use strict";u8.Base.ItemModelMixIn=function(){};$.extend(u8.Base.ItemModelMixIn,{setSelected:function(t){if(this._selected==t){return}this._selected=t;this.raise("Select",{selected:t})},getSelected:function(){return this._selected||false},setFocus:function(){this.raise("Focus")},setAttribute:function(t,e){if(!this._attributes){this._attributes={}}if((this._attributes[t]||false)==e){return}this._attributes[t]=e;this.raise("Changed",{what:"attribute",name:t})},getAttribute:function(t){return this._attributes&&this._attributes[t]||false},getAttributes:function(){return this._attributes||{}}})})();