gugga.application.SectionsController Class Reference

Inheritance diagram for gugga.application.SectionsController:

Inheritance graph
[legend]
Collaboration diagram for gugga.application.SectionsController:

Collaboration graph
[legend]
List of all members.

Detailed Description

Author:
Todor Kolev

Definition at line 24 of file SectionsController.as.

Public Member Functions

function get CurrentSection ()
function get CurrentSectionID ()
function get CurrentSectionPath ()
function get IsTransitingSections ()
function set IsTransitingSections (aValue:Boolean)
function get DisableNavigationWhenTransiting ()
function set DisableNavigationWhenTransiting (aValue:Boolean)
function get SectionSwfsLoadingPart ()
function set SectionSwfsLoadingPart (aValue:Number)
function getCurrentSectionPath ()
function registerSection (aSectionInstance:Section, aID:String)
function registerChildSection (aSectionInstanceName:String, aID:String)
function registerLazyLoadSection (aSectionLoader:SectionLoader, aSectionSwfPath:String, aID:String, aDetachAfterClose:Boolean)
function registerLazyAttachSection (aSectionAttacher:SectionAttacher, aSectionLinkage:String, aID:String, aDetachAfterClose:Boolean)
function registerLazySection (aSectionLoader:ISectionLoader, aID:String, aDetachAfterClose:Boolean)
function openSection (aSectionPath:String)
function enableBoundingBoxMouseEvents ()
function setMouseEventsLock (aLockID:String)
function clearMouseEventsLock (aLockID:String)

Package Functions

function SectionsController ()

Private Member Functions

function initUI ()
function getSectionID (aSection:Section)
function harvestCurrentSectionPath ()
function createSectionInitializationSequence ()
function onLazySubSectionAvailable (ev)
function isSectionIDRegistered (aSectionID:String)
function isLazySection (aSectionID:String)
function isDetachAfterCloseSection (aSectionID:String)
function needLazyLoad (aSectionID:String)
function getTransitionInfo (aSectionID:String, aSectionPathRest:String)
function getTransition (aSectionID:String, aSectionPathRest:String)
function startTransition (aTransition:SectionsTransition)
function isSectionClosing (aSectionPath:String)
function onLazyTargetSectionInitialized (ev)
function onCurrentSectionDestroyed (ev)
function onSectionsSwapped (ev)
function onSubControllerSectionPathChanged (ev)
function onTransitionCompleted (ev)
function onTransitionInterrupted (ev)
function onTransitionDisposed (ev)

Private Attributes

var mSectionsInitializationStartTask: FictiveTask
var mSectionsInitializationEndTask: FictiveTask
var mSectionsControllerInitializingSequence: TaskManager
var mSections: HashTable
var mMouseEventsLocker: Locker
var mLazySectionLoaders: HashTable
var mDetachAfterCloseSections: HashTable
var mTransition: SectionsTransition
var mTargetSectionID: String
var mCurrentSection: Section
var mCurrentSectionID: String
var mCurrentSectionPath: String
var mIsTransitingSections: Boolean = false
var mDisableNavigationWhenTransiting: Boolean = false
var mSectionSwfsLoadingPart: Number = 70


Constructor & Destructor Documentation

function gugga.application.SectionsController.SectionsController (  )  [package]

Definition at line 67 of file SectionsController.as.


Member Function Documentation

function get gugga.application.SectionsController.CurrentSection (  ) 

Definition at line 43 of file SectionsController.as.

function get gugga.application.SectionsController.CurrentSectionID (  ) 

Definition at line 46 of file SectionsController.as.

function get gugga.application.SectionsController.CurrentSectionPath (  ) 

Definition at line 49 of file SectionsController.as.

function get gugga.application.SectionsController.IsTransitingSections (  ) 

Definition at line 52 of file SectionsController.as.

function set gugga.application.SectionsController.IsTransitingSections ( aValue:Boolean   ) 

