student-ar-fl-controls-LabelButton.ax [swf] flex
Dispatched after the toggle button receives input from a mouse device or from the spacebar. @eventType flash.events.MouseEvent.CLICK @includeExample examples/@ax-student-ar-fl-controls-LabelButton.click.1.as -noswf @langversion 3.0 @playerversion Flash 9.0.28.0
Dispatched after the label value changes. @eventType fl.events.ComponentEvent.LABEL_CHANGE @includeExample examples/@ax-student-ar-fl-controls-LabelButton.labelChange.1.as -noswf @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when the button is not selected and is disabled. @default Button_disabledSkin @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when the button is not selected and the mouse is not over the component. @default Button_upSkin @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when the button is not selected and the mouse button is down. @default Button_downSkin @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when the button is not selected and the mouse is over the component. @default Button_overSkin @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when a toggle button is selected and disabled. @default Button_selectedDisabledSkin @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is not over the component. @default Button_selectedUpSkin @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse button is down. @default Button_selectedDownSkin @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the skin for the background and border when a toggle button is selected and the mouse is over the component. @default Button_selectedOverSkin @langversion 3.0 @playerversion Flash 9.0.28.0
The spacing between the text and the edges of the component, and the spacing between the text and the icon, in pixels. @default 5 @langversion 3.0 @playerversion Flash 9.0.28.0
@copy fl.controls.BaseButton#style:repeatDelay @default 500 @langversion 3.0 @playerversion Flash 9.0.28.0
@copy fl.controls.BaseButton#style:repeatInterval @default 35 @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when a toggle button is not selected and the mouse is not over the button. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when the button is not selected and the mouse button is down. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when the button is not selected and the mouse is over the component. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when the button is not disabled. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when the button is selected and disabled. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when the button is selected and the mouse button is up. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when the button is selected and the mouse button is down. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Name of the class to use as the icon when the button is selected and the mouse is over the component. @default null @langversion 3.0 @playerversion Flash 9.0.28.0
Indicates whether embedded font outlines are used to render the text field. If this value is <code>true</code>, Flash Player renders the text field by using embedded font outlines. If this value is <code>false</code>, Flash Player renders the text field by using device fonts. <p>If you set the <code>embedFonts</code> property to <code>true</code> for a text field, you must specify a font for that text by using the <code>font</code> property of a TextFormat object that is applied to the text field. If the specified font is not embedded in the SWF file, the text is not displayed.</p> @default false @langversion 3.0 @playerversion Flash 9.0.28.0
The @ax-student-ar-fl-controls-LabelButton class is an abstract class that extends the BaseButton class by adding a label, an icon, and toggle functionality. The @ax-student-ar-fl-controls-LabelButton class is subclassed by the Button, CheckBox, RadioButton, and CellRenderer classes. <p>The @ax-student-ar-fl-controls-LabelButton component is used as a simple button class that can be combined with custom skin states that support ScrollBar buttons, NumericStepper buttons, ColorPicker swatches, and so on.</p> @includeExample examples/@fileExample.as -noswf @includeExample examples/IconWithToolTip.as
see: fl.controls.BaseButton @langversion 3.0 @playerversion Flash 9.0.28.0
A reference to the component's internal text field. @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private @langversion 3.0 @playerversion Flash 9.0.28.0
@copy fl.core.UIComponent#getStyleDefinition() @includeExample ../core/examples/UIComponent.getStyleDefinition.1.as -noswf
see: fl.core.UIComponent#getStyle()
see: fl.core.UIComponent#setStyle()
see: fl.managers.StyleManager @langversion 3.0 @playerversion Flash 9.0.28.0
@private Method for creating the Accessibility class. This method is called from UIComponent. @langversion 3.0 @playerversion Flash 9.0.28.0
Creates a new @ax-student-ar-fl-controls-LabelButton component instance. @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets the text label for the component. By default, the label text appears centered on the button. <p><strong>Note:</strong> Setting this property triggers the <code>labelChange</code> event object to be dispatched.</p> @default "Label"
see: #event:labelChange @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Position of the label in relation to a specified icon. <p>In ActionScript, you can use the following constants to set this property:</p> <ul> <li><code>ButtonLabelPlacement.RIGHT</code></li> <li><code>ButtonLabelPlacement.LEFT</code></li> <li><code>ButtonLabelPlacement.BOTTOM</code></li> <li><code>ButtonLabelPlacement.TOP</code></li> </ul> @default ButtonLabelPlacement.RIGHT @includeExample examples/@ax-student-ar-fl-controls-LabelButton.labelPlacement.1.as -noswf
see: ButtonLabelPlacement @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether a button can be toggled. A value of <code>true</code> indicates that it can; a value of <code>false</code> indicates that it cannot. <p>If this value is <code>true</code>, clicking the button toggles it between selected and unselected states. You can get or set this state programmatically by using the <code>selected</code> property.</p> <p>If this value is <code>false</code>, the button does not stay pressed after the user releases it. In this case, its <code>selected</code> property is always <code>false</code>.</p> <p><strong>Note:</strong> When the <code>toggle</code> is set to <code>false</code>, <code>selected</code> is forced to <code>false</code> because only toggle buttons can be selected.</p> @default false @includeExample examples/@ax-student-ar-fl-controls-LabelButton.toggle.2.as -noswf @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
Gets or sets a Boolean value that indicates whether a toggle button is toggled in the on or off position. A value of <code>true</code> indicates that it is toggled in the on position; a value of <code>false</code> indicates that it is toggled in the off position. This property can be set only if the <code>toggle</code> property is set to <code>true</code>. <p>For a CheckBox component, this value indicates whether the box displays a check mark. For a RadioButton component, this value indicates whether the component is selected.</p> <p>The user can change this property by clicking the component, but you can also set this property programmatically.</p> <p>If the <code>toggle</code> property is set to <code>true</code>, changing this property also dispatches a <code>change</code> event.</p> @default false @includeExample examples/@ax-student-ar-fl-controls-LabelButton.toggle.1.as -noswf @langversion 3.0 @playerversion Flash 9.0.28.0
@private (setter) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
@private (protected) @langversion 3.0 @playerversion Flash 9.0.28.0
(C) Æliens 27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.