Packagecom.flexicious.controls
Classpublic class Button
InheritanceButton Inheritance mx.controls.Button

A button that automatically adds the GrayScale filter to its icon when the enabled flag is set to false.



Public Properties
 PropertyDefined By
  enabled : Boolean
[override] [write-only]
Button
Public Methods
 MethodDefined By
  
Button
  
If enabled = false, we add a gray scale filter to the icon.
Button
Protected Methods
 MethodDefined By
  
[override]
Button
Property Detail
enabledproperty
enabled:Boolean  [write-only] [override]


Implementation
    public function set enabled(value:Boolean):void
Constructor Detail
Button()Constructor
public function Button()



Method Detail
commitProperties()method
override protected function commitProperties():void

setIconFilter()method 
public function setIconFilter():void

If enabled = false, we add a gray scale filter to the icon. If enabled=true, we remove the previously added grayscale filter.