Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
CSSImageAndTextButtonView

Package | org.apache.flex.html.beads
Class | public class CSSImageAndTextButtonView
Inheritance | CSSImageAndTextButtonView BeadViewBase EventDispatcher flash.events.EventDispatcher
Implements | IBeadView

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The CSSTextButtonView class is the default view for the org.apache.flex.html.TextButton class. It allows the look of the button to be expressed in CSS via the background-image style and displays a text label. This view does not support right-to-left text.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | host : IUIBase [read-only] The host component. | BeadViewBase
|  | html : String The html-formatted text to be displayed in the button | CSSImageAndTextButtonView
|  | image : String [read-only] The URL of an icon to use in the button | CSSImageAndTextButtonView
|  | strand : IStrand [override] [write-only] The host component for this bead. | CSSImageAndTextButtonView
|  | _strand : IStrand The strand. | BeadViewBase
|  | text : String The text to be displayed in the button | CSSImageAndTextButtonView

Public Methods

| Method | Defined By
--- | --- | ---
|  | CSSImageAndTextButtonView() Constructor. | CSSImageAndTextButtonView

Protected Methods

| Method | Defined By
--- | --- | ---
|  | setupSkins():void | CSSImageAndTextButtonView

Property Detail

html | property

`html:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The html-formatted text to be displayed in the button

Implementation
`public function get html():String`
`public function set html(value:String):void`

image | property |

`image:String` [read-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The URL of an icon to use in the button

Implementation
`public function get image():String`

strand | property |

`strand:IStrand` [write-only] [override]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`

text | property |

`text:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The text to be displayed in the button

Implementation
`public function get text():String`
`public function set text(value:String):void`
Constructor Detail

CSSImageAndTextButtonView | () | Constructor

`public function CSSImageAndTextButtonView()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Method Detail

setupSkins | () | method

`protected function setupSkins():void`

Mon Sep 5 2016, 07:19 AM -07:00