Class fvaswing.components.FvRemoteLoginDialog

Description

Displays a dialog window with necessaries control to allow a remoting user identification.

Field Index

CONFIG_ID, onLoginErrorEvent, onLoginSuccessEvent, SERVICE

Method Index

addEventListener(), getInstance(), onConnect(), open(), removeEventListener()

Field Detail

onLoginSuccessEvent

static public onLoginSuccessEvent:EventType
Event type broadcasted when login identification is successfull.

onLoginErrorEvent

static public onLoginErrorEvent:EventType
Event type broadcasted when login identification failed.

CONFIG_ID

static public CONFIG_ID:String [Read Only]
Property name identifier for sharedObject saving.

SERVICE

static public SERVICE:String

Method Detail

getInstance

static public function getInstance():FvRemoteLoginDialog

Returns FvRemoteLoginDialog instance.

Always returns the same instance.
Design Pattern Singleton.

Return

FvRemoteLoginDialog instance

addEventListener

public function addEventListener(type:String, listener):Void

Adds passed-in listener for receiving passed-in type event type.

Parameters

typeName of the Event.
listenerListener object.

removeEventListener

public function removeEventListener(type:String, listener):Void

Removes passed-in listener listener that suscribed for passed-in type event.

Parameters

typeName of the Event.
listenerListener object.

onConnect

public function onConnect(b:Boolean):Void

Call by remoting login process.

open

public function open():Void

Open chooser dialog