Definition at line 53 of file SectionsController.as.

function get gugga.application.SectionsController.DisableNavigationWhenTransiting (  ) 

Definition at line 60 of file SectionsController.as.

function set gugga.application.SectionsController.DisableNavigationWhenTransiting ( aValue:Boolean   ) 

Definition at line 61 of file SectionsController.as.

function get gugga.application.SectionsController.SectionSwfsLoadingPart (  ) 

Definition at line 64 of file SectionsController.as.

function set gugga.application.SectionsController.SectionSwfsLoadingPart ( aValue:Number   ) 

Definition at line 65 of file SectionsController.as.

function gugga.application.SectionsController.initUI (  )  [private]

Reimplemented from gugga.common.UIComponentEx.

Reimplemented in gugga.application.ApplicationController.

Definition at line 76 of file SectionsController.as.

function gugga.application.SectionsController.getSectionID ( aSection:Section   )  [private]

Definition at line 83 of file SectionsController.as.

function gugga.application.SectionsController.getCurrentSectionPath (  ) 

Definition at line 97 of file SectionsController.as.

function gugga.application.SectionsController.harvestCurrentSectionPath (  )  [private]

Definition at line 102 of file SectionsController.as.

References gugga.common.UIComponentEx.dispatchEvent().

Here is the call graph for this function:

function gugga.application.SectionsController.createSectionInitializationSequence (  )  [private]

Definition at line 115 of file SectionsController.as.

References gugga.application.Section.registerInitializingTask().

Here is the call graph for this function:

function gugga.application.SectionsController.registerSection ( aSectionInstance:Section  ,
aID:String   
)

Definition at line 137 of file SectionsController.as.

function gugga.application.SectionsController.registerChildSection ( aSectionInstanceName:String  ,
aID:String   
)

Definition at line 158 of file SectionsController.as.

function gugga.application.SectionsController.registerLazyLoadSection ( aSectionLoader:SectionLoader  ,
aSectionSwfPath:String  ,
aID:String  ,
aDetachAfterClose:Boolean   
)

Definition at line 164 of file SectionsController.as.

function gugga.application.SectionsController.registerLazyAttachSection ( aSectionAttacher:SectionAttacher  ,
aSectionLinkage:String  ,
aID:String  ,
aDetachAfterClose:Boolean   
)

Definition at line 172 of file SectionsController.as.

function gugga.application.SectionsController.registerLazySection ( aSectionLoader:ISectionLoader  ,
aID:String  ,
aDetachAfterClose:Boolean   
)

Definition at line 180 of file SectionsController.as.

function gugga.application.SectionsController.onLazySubSectionAvailable ( ev   )  [private]

Definition at line 192 of file SectionsController.as.

function gugga.application.SectionsController.isSectionIDRegistered ( aSectionID:String   )  [private]

Definition at line 203 of file SectionsController.as.

function gugga.application.SectionsController.isLazySection ( aSectionID:String   )  [private]

Definition at line 219 of file SectionsController.as.

function gugga.application.SectionsController.isDetachAfterCloseSection ( aSectionID:String   )  [private]

Definition at line 224 of file SectionsController.as.

function gugga.application.SectionsController.needLazyLoad ( aSectionID:String   )  [private]

Definition at line 236 of file SectionsController.as.

function gugga.application.SectionsController.getTransitionInfo ( aSectionID:String  ,
aSectionPathRest:String   
) [private]

Definition at line 253 of file SectionsController.as.

function gugga.application.SectionsController.getTransition ( aSectionID:String  ,
aSectionPathRest:String   
) [private]

Definition at line 275 of file SectionsController.as.

function gugga.application.SectionsController.startTransition ( aTransition:SectionsTransition   )  [private]

Definition at line 283 of file SectionsController.as.

function gugga.application.SectionsController.openSection ( aSectionPath:String   ) 

Definition at line 320 of file SectionsController.as.

