     @setValue @oldValue, no
 
   mouseDown:(event)->
+    return  if @_disabled
+
     if $(event.target).is('a')
       @setValue event.target.name

  #     state

  constructor:(options = {}, data)->

    options.size         or= "small"             # a String tiny/small/big
    options.labels       or= ["ON", "OFF"]       # supports multiple labels as string
    options.multiple     ?= no


    @oldValue     = null
    @currentValue = [] if options.multiple
    @setDisabled options.disabled

  setDomElement:(cssClass)->
    {labels, name, defaultValue} = @getOptions()
