Packagede.popforge.fui.controls
Classpublic class Label
InheritanceLabel Inheritance FuiComponent Inheritance flash.display.Sprite
ImplementsIFormatterBindable

The Label class is a simple text rendering component.



Public Properties
 PropertyDefined by
 Inheritedcols : uint
The columns of the component.
FuiComponent
 Inheritedrows : uint
The rows of the component.
FuiComponent
 Inheritedskin : IFuiSkin
The skin used to render this component.
FuiComponent
 Inheritedtag : XML
The XML tag that has been used to define this component.
FuiComponent
Protected Properties
 PropertyDefined by
 Inherited_cols : uint
The columns of the component in tiles.
FuiComponent
  formatter : Formatter
Label
 Inherited_rows : uint
The rows of the component in tiles.
FuiComponent
 Inherited_tag : XML
The tag that has been used to define this component.
FuiComponent
 InheritedtargetHeight : uint
The height in pixels (_rows * tileSize).
FuiComponent
 InheritedtargetWidth : uint
The width in pixels (_cols * tileSize).
FuiComponent
  textField : TextField
Label
 InheritedtileSize : uint
The tile size used to render this component.
FuiComponent
Public Methods
 MethodDefined by
  
connect(formatter:Formatter):void
Label
  
disconnect():void
Label
  
dispose():void
Label
  
toString():String
Label
Protected Methods
 MethodDefined by
  
build():void
Label
 Inherited
debugBounds():void
Draws the bounds of the component given by tile size and components size in tiles.
FuiComponent
 Inherited
Masks the component using the exact width and height calculated using the tile size and components size in tiles.
FuiComponent
  
onFormatterChanged(formatter:Formatter, oldValue:String, newValue:String):void
Label
  
Label
Property detail
formatterproperty
protected var formatter:Formatter
textFieldproperty 
protected var textField:TextField
Method detail
build()method
protected override function build():void
connect()method 
public function connect(formatter:Formatter):voidParameters
formatter:Formatter
disconnect()method 
public function disconnect():void
dispose()method 
public override function dispose():void
onFormatterChanged()method 
protected function onFormatterChanged(formatter:Formatter, oldValue:String, newValue:String):voidParameters
formatter:Formatter
 
oldValue:String
 
newValue:String
releaseFormatter()method 
protected function releaseFormatter():void
toString()method 
public override function toString():String

Returns
String