Main Page | Packages | Class Tree | Index | Help

com.bjc.core

class LabelWrapper

MovieClip
  |
  +--com.bjc.core.BJCComponent
        |
        +--com.bjc.core.LabelWrapper

All Known Subclasses: Accordion, Alert, BitList, CheckBox, ComboBox, Label, NumericStepper, ProgressBar, PushButton, RadioButton, TabPane, TextArea, TextInput, Tree, Window

class LabelWrapper
extends BJCComponent


Author:
Flashloaded - www.flashloaded.com


Fields inherited from class com.bjc.core.BJCComponent

version

Property Summary

public
align: String (write)
Sets the horizontal alignment of the text in the component. Valid values are "left", "right" and "center".

public
align: String (read)
Gets the horizontal alignment of the text in the component.

public
disabledColor: Number (write)
Sets the color of the text in the component when the component is disabled

public
disabledColor: Number (read)
Gets the color of the text in the component when the component is disabled

public
disableStyles: Boolean (write)
Determines whether or not the style properties for the component will be used. Set to false if you want to style the text through html or style sheets.

public
disableStyles: Boolean (read)
Gets the availability of the component style properties.

public
embedFont: Boolean (write)
Sets whether or not the font used in the component should be embedded. Note that if this is set to true, the font used must be included in a font symbol exported from the library, or in a text field somewhere on stage in the movie, with that font embedded.

public
embedFont: Boolean (read)
Gets whether or not the font used in the component should be embedded. Note that if this is set to true, the font used must be included in a font symbol exported from the library, or in a text field somewhere on stage in the movie, with that font embedded.

public
fontColor: Number (write)
Sets the color of the font used in the component.

public
fontColor: Number (read)
Gets the color of the font used in the component.

public
fontFace: String (write)
Sets the font to be used to display text in the component.

public
fontFace: String (read)
Gets the font used to display text in the component.

public
fontSize: Number (write)
Sets the size of the font to be used in the component.

public
fontSize: Number (read)
Gets the size of the font used in the component.

public
html: Boolean (write)
If html is set to true, basic html tags may be used in the component.

public
html: Boolean (read)
Gets the html mode of the component.

Properties inherited from class com.bjc.core.BJCComponent

disabledAlpha, enabled, focusTime, height, keyEnabled, style, width

Constructor

public
LabelWrapper ( Void)


Methods inherited from class com.bjc.core.BJCComponent

draw, invalidate, move, remove, setSize



Property Documentation

align

public align: String (write)
Sets the horizontal alignment of the text in the component. Valid values are "left", "right" and "center".

Example:
myComp.align = "center";

align

public align: String (read)
Gets the horizontal alignment of the text in the component.

Example:
myVar = myComp.align;

disabledColor

public disabledColor: Number (write)
Sets the color of the text in the component when the component is disabled

Example:
myComp.disabledColor = 0x999999;

disabledColor

public disabledColor: Number (read)
Gets the color of the text in the component when the component is disabled

Example:
myVar = myComp.disabledColor;

disableStyles

public disableStyles: Boolean (write)
Determines whether or not the style properties for the component will be used. Set to false if you want to style the text through html or style sheets.

Example:
myComp.disableStyles = true;

disableStyles

public disableStyles: Boolean (read)
Gets the availability of the component style properties.

Example:
myVar = myComp.disableStyles;

embedFont

public embedFont: Boolean (write)
Sets whether or not the font used in the component should be embedded. Note that if this is set to true, the font used must be included in a font symbol exported from the library, or in a text field somewhere on stage in the movie, with that font embedded.

Example:
myComp.embedFont = true;

embedFont

public embedFont: Boolean (read)
Gets whether or not the font used in the component should be embedded. Note that if this is set to true, the font used must be included in a font symbol exported from the library, or in a text field somewhere on stage in the movie, with that font embedded.

Example:
myVar = myComp.embedFont;

fontColor

public fontColor: Number (write)
Sets the color of the font used in the component.

Example:
myComp.fontColor = 0xff0000;

fontColor

public fontColor: Number (read)
Gets the color of the font used in the component.

Example:
myVar = myComp.fontColor;

fontFace

public fontFace: String (write)
Sets the font to be used to display text in the component.

Example:
myComp.fontFace = "Arial";

fontFace

public fontFace: String (read)
Gets the font used to display text in the component.

Example:
myVar = myComp.fontFace;

fontSize

public fontSize: Number (write)
Sets the size of the font to be used in the component.

Example:
myComp.fontSize = 20;

fontSize

public fontSize: Number (read)
Gets the size of the font used in the component.

Example:
myVar = myComp.fontSize;

html

public html: Boolean (write)
If html is set to true, basic html tags may be used in the component.

Example:
myComp.html = true;
myComp.text = "<b>Bold</b> text is possible.";

html

public html: Boolean (read)
Gets the html mode of the component.

Example:
myVar = myComp.html;


Constructor Documentation

LabelWrapper

public function LabelWrapper(Void)

The documentation was generated from the following file:


Copyright Flashloaded - www.flashloaded.com