| Package | lunas.components.labels |
| Class | public class PaginationLabelBuilder |
| Inheritance | PaginationLabelBuilder LabelBuilder CoreBuilder CoreEventDispatcher Object |
| Method | Defined By | ||
|---|---|---|---|
PaginationLabelBuilder(target:DisplayObject)
Creates a new PaginationLabelBuilder instance. | PaginationLabelBuilder | ||
![]() | 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 | |
![]() | clear():void [override]
Clear the view of the component. | LabelBuilder | |
![]() | dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow. | CoreEventDispatcher | |
![]() |
Returns the internal system.events.EventDispatcher reference. | CoreEventDispatcher | |
getFieldText():String
Returns the formatted label of the component. | PaginationLabelBuilder | ||
![]() | hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event. | CoreEventDispatcher | |
![]() | isGlobal():Boolean
Indicates if the dispatcher use a global event flow. | CoreEventDispatcher | |
![]() | isLocked():Boolean
Returns true if the object is locked. | CoreEventDispatcher | |
![]() | lock():void
Locks the object. | CoreEventDispatcher | |
![]() | 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 | |
![]() | 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 | ||
![]() | setEventDispatcher(dispatcher:EventDispatcher):void
Sets the internal EventDispatcher reference. | CoreEventDispatcher | |
![]() | 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 | |
![]() | unlock():void
Unlocks the display. | CoreEventDispatcher | |
![]() | unregisterEventListener(type:String, listener:*, useCapture:Boolean = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object. | CoreEventDispatcher | |
![]() | update():void [override]
Update the view of the component. | LabelBuilder | |
![]() | 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 | |
| Method | Defined By | ||
|---|---|---|---|
![]() |
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 | ||
refreshField():void [override]
Returns the formatted label of the component. | PaginationLabelBuilder | ||
refreshFieldLayout():void [override]
Refresh the field layout. | PaginationLabelBuilder | ||
| PaginationLabelBuilder | () | Constructor |
public function PaginationLabelBuilder(target:DisplayObject)Creates a new PaginationLabelBuilder instance.
Parameterstarget:DisplayObject — the target of the component reference to build.
|
| getFieldText | () | method |
public function getFieldText():StringReturns the formatted label of the component.
ReturnsString — the formatted label of the component.
|
| onLink | () | method |
protected function onLink(e:TextEvent = null):voidInvoked when a link is selected in the field.
Parameters
e:TextEvent (default = null) |
| refreshField | () | method |
override protected function refreshField():voidReturns the formatted label of the component.
| refreshFieldLayout | () | method |
override protected function refreshFieldLayout():voidRefresh the field layout.
| run | () | method |
override public function run(... arguments):voidRuns the build of the component.
Parameters
... arguments |