References gugga.application.Section.Section().

Referenced by gugga.application.ApplicationController.navigateTo().

Here is the call graph for this function:

function gugga.application.SectionsController.isSectionClosing ( aSectionPath:String   )  [private]

Definition at line 383 of file SectionsController.as.

Referenced by gugga.application.ApplicationController.canInterruptCurrentTransition().

function gugga.application.SectionsController.onLazyTargetSectionInitialized ( ev   )  [private]

Definition at line 407 of file SectionsController.as.

function gugga.application.SectionsController.onCurrentSectionDestroyed ( ev   )  [private]

Definition at line 413 of file SectionsController.as.

function gugga.application.SectionsController.onSectionsSwapped ( ev   )  [private]

Definition at line 425 of file SectionsController.as.

function gugga.application.SectionsController.onSubControllerSectionPathChanged ( ev   )  [private]

Definition at line 433 of file SectionsController.as.

function gugga.application.SectionsController.onTransitionCompleted ( ev   )  [private]

Definition at line 438 of file SectionsController.as.

function gugga.application.SectionsController.onTransitionInterrupted ( ev   )  [private]

Definition at line 446 of file SectionsController.as.

function gugga.application.SectionsController.onTransitionDisposed ( ev   )  [private]

Definition at line 457 of file SectionsController.as.

function gugga.application.SectionsController.enableBoundingBoxMouseEvents (  ) 

Reimplemented from gugga.common.UIComponentEx.

Definition at line 462 of file SectionsController.as.

function gugga.application.SectionsController.setMouseEventsLock ( aLockID:String   ) 

Definition at line 468 of file SectionsController.as.

References gugga.common.UIComponentEx.disableBoundingBoxMouseEvents().

Here is the call graph for this function:

function gugga.application.SectionsController.clearMouseEventsLock ( aLockID:String   ) 

Definition at line 474 of file SectionsController.as.


Member Data Documentation

var gugga.application.SectionsController.mSectionsInitializationStartTask [private]

Definition at line 26 of file SectionsController.as.

var gugga.application.SectionsController.mSectionsInitializationEndTask [private]

Definition at line 27 of file SectionsController.as.

var gugga.application.SectionsController.mSectionsControllerInitializingSequence [private]

Definition at line 28 of file SectionsController.as.

var gugga.application.SectionsController.mSections [private]

Definition at line 31 of file SectionsController.as.

var gugga.application.SectionsController.mMouseEventsLocker [private]

Definition at line 33 of file SectionsController.as.

var gugga.application.SectionsController.mLazySectionLoaders [private]

Definition at line 35 of file SectionsController.as.

var gugga.application.SectionsController.mDetachAfterCloseSections [private]

Definition at line 36 of file SectionsController.as.

var gugga.application.SectionsController.mTransition [private]

Definition at line 38 of file SectionsController.as.

var gugga.application.SectionsController.mTargetSectionID [private]

Definition at line 40 of file SectionsController.as.

var gugga.application.SectionsController.mCurrentSection [private]

Definition at line 42 of file SectionsController.as.

var gugga.application.SectionsController.mCurrentSectionID [private]

Definition at line 45 of file SectionsController.as.

var gugga.application.SectionsController.mCurrentSectionPath [private]

Definition at line 48 of file SectionsController.as.

var gugga.application.SectionsController.mIsTransitingSections [private]

Definition at line 51 of file SectionsController.as.

var gugga.application.SectionsController.mDisableNavigationWhenTransiting [private]

section transitions should be revised to make mDisableNavigationWhenTransiting false by default posible dangerous behaviour if changing section in the middle of the transition

Definition at line 59 of file SectionsController.as.

var gugga.application.SectionsController.mSectionSwfsLoadingPart [private]

Definition at line 63 of file SectionsController.as.


Generated on Fri May 11 17:13:23 2007 for GuggaFramework by  doxygen 1.5.2