Packagelunas.components.labels
Classpublic class PaginationLabelBuilder
InheritancePaginationLabelBuilder Inheritance LabelBuilder Inheritance CoreBuilder Inheritance CoreEventDispatcher Inheritance Object

The builder of the PaginationLabel component.



Public Properties
 PropertyDefined By
 Inheritedchannel : String
[read-only] Indicates the channel of this dispatcher if this instance is global.
CoreEventDispatcher
 Inheritedfield : TextField
The field reference of the component.
LabelBuilder
 Inheritedtarget : DisplayObject
Indicates the target reference of the component.
CoreBuilder
Public Methods
 MethodDefined By
  
PaginationLabelBuilder(target:DisplayObject)
Creates a new PaginationLabelBuilder instance.
PaginationLabelBuilder
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target.
CoreEventDispatcher
 Inherited
clear():void
[override] Clear the view of the component.
LabelBuilder
 Inherited
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
CoreEventDispatcher
 Inherited
Returns the internal system.events.EventDispatcher reference.
CoreEventDispatcher
  
getFieldText():String
Returns the formatted label of the component.
PaginationLabelBuilder
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
CoreEventDispatcher
 Inherited
isGlobal():Boolean
Indicates if the dispatcher use a global event flow.
CoreEventDispatcher
 Inherited
isLocked():Boolean
Returns true if the object is locked.
CoreEventDispatcher
 Inherited
lock():void
Locks the object.
CoreEventDispatcher
 Inherited
registerEventListener(type:String, listener:*, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target (Function or EventListener).
CoreEventDispatcher
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
CoreEventDispatcher
  
run(... arguments):void
[override] Runs the build of the component.
PaginationLabelBuilder
 Inherited
Sets the internal EventDispatcher reference.
CoreEventDispatcher
 Inherited
setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global system.events.EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher.
CoreEventDispatcher
 Inherited
unlock():void
Unlocks the display.
CoreEventDispatcher
 Inherited
unregisterEventListener(type:String, listener:*, useCapture:Boolean = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
CoreEventDispatcher
 Inherited
update():void
[override] Update the view of the component.
LabelBuilder
 Inherited
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
CoreEventDispatcher
Protected Methods
 MethodDefined By
 Inherited
Creates and returns the internal EventDispatcher reference (this method is invoked in the constructor).
CoreEventDispatcher
  
onLink(e:TextEvent = null):void
Invoked when a link is selected in the field.
PaginationLabelBuilder
  
[override] Returns the formatted label of the component.
PaginationLabelBuilder
  
[override] Refresh the field layout.
PaginationLabelBuilder
Constructor Detail
PaginationLabelBuilder()Constructor
public function PaginationLabelBuilder(target:DisplayObject)

Creates a new PaginationLabelBuilder instance.

Parameters
target:DisplayObject — the target of the component reference to build.
Method Detail
getFieldText()method
public function getFieldText():String

Returns the formatted label of the component.

Returns
String — the formatted label of the component.
onLink()method 
protected function onLink(e:TextEvent = null):void

Invoked when a link is selected in the field.

Parameters

e:TextEvent (default = null)

refreshField()method 
override protected function refreshField():void

Returns the formatted label of the component.

refreshFieldLayout()method 
override protected function refreshFieldLayout():void

Refresh the field layout.

run()method 
override public function run(... arguments):void

Runs the build of the component.

Parameters

... arguments