Packagecom.adobe.portfolio.components.supportClasses
Classpublic class IconButton
InheritanceIconButton Inheritance spark.components.Button
Subclasses FileNavigationButton

A button whose skin incorporates an icon. The use of the properties within this class are highly dependent on the skin implementation, and may change from skin to skin.

Default MXML Propertylabel



Public Properties
 PropertyDefined By
  altColor : uint
[read-only] An appropriate alternate color for the button.
IconButton
  authoringMode : Boolean
[read-only] True when the button is in authoring mode; false otherwise.
IconButton
  baseColor : uint
[read-only] An appropriate base color for the button.
IconButton
  defaultIcon : Class
[read-only] An icon image that is appropriate to display in consumption mode.
IconButton
  disabledIcon : Class
[read-only] An icon image that is appropriate to display while the button is disabled.
IconButton
  editIcon : Class
[read-only] An icon image that is appropriate to display in authoring mode.
IconButton
  iconRotation : int
[read-only] An appropriate degree of rotation for the displayed icon.
IconButton
  overIcon : Class
[read-only] An icon image that is appropriate to display while the cursor is over the button.
IconButton
Public Methods
 MethodDefined By
  
Default constructor.
IconButton
Property Detail
altColorproperty
altColor:uint  [read-only]

An appropriate alternate color for the button.

This property can be used as the source for data binding.


Implementation
    public function get altColor():uint
authoringModeproperty 
authoringMode:Boolean  [read-only]

True when the button is in authoring mode; false otherwise.

This property can be used as the source for data binding.


Implementation
    public function get authoringMode():Boolean
baseColorproperty 
baseColor:uint  [read-only]

An appropriate base color for the button.

This property can be used as the source for data binding.


Implementation
    public function get baseColor():uint
defaultIconproperty 
defaultIcon:Class  [read-only]

An icon image that is appropriate to display in consumption mode.

This property can be used as the source for data binding.


Implementation
    public function get defaultIcon():Class
disabledIconproperty 
disabledIcon:Class  [read-only]

An icon image that is appropriate to display while the button is disabled.

This property can be used as the source for data binding.


Implementation
    public function get disabledIcon():Class
editIconproperty 
editIcon:Class  [read-only]

An icon image that is appropriate to display in authoring mode.

This property can be used as the source for data binding.


Implementation
    public function get editIcon():Class
iconRotationproperty 
iconRotation:int  [read-only]

An appropriate degree of rotation for the displayed icon.

This property can be used as the source for data binding.


Implementation
    public function get iconRotation():int
overIconproperty 
overIcon:Class  [read-only]

An icon image that is appropriate to display while the cursor is over the button.

This property can be used as the source for data binding.


Implementation
    public function get overIcon():Class
Constructor Detail
IconButton()Constructor
public function IconButton()

Default constructor.