Packageorg.servebox.toolbox.browsing
Classpublic class FlexBrowser
InheritanceFlexBrowser Inheritance flash.events.EventDispatcher
ImplementsIViewSavePromptCallbackHandler

FlexBrowser in a singleton implentation. FlexBrowser is the main manager for all browsing operation



Public Properties
 PropertyDefined by
  currentTargetURI : String
[read-only] Returns the current URI.
FlexBrowser
Protected Properties
 PropertyDefined by
  logger : ILogger
[static] The class logger.
FlexBrowser
Public Methods
 MethodDefined by
  
Creates a new FlexBrowser object.
FlexBrowser
  
absoluteBrowse(uri:String, browsingSource:IView = null, ignoreSameTarget:Boolean = true):void
Attain a specific uri with the root application object as the reference.
FlexBrowser
  
browse(browsingSource:IView, uri:String, ignoreSameTarget:Boolean = true, ignoreCurrentView:Boolean = false):void
Attains a specific uri with an IView as the reference.
FlexBrowser
  
createOperation(ref:IView, uri:String):void
Create a browsing operation
FlexBrowser
  
Call the callback method after a IDataSaveViewHelper.dave operation
FlexBrowser
  
Cancel the save operation
FlexBrowser
  
handle the response of a save operation
FlexBrowser
  
doSequenceEnd(targetView:IView, operationId:int):void
FlexBrowser
  
Return the AclManager instance
FlexBrowser
  
[static]
FlexBrowser
  
[static] Attach the operation id to the IViewDataSaveWrapper
FlexBrowser
  
[static] Attach the operation id to the ViewSaveCallResponder
FlexBrowser
  
setACLManager(manager:IACLManager):void
Set the IACLManager instance
FlexBrowser
Property detail
currentTargetURIproperty
currentTargetURI:String  [read-only]

Returns the current URI.

This property can be used as the source for data binding.

Implementation
    public function get currentTargetURI():String
loggerproperty 
protected static var logger:ILogger

The class logger.

Constructor detail
FlexBrowser()constructor
public function FlexBrowser()

Creates a new FlexBrowser object.

Method detail
absoluteBrowse()method
public function absoluteBrowse(uri:String, browsingSource:IView = null, ignoreSameTarget:Boolean = true):void

Attain a specific uri with the root application object as the reference.

Parameters
uri:String
 
browsingSource:IView (default = null)
 
ignoreSameTarget:Boolean (default = true)
browse()method 
public function browse(browsingSource:IView, uri:String, ignoreSameTarget:Boolean = true, ignoreCurrentView:Boolean = false):void

Attains a specific uri with an IView as the reference.

Parameters
browsingSource:IView
 
uri:String
 
ignoreSameTarget:Boolean (default = true)
 
ignoreCurrentView:Boolean (default = false)
createOperation()method 
public function createOperation(ref:IView, uri:String):void

Create a browsing operation

Parameters
ref:IView
 
uri:String
doSavePromptCallBack()method 
public function doSavePromptCallBack(wrapper:IViewDataSaveWrapper):void

Call the callback method after a IDataSaveViewHelper.dave operation

Parameters
wrapper:IViewDataSaveWrapper
doSavePromptCancelCallBack()method 
public function doSavePromptCancelCallBack():void

Cancel the save operation

doSaveResponderCallBack()method 
public function doSaveResponderCallBack(id:int):void

handle the response of a save operation

Parameters
id:int
doSequenceEnd()method 
public function doSequenceEnd(targetView:IView, operationId:int):voidParameters
targetView:IView
 
operationId:int
getACLManager()method 
public function getACLManager():IACLManager

Return the AclManager instance

Returns
IACLManager
getInstance()method 
public static function getInstance():FlexBrowser

Returns
FlexBrowser
getViewDataSaveWrapperInstance()method 
public static function getViewDataSaveWrapperInstance(wrapperClass:Class = null):IViewDataSaveWrapper

Attach the operation id to the IViewDataSaveWrapper

Parameters
wrapperClass:Class (default = null)

Returns
IViewDataSaveWrapper
getViewSaveCallResponderInstance()method 
public static function getViewSaveCallResponderInstance(responderClass:Class = null):ViewSaveCallResponder

Attach the operation id to the ViewSaveCallResponder

Parameters
responderClass:Class (default = null)

Returns
ViewSaveCallResponder
setACLManager()method 
public function setACLManager(manager:IACLManager):void

Set the IACLManager instance

Parameters
manager:IACLManager