Class NavFileSpace
Extends
baja.NavContainer.
The decoded NavFile Space.
Defined in: nav.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| <inner> |
- Fields borrowed from class baja.Object:
- equivalent, getIcon
| Method Attributes | Method Name and Description |
|---|---|
|
getNavChildren(obj)
Access the Nav Children.
|
|
|
Return the Nav Display Name.
|
|
|
Return the Nav ORD.
|
|
|
Return the NavFileRoot.
|
|
|
load(obj)
If the NavFile isn't already loaded, make a network call to load
the NavFile across the network.
|
|
|
lookup(the)
Look up the NavNode for the specified Nav ORD.
|
- Methods borrowed from class baja.NavContainer:
- $addChildNode, getNavDescription, getNavIcon, getNavName, getNavParent
Method Detail
getNavChildren(obj)
Access the Nav Children.
- Parameters:
- obj
{String}
getNavDisplayName()
Return the Nav Display Name.
- Returns:
- {String}
{baja.Ord}
getNavOrd()
Return the Nav ORD.
- Returns:
- {baja.Ord}
getRootNode()
Return the NavFileRoot.
If there's no NavFile specified for the user, this will return null.
- Returns:
- nav file root node (or null if there's no specified NavFile).
load(obj)
If the NavFile isn't already loaded, make a network call to load
the NavFile across the network.
An Object Literal is used for the method's arguments.
- Parameters:
- {Object} obj
- the Object Literal for the method's arguments.
- {Function} obj.ok
- called once the NavFile has been loaded. The Nav Root Node will be passed to this function when invoked.
- {Function} obj.fail Optional
- called if any errors occur.
- {baja.comm.Batch} obj.batch Optional
- if specified, this will batch any network calls.
lookup(the)
Look up the NavNode for the specified Nav ORD.
- Returns:
- Nav